Install LAMP
Steps are:
- sudo apt-get update
- sudo apt-get install apache2
- sudo apt-get install mysql-server php5-mysql
- sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
- sudo gedit /etc/apache2/conf-available/serve-cgi-bin.conf Add this line at the end of the file:
- ServerName localhost
- save this file
- sudo service apache2 restart
Install PHPmyAdmin
Steps are :
- sudo apt-get install phpmyadmin
- sudo php5enmod mcrypt
- sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
- sudo service apache2 restart
Install PHPpgAdmin
Steps are :
- sudo apt-get install phppgadmin
- sudo gedit /etc/apache2/conf.d/phppgadmin
- uncomment this line allow from all
- sudo ln -s /usr/share/phppgadmin /var/www/phppgadmin
- sudo cp /etc/apache2/conf.d/phppgadmin /etc/apache2/conf-enabled/phppgadmin.conf
- sudo gedit /etc/phppgadmin/config.inc.php
- set $conf['extra_login_security'] = true; to false
- sudo service apache2 restart
0 comments:
Post a Comment