How to make an Apache Server using Linux?
Monday, April 25th, 2011 at
05:01
Hi I am using linux debian on an old imac g3. I have gotten the web server up to a point where I can see the ‘It Works’ page but now what? I want to add Joomla to it but I don’t know how to make it load like cpanel does. Help!
Tagged with: imac g3 • Linux • web server
Filed under: Debian
Like this post? Subscribe to my RSS feed and get loads more!
a) Download Joomla
[code]
cd /var/www
sudo wget -c http://joomlacode.org/gf/download/frsrelease/14659/64120/Joomla_1.6.3-Stable-Full_Package.zip
sudo unzip Joomla_1.6.3-Stable-Full_Package.zip
sudo rm index.html
sudo chown -R www-data:www-data *
[/code]
b) Setup MySQL & phpmyadmin
[code]
sudo apt-get install mysql-server
sudo wget -c http://iweb.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.10/phpMyAdmin-3.3.10-all-languages.tar.gz
sudo tar xvfz phpMy*
sudo mv phpMy* phpmyadmin
sudo chown -R www-data:www-data phpmyadmin
sudo mv phpmyadmin/config.sample.inc.php phpmyadmin/config.inc.php
sudo nano phpmyadmin/config.inc.php
[/code]
During the installation, it will ask you for the mysql password. set it, and remember it.
Now,
At this point, add something to the part where it says you need to add something for blowfish authentication. Just type a whole load of random characters.
Press Control + X to save.
visit http://< web server address >/phpmyadmin
login with username ‘root’ and the password you set before.
Create a new database named "joomla"
Now, visit http://< web server address >
Your database name is the one you just created.
User is "root"
password is the password that you set.
Its not exactly secure to use the root account, but as your only using it for personal purposes, it doesn’t matter much.