Things You'll Need:
- A normal installation of Ubuntu Linux
-
Step 1
Open up a terminal window, and make sure your logged in as a root user. You'll know that your running as the root user when the line reads "root@[...]~#:" where the "[...]" are the name you gave your system at the setup time.
-
Step 2
Now that you are running as the root user now all you have to do is run a couple commands.
TYPE: sudo apt-get install mysql-server-5.0 [ENTER]
This will download and install the MySql system. -
Step 3
TYPE: sudo apt-get install apache2 [ENTER]
This will download and install the Apache2 HTTP Server, which is the program the client user is actually connecting to. This program handles everything. -
Step 4
TYPE: sudo apt-get install php5 libapache2-mod-php5 [ENTER]
This will download and install the PHP5 Scripting language and also the apache mod which allows Apache to handle .php files. -
Step 5
Finally you need to restart Apache.
TYPE: sudo /etc/init.d/apache2 restart [ENTER]
You could also just restart you computer if this command doesn't seem to work right. -
Step 6
This step is optional, but it makes it easier to manage your MySql databases.
TYPE: sudo apt-get install phpmyadmin [ENTER]








