install ngix on centos 5.5

—- install ngix on centos 5.5

# yum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoIP-devel
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz
wget http://zlib.net/zlib-1.2.5.tar.gz
wget ftp://ftp.openssl.org/source/openssl-1.0.0d.tar.gz

./configure –prefix=$HOME/soft/nginx  –user=adwiser –group=adwiser –sbin-path=$HOME/soft/nginx/nginx –conf-path=$HOME/soft/nginx/conf/nginx.conf –error-log-path=$HOME/soft/nginx/logs/error.log –pid-path=$HOME/soft/nginx/nginx.pid –lock-path=$HOME/soft/nginx/nginx.lock –http-log-path=$HOME/soft/nginx/logs/access.log –http-client-body-temp-path=$HOME/soft/nginx/temp/client_body_temp –http-proxy-temp-path=$HOME/soft/nginx/temp/proxy_temp –http-fastcgi-temp-path=$HOME/soft/nginx/temp/fastcgi_temp –http-uwsgi-temp-path=$HOME/soft/nginx/temp/uwsgi_temp –http-scgi-temp-path=$HOME/soft/nginx/temp/scgi_temp –with-ipv6 –with-pcre=$HOME/lib/pcre-8.12 –with-openssl=$HOME/lib/openssl-1.0.0d –with-zlib=$HOME/lib/zlib-1.2.5 –with-http_ssl_module –with-http_realip_module  –with-http_addition_module –with-http_sub_module  –with-http_dav_module   –with-http_flv_module –with-http_gzip_static_module –with-http_random_index_module  –with-http_secure_link_module  –with-http_degradation_module  –with-http_stub_status_module

make
make install

./nginx -h
### view configure arguments
./nginx -V