A, RedHat 5.4 under theWeb serverthe architecture of the source code to build LNMP environment
As a lightweight HTTP server, Nginx with Apache as compared to the compact and exquisite: in the performance, it takes up very little system resources, can support more concurrent connections, to achieve higher access efficiency; in function, Nginx is an excellent proxy server and load balancing server; the install configuration, Nginx installation is simple, flexible configuration. LNMP environment refers to the Linux build Nginx+MySQL+PHP.
1.1, building the linux environment Build a compiled set of environmental
VMware 8 to install redhat 5.4 English version of the system select the following development components
Legacy Software Development
X Software Development
[root@shuiyong ~]# uname-a #view the Linux environment
Linux shuiyong.shuiyong.com 2.6.18-1 6 4. el5 #1 SMP Tue Aug 1 8 1 5:5 1:5 4 EDT 2 0 0 9 i686 i686 i386 GNU/Linux
1.2, ready to work Prepare: turn off the FireWall and SeLinux（slightly）
Ready two: build local yum Server（slightly）
Prepare three: download the following software I stored in a linux /lamp.
[root@shuiyong lnmp]# ls
libmcrypt-2.5.8. tar. bz2 pcre-8.21.tar.gz
mcrypt-2.6.8.tar.gz php-5.3.13. tar. bz2