How to setup a web server on Ubuntu 8.10??
Now I’ll be showing how to install Apache, php, MySQL and phpMyAdmin (one by one) on Ubuntu 8.10 using Terminal.
Installing Apache2
Open terminal to type this command
sudo apt-get install apache2
When the setup is complete you can check if the Apache is working properly by pointing your browser to http://localhost. If you see the text “It works!”, it means Apache is working.
Installing php5
sudo apt-get install php5
When setup is complete, you have to restart Apache so that php5 will work on Apache.
sudo /etc/init.d/apache2 restart
Installing MySQL
sudo apt-get install mysql-server
Towards the end of the installation you will be prompted to set your root or admin password
Installing phpMyAdmin
phpMyAdmin is an interface for access mysql server. To install it, enter the following command from terminal
sudo apt-get install phpmyadmin
During the installation you will be asked to select the webserver that would be used to run phpMyAdmin. Select Apache2
Now you can go to the phpMyAdmin login page by pointing your browser to: http://localhost/phpmyadmin/index.php