安装NGINX的步骤

记录一下以免自己忘记

1. wget http://nginx.org/download/nginx-0.7.65.tar.gz

2. tar xzf nginx-0.7.65.tar.gz

3. wget http://hg.mperillo.ath.cx/nginx/mod_wsgi/archive/0.0.6.tar.gz

4. tar xzf 0.0.6.tar.gz

5. 在nginx目录中 ./configure --add-module=../mod_wsgi-0.0.6/ --prefix=/usr/local --sbin-path=/usr/sbin --conf-path=/etc/nginx/ngixn.conf --with-http_ssl_module

6. make & make install


你可能感兴趣的:(nginx)