Infolinks

Breaking

Adsense

Wednesday, April 19, 2017

INSTALLATION OF LAMP SERVER IN UBUNTU 14.04

  1. sudo apt-get update
  2. sudo apt-get install apache2
  3. sudo apt-get install mysql-server
  4. sudo apt-get install php5 libapache2-mod-php5
  5. sudo /etc/init.d/apache2 restart or sudo service apache2 restart
  6. Open a web browser and navigate to http://localhost/​. You should see a message saying It works!
  7. Check if PHP works.  Type the following on the terminal.
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
Note: The directory used by LAMP is /var/www/html

INSTALL PHPMYADMIN


  • sudo apt-get update
  • sudo apt-get install phpmyadmin

Not Found. The requested URL /phpmyadmin was not foundon this server.

sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.conf


How do I fix the MySQL error ERROR 1006 (HY000): Can't create database phpmyadmin (errno: 2)?


● Restart mysql/pc
sudo service mysql restart


● Reconfigure phpmyadmin
sudo dpkg-reconfigure phpmyadmin


● Allow dbconfig-common to create config file for you

INSTALLATION OF LAMP SERVER IN UBUNTU 14.04

No comments:

Post a Comment

Adbox