Install nginx compilation configuration parameters in ubuntu 1204: sudo apt-get install libxml2-dev sudo apt-get install libxslt1-dev sudo apt-get install libpcre3-dev libssl-dev openssl sudo apt-get install libatomic-ops-dev sudo apt-get install libgd2-xpm-dev sudo apt -get install libgeoip-dev :. /configure -- prefix =/export/servers/nginx -- pid-path =/export/servers/nginx/var/nginx. pid -- user = admin -- group = admin -- with-select_module -- with-file-aio -- with-http_xslt_module -- with-http_ssl_module -- with-http_realip_module -- with-http_addition_module -- with-http_image_filter_module -- with-http_geoip_module -- with-http_sub_module -- with-http_dav_module -- with-http_gzip_static_module -- with-http_random_index_module -- with-http_stub_status_module -- http-client-body-temp-path =/export/servers/nginx/temp/http-client-body -- http-proxy-temp-path =/export/servers/ nginx/temp/http-proxy -- http-fastcgi-temp-path =/export/servers/nginx/temp/http-fastcgi -- http-uwsgi-temp-path =/export/ servers/nginx/temp/http-uwsgi -- http-scgi-temp-path =/export/servers/nginx/temp/http-scgi -- with-pcre-jit -- with-md5-asm -- with-sha1-asm -- with-libatomic: configuration summary + using system PCRE library + using system OpenSSL library + md5: using OpenSSL library + sha1: using OpenSSL library + using system zlib library + using system libatomic_ops library nginx path prefix: "/export/servers/nginx" nginx binary file: "/export/servers/nginx/sbin/nginx" nginx configuration prefix: "/export/servers/nginx/conf" nginx configuration file: "/export/servers/nginx/conf/nginx. conf "nginx pid file:"/export/servers/nginx/var/nginx. pid "nginx error log file:"/export/servers/nginx/logs/error. log "nginx http access log file:"/export/servers/nginx/logs/access. log "nginx http client request body temporary files:"/export/servers/nginx/temp/http-client-body "nginx http proxy temporary files: "/export/servers/nginx/temp/http-proxy" nginx http fastcgi temporary files: "/export/servers/nginx/temp/http-fastcgi" nginx http uwsgi temporary files: "/export/servers/nginx/temp/http-uwsgi" nginx http scgi temporary files: "/export/servers/nginx/temp/http-scgi"