The first step is preparation, the second step is to install MYSQL, the third step is to install PHP, the fourth step is to install NGINX, the fifth step is to install MEMCACHED and PHP extension
After the server is initialized, I personally prefer to reset the server name
To view the Centos host name, you can view it through the command:
hostname
-------- -----------
1: Preparation
1. Modify the linux server name
# vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=isyee //在这修改hostname
# vi /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.0.1 isyee //在这修改hostname
3. Restart the server to take effect
# reboot
-----------------------------
2: After decompressing MYSQL and installing 5.7, it is officially provided Easy to unzip and install directly. The following are the dark body steps
# groupadd mysql
# useradd -r -g mysql -s /bin/false mysql
#
# cd /usr/local/src
# wget http://www.............
#
The above introduces the Centos65 64-bit compilation and installation LNMP installation log, including CentOS6 content. I hope it will be helpful to friends who are interested in PHP tutorials.