在 ubuntu16.04上安装 Nginx,PHP7,Mysql5.7

Nginx安装参考:

http://nginx.org/en/linux_packages.html#distributions

PHP安装:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.2
sudo apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2-xsl

Mysql安装参考:
http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-select-series

nginx mysql也适用于centos 等。

在 ubuntu16.04上安装 Nginx,PHP7,Mysql5.7
标签: