标签:
cd wget-1.13.4
./configure --with-ssl=openssl
可以在这里下载最新版 sourcef*ge
wget http://sourceforge.net/projects/pcre/files/pcre/8.37/pcre-8.37.tar.gz tar zxvf pcre-8.37.tar.gz cd pcre-8.37 sudo ./configure --prefix=/usr/local sudo make sudo make install
cd nginx-1.9.4
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-cc-opt="-Wno-deprecated-declarations"
sudo make
sudo make install
sudo ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx 267 sudo ln -s /usr/local/nginx/conf /etc/nginx 268 sudo ln -s /usr/local/nginx/logs/nginx.pid /var/run/nginx.pid 269 sudo ln -s /usr/local/nginx/logs /var/log/nginx
启动Nginx
sudo nginx
停止 Nginx
sudo nginx -s stop
标签:
原文地址:http://my.oschina.net/httpssl/blog/497456