首页 > 代码库 > install source nginx 1.6.0

install source nginx 1.6.0

?
yum install gcc pcre-devel zlib-devel openssl-devel
wget http://nginx.org/download/nginx-1.6.0.tar.gz
./configure --with-http_stub_status_module --with-http_ssl_module --with-http_spdy_module
make
make install

note:now it‘s install finish already! then start nginx!

/usr/local/nginx/sbin/nginx

 

如果在ubuntu系统上

sudo apt-get install gcc libpcre++-dev libssl-dev make