安装openssl
sudo apt-get install openssl libssl-dev
安装pcre
sudo apt-get install libpcre3 libpcre3-dev
安装zlib
sudo apt-get install zlib1g-dev
编译nginx
CFLAGS="-g -O0"
./configure --prefix=/usr/local/server/nginx --with-cc-opt="-I /usr/include/pcre -I /usr/include/openssl" --with-debug --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-http_ssl_module
阅读(1122) | 评论(0) | 转发(0) |