We all know that Apache as a good Web server occupies a great part of the market, his status is currently no one can replace, but in addition to Apache, in the ranks of Web server software, Nginx with its stable performance, rich function, simple operation, The advantages of handling static and static files quickly and consuming very little system resources also won the favor of many people.
Below lets us understand the Linux nginx+mysql+php the source code installs the method.
Preparation Tool:
Mysql-5.5.15-linux2.6-i686.tar.gz
Nginx-1.0.11.tar.gz
pcre-devel-6.6-2.el5_1.7.i386.rpm
Libevent-2.0.16-stable.tar.gz
Php-5.4.3.tar.gz
Xcache-2.0.1.tar.gz
A Install MySQL (binary)
Here in order to save time, MySQL using binary installation, source code installation in front of the lamp environment has been introduced, if necessary, please see the lamp environment to build
[root@lly ~]# tar-zxvf mysql-5.5.15-linux2.6-i686.tar.gz-c/usr/local/
[Root@lly ~]# cd/usr/local/
[Root@lly Local] #ll
Generated mysql-5.5 ... Directory name is relatively long, the operation is not easy to remember, we can change his name, or do a link. Here is a link to
[root@lly local]# ln-s mysql-5.5.15-linux2.6-i686 MySQL
[root@lly local]# CD MySQL so you can go directly to the MySQL directory.
[root@lly mysql]# less install-binary view MySQL binary installation steps