Build Nginx+php+mysql+discuz High Performance Web server under CentOS

Source: Internet
Author: User
Tags centos phpmyadmin

Nginx was developed by Igor Sysoev, the second rambler.ru site for Russian traffic, which has run over 2.5 at the site. Igor releases the source code in the form of a BSD-like license. Nginx has been known for its stability, rich feature sets, sample configuration files, and low system resource consumption. is a high-performance web and reverse proxy server, which transcends the high performance and stability of Apache.

Nginx + PHP + MySQL can withstand a high number of concurrent connections, equivalent to the same environment Apache 10 times times (hehe ~ ~ This is experts say oh ... )。

This chapter will introduce Nginx + PHP + MYSQL + phpmyadmin+ discuz_x2 Build: Lnmp+bbs

System: Centos 5.6

Preparation Tool:

Libiconv-1.13.1.1.tar.gz

Libmcrypt-2.5.8.tar.gz

Mhash-0.9.9.9.tar.gz

Mcrypt-2.6.8.tar.gz

Mysql-5.1.58.tar.gz

php-5.2.14.tar.bz2

Nginx-1.0.0.tar.gz

Phpmyadmin-3.0.0-rc1-all-languages.tar

Discuz_x2_sc_utf8

Installation steps

The support library required to compile and install PHP5.2.14

# tar ZXVF libiconv-1.13.1.tar.gz

# CD LIBICONV-1.13.1/

#./configure--prefix=/usr/local

# Make;make Install

# CD ... /

# tar ZXVF libmcrypt-2.5.8.tar.gz

# CD libmcrypt-2.5.8/

#./configure

# Make;make Install

#/sbin/ldconfig

# CD libltdl/

#./configure--enable-ltdl-install

# Make;make Install

# CD ... /.. /

# tar ZXVF mhash-0.9.9.9.tar.gz

# CD mhash-0.9.9.9/

#./configure

# Make;make Install

# CD ... /

# ln-s/usr/local/lib/libmcrypt.la/usr/lib/libmcrypt.la

# ln-s/usr/local/lib/libmcrypt.so/usr/lib/libmcrypt.so

# ln-s/usr/local/lib/libmcrypt.so.4/usr/lib/libmcrypt.so.4

# ln-s/usr/local/lib/libmcrypt.so.4.4.8/usr/lib/libmcrypt.so.4.4.8

# ln-s/USR/LOCAL/LIB/LIBMHASH.A/USR/LIB/LIBMHASH.A

# ln-s/usr/local/lib/libmhash.la/usr/lib/libmhash.la

# ln-s/usr/local/lib/libmhash.so/usr/lib/libmhash.so

# ln-s/usr/local/lib/libmhash.so.2/usr/lib/libmhash.so.2

# ln-s/usr/local/lib/libmhash.so.2.0.1/usr/lib/libmhash.so.2.0.1

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.