LNMP环境搭建(CentOS 6.5 64bit Nginx MySQL5.1.62 PHP-5.3.16)
准备 CentOS 6.5 64bit 必要时先清空iptables, 关闭SELINUX 源文件下载的目录是 /usr/local/src 安装 先下载各个软件包 cd /usr/local/src wget http://nginx.org/download/nginx-1.0.15.tar.gz wget http://au.php.net/get/php-5.3.16.tar.gz/from/us.php.net/mirror wget http://pecl.php.net/get/APC-3.1.9.tgz wget http://mysql.mirror.kangaroot.net/Downloads/MySQL-5.1/mysql-5.1.62.tar.gz wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz wget http://downloads.sourceforge.net/mcrypt/libmcrypt-2.5.8.tar.gz?modtime=1171868460&big_mirror=0 wget http://downloads.sourceforge.net/mcrypt/mcrypt-2.6.8.tar.gz?modtime=1194463373&big_mirror=0