Nginx+PHP of FastCGI set up high concurrency WEB server of automatic installation script version 2

  • 2020-05-06 12:13:07
  • OfStack

This article is based on zhang's
Nginx 0.7.x + PHP 5.2.10 (FastCGI) set up Web server ten times better than Apache Original address
http://blog.s135.com/nginx_php_v5/
Due to the tedious compilation process and waiting time, I wrote a fully automatic installation of shell script, which can be modified at will, please note the source.
This article is the second edition of the series, adding
to the first edition 1. Log cutting
2. Select yum or rpm to install
Download
Note: if you cannot use the yum source, please put in the system CD, single dvd, if it is multiple CD, please be sure to find all the rpm package to install in 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 is the root path for all your packages After downloading
#unzip install.zip
#chmod +x install.sh
#./install.sh
Please execute
with the root permission Note: many parameters of this script are configured according to the large load server. If it is a virtual machine, some services may not start up. For example, the parameters of mysql need large memory support

Related articles: