Ubuntu部署LAMP

安装PHP

sudo apt-get install php7.0

sudo apt-get install mysql-server
其中要设置root的密码

sudo apt-get install apache2

sudo apt-get install phpmyadmin
phpmyadmin password
选择apache2

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04