Nginx 编译安装
一、Nginx安装1)实验环境:
[root@Nginx ~]# cat /etc/redhat-release
CentOS release 6.4 (Final)
[root@Nginx ~]# uname -a
Linux Nginx 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
2)正式开始前,编译环境gcc g++ 开发库之类的需要提前装好
安装make :
[root@Nginx ~]# yum -y install gcc automake autoconf libtool make
安装g + + :
[root@Nginx ~]# yum install gcc gcc-c++
3)开始安装
a)先装pcre, zlib,前者为了重写rew
...