安装gcc: yum install gcc 安装pcre和openssl:yum -y install pcre-devel openssl openssl-devel安装make: yum -y install gcc automake autoconf libtool make安装nginx: ./configure make make install