nginx+php (FastCGI) build a high concurrent Web server (automatic installation script) Second Edition _nginx

Source: Internet
Author: User
This article is according to the banquet
Nginx 0.7.x + PHP 5.2.10 (FastCGI) to build a Web server 10 times times better than Apache (5th edition)
Original address
http://blog.s135.com/nginx_php_v5/
Because the compilation process and wait time is cumbersome, so I wrote a fully automated shell script, this script can be arbitrarily modified, reproduced please indicate the source.
This article is for the second edition of this series, which is based on the first edition
1. Log Cutting
2, intelligent selection of Yum or RPM installation
Download Address
Note: If you can not use the Yum source, please put in the system CD, a single DVD, if it is more than one disc please be sure to find all the RPM packages to install on the CD, copy to a directory, and modify
Umount/dev/cdrom
mkdir/mnt/cdrom_$$
mount/dev/cdrom/mnt/cdrom_$$
cd/mnt/cdrom_$$/
rpmpath=$ (Find $ (PWD)-name ' kernel-2* ')
rpmpath=${rpmpath%/*}
CD ${rpmpath}
For
CD Yourdir
Yourdir the root path for all your packages
After downloading
#unzip Install.zip
#chmod +x install.sh
#./install.sh
Please execute with root permission
Note: Many of the parameters of this script are based on the configuration of a large load server, if the virtual machine to do experiments, may cause some services can not start up, such as MySQL parameters need large memory support, at this time please manually modify configuration parameters

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.