Install L(inux) A(pache) M(ySQL) P(HP)
First we need a software called "tasksel"
sudo apt-get install tasksel
Then we need to install the LAMP Stack
sudo tasksel install lamp-server
When prompt give a username and password for MySQL users
(Optional) Installing PHPmyAdmin
Install phpmyadmin from the repository
sudo apt-get install phpmyadmin
Then we need to install php5-gd
sudo apt-get install php5-gd
Create a symbolic link for phpmyadmin to be access
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
Then restart apache to take changes
sudo service apache2 restart
Now test your webserver:
http://localhost/ | http://localhost/phpmyadmin
0 comments:
Post a Comment