linux+nginx+mysql+php both LNMP source installation

Source: Internet
Author: User
Tags mysql linux

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.