ubuntu16.04 lnmp
system update:
apt-get update
apt-get upgrade
install softwares:
sudo apt-get install nginx php7.0-fpm mysql-server-5.6 php7.0-mysql
config
vi /etc/nginx/sites-available/default
faxtcgi_pass unix:/var/run/php/php7.0-fpm
启动服务
systemctl restart nginx
systemctl restart php7.0-fpm
systemctl restart mysql