Home  >  Article  >  Backend Development  >  Centos65 64-bit compile and install LNMP installation log centos6.3 centos6 installation centos6.5 installation tutorial

Centos65 64-bit compile and install LNMP installation log centos6.3 centos6 installation centos6.5 installation tutorial

WBOY
WBOYOriginal
2016-07-29 08:49:031135browse

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

2. Modify the name in /etc/hosts
# 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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn