Linux centos lnamp environment installation notes

  
 

After the installation of centos for linux vps, install nginx as the front end to process static files, apache backend to handle the dynamic file php, mysql and buffer plugin environment. After installing centos for linux vps, install nginx as the front end to process static files, apache backend to handle dynamic files in php, mysql and buffer plugin environment. 1. Partition fdisk /dev/hda //here you may be sda ​​vi /etc/fstab //permanently mount disk mount account password change passwd root 2. update yum source here I use yum source of 163, of course you can choose official After all, the official comparison is complete, some of the 163 libraries are not very comprehensive. First backup /etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/mv CentOS-Base.repo CentOS-Base.repo.backup Download the corresponding version repo file, put it in /etc/Yum.repos.d/(Please make a backup before operation) CENTOS4 wget http://mirrors.163.com/.help/CentOS4-Base-163.repo CNETOS5 wget http://mirrors.163.com/. Help/CentOS5-Base-163.repo Renamed: mv CentOS5-Base-163.repo CentOS-Base.repo yum makecache 3. Noun explanation: LNAMP refers to Linux (CentOS), Nginx, Apache, Mysql, Php. Other production environment installation packages such as Pure-ftpd and Jailkit. All operations are integrated into a Linux shell script file. Administrators can easily install, uninstall, add user virtual hosts (subdomains), and delete users. Virtual host (sub-domain) and other operations. Maximize system administrators, and will not affect the subsequent installation compatibility of other software (limited). Implementation functions: 1. Fully automatic source installation

Copyright © Windows knowledge All Rights Reserved