Menus

Sunday, 4 October 2020

LAMP install on Ubuntu

 

Install php 7 and apache 2


sudo apt update && upgrade
sudo apt-get install php



Install MySql and phpMyAdmin


sudo apt-get install mysql-server mysql-client
Then install phpmyadmin
sudo apt-get install phpmyadmin -y 


Then check phpmyadmin

The requested URL /phpmyadmin was not found on this server



sudo -H gedit /etc/apache2/apache2.conf

add following line to end of apache config file

Include /etc/phpmyadmin/apache.conf

Then restart apache:

/etc/init.d/apache2 restart
More details - https://askubuntu.com/questions/668734/the-requested-url-phpmyadmin-was-not-found-on-this-server






Solutions for Access Denied For User Localhost on Ubuntu Linux

How to change MySQL 'root' password