Install LAMP and phpMyAdmin in Ubuntu 12.04

on


sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
apt-cache search php5-
sudo apt-get install name of the module
sudo service apache2 restart
sudo apt-get install phpmyadmin

cd /etc/apache2/
sudo gedit apache2.conf

Add this line at the end of this file:
Include /etc/phpmyadmin/apache.conf

sudo service apache2 restart

Links:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-12-04

Leave a Reply

Your email address will not be published. Required fields are marked *