If require separate installation. please follow the link below:
Install MySQL 5.7.17 on CentOS 7
Install nginx 1.12.0 on CentOS 7
Install php 7.1.3 on CentOS 7

1.Environment

Stop and disable firewalld:

Env:

#GitHub

#check out freetype.2.7.1, jpeg.6 and libpng.1.2.50 installed successful, if not rerun the install_env_php.sh

2.Install dependency

3.Add user and group

4.Make directory

5.Install mysql 5.7.17

6.Copy conf file and init-script

#GitHub

7.Install nginx 1.12.0

8.Copy conf file and init-script

#GitHub
#If you are setting multiple webs on one server, you can copy your_domain_here.conf to vhost directory and modify them as you want.

#Modify nginx.conf and your_domain_here.conf

9.Install PHP 7.1.3

10.Copy conf file and init-script

#GitHub
#php.ini
#extension_dir = “/Data/server/php/lib/php/extensions/no-debug-non-zts-20160303/”
#Adjust to yours if it needs.

11.Add path

发表评论

电子邮件地址不会被公开。 必填项已用*标注