RHEL5.4 install nginx-1.0 + php-5.2.17 (fastcgi) + mysql-5.1.40

  
 

First, download the required packages # Create a directory to store the package mkdir -p /soft /diy # Download nginx-1.0wget http://www.nginx.org/download/nginx-1.0.0.tar. Gz

Download php5.2.17wget http://cn.php.net/get/php-5.2.17.tar.bz2/from/this/mirror

#Download fastcgi patch wget Http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz

#Download mysql, since mysql official website now needs to log in to download, so I use myself Source code repository, by the way, despise oracle company wget http://122.225.32.131/icons/mysql-5.1.40.tar.gz

#Download character conversion library libiconvwget http://ftp.gnu.org /pub/gnu/libiconv/libiconv-1.13.1.tar.gz (Download is too slow, I ended up using the previous 1.13 version) #Download the memcache extension for PHP
http://pecl.php. Net/get/memcache-2.2.6.tgz#Download the imagick extension wget for PHP http://pecl.php.net/get/imagick-3.0.1.tgzftp://mirror.aarnet.edu.au/pub/imagemagick /ImageMagick-6.6.5-10.tar.bz2 imagick extended in accordance with resistant package # download the PHP PDO extension wget http://pecl.php.net/get/PDO-1.0.3.tgzwget http: //pecl.php.net/get/PDO_MYSQL-1.0.2.tgz

#PHP accelerator related download, generally choose one, here we talk about 4 common acceleration software #download eaccelerator acceleration wget http: //bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2 #Download ZendOptimizer, since the official website download needs registration, so we download wget http://soft.vpser.net/on opser Web/zend/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz#Download PHP apc extension wget http://pecl.php.net/get/APC-3.1.7.tgz#xcache acceleration wget http ://xcache.lighttpd.net/pub/Releases/1.3.2-rc1/xcache-1.3.2-rc1.tar.bz2

The above is the download address of some software, if there is no love for yourself google find, the official website can be downloaded, but more slowly MD5 value of the software name 94239866e5d1b90e02675e988a5cbad4 APC-3.1.7.tgze2167713316639705202cf9b6cb1fdb1 imagick-3.0.1.tgz048032a3032ebd182150bdee30a5d533 libiconv-1.13.tar.gz0821830d930a86a5c69110837c55b7da libmcrypt-2.5.8.tar.gz97639f8821b10f80943fa17da302607e mcrypt-2.6. 8.tar.gz9542f1886b72ffbcb039a5c21796fe8a memcache- 2.2.6.tgzee66b7d5947deb760aeff3f028e27d25 mhash-0.9.9.9.tar.gz32e7373c16271606007374396e6742ad mysql-5.1.40.tar.gz5751c920c266ea5bb5fc38af77e9c71c nginx-1.0.0.tar.gz2256d0a1d0a358265165ca70e7cfc47a pcre-7.9.tar.gz74bff68b3f1caaf745edaddbd4df7291 PDO-1.0.3.tgz6121f450488dd4893f5702051c1f84fb PDO_MYSQL-1.0. 2.tgz5339a2a9c6a0b015b7ce5fcb8d90de84 php-5.2.17-fpm-0.5.14.diff.gz150586c3af37fbdfa504cf142c447e57 ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz32ccd838e06ef5613c2610c1c65ed228 eaccelerator-0.9.6.1.tar.bz2305bc145200ef5c1f7bba08a12c5f4f2 ImageMagick-6.6.5-10. tar.bz2b27947f3045220faf16e4d9158cbfe13 php-5.2.17.tar.bz25f6ac6f6f4f8ec2322f0bb040559663b xcache-1.3.2-rc1.tar.bz23d0a037e73ffe40ea55b521cbff7ff8d go-pear.phar

Second, the preparatory work before installation 1. check that installed apache, php And mysql rpm package rpm -qa

Copyright © Windows knowledge All Rights Reserved