LNMP 依赖库+所需软件包(安装步骤略……)

软件版本:

libiconv-1.13.tar.gz 
libmcrypt-2.5.8.tar.gz 
mcrypt-2.6.8.tar.gz 
mhash-0.9.9.9.tar.gz 
memcache-2.2.5.tgz 
PDO_MYSQL-1.0.2.tgz 
imagick-3.1.2.tgz 
pcre-8.21.tar.gz 
mysql-5.5.30.tar.gz 
ImageMagick.tar.gz 
php-5.4.21.tar.gz 
nginx-1.4.0.tar.gz 
eaccelerator-eaccelerator-42067ac.tar.gz (为1.0-dev版)

系统安装需求:
centos 6.4 *86_64  mini安装,关闭selinux,iptables

1 安装解决依赖关系:
yum install -y wget gcc gcc-c++ autoconf libjpeg libjpeg-devel perl perl* perl-CPAN libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers png jpeg autoconf gcc cmake make gcc-c++ gcc ladp ldap* ncurses ncurses-devel zlib zlib-devel zlib-static pcre pcre-devel pcre-static openssl openssl-devel perl libtoolt openldap-devel libxml2-devel ntpdate cmake gd* gd2 ImageMagick-devel jpeg jpeg* pcre-dev* fontconfig libpng libxml2 zip unzip gzip

2 下载所有使用到的软件:

wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.tar.gz
wget http://lcmp.googlecode.com/files/libmcrypt-2.5.8.tar.gz
wget http://jaist.dl.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz
wget http://jaist.dl.sourceforge.net/project/mhash/mhash/0.9.9.9/mhash-0.9.9.9.tar.gz
wget http://vps.googlecode.com/files/memcache-2.2.5.tgz
wget http://vps.googlecode.com/files/PDO_MYSQL-1.0.2.tgz
wget http://pecl.php.net/get/imagick-3.1.2.tgz
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.21.tar.gz
wget http://netcologne.dl.sourceforge.net/project/mysql.mirror/MySQL%205.5.30/mysql-5.5.30.tar.gz
wget http://mynginx.googlecode.com/files/ImageMagick.tar.gz
wget http://us3.php.net/get/php-5.4.21.tar.gz/from/cn2.php.net/mirror
wget https://lnamp-web-server.googlecode.com/files/eaccelerator-eaccelerator-42067ac.tar.gz
wget http://nginx.org/download/nginx-1.4.0.tar.gz

更多详情见请继续阅读下一页的精彩内容: http://www.linu

你可能感兴趣的:(linux,nginx,LNMP)