Nginx is a free, open-source, and high-performance HTTP server, reverse proxy server, and email proxy server. It is famous for its high performance, good reliability, rich feature plug-ins, and extremely low resource consumption! Http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api. It is famous for its high performance, good reliability, rich feature plug-ins, and extremely low resource consumption! Www.2cto.com NGINX compilation and installation (RHEL6.0) [root @ server2 nginx-1.2.3] # vim auto/cc/gcc # debug # CFLAGS = "$ CFLAGS-g" // for ease of compilation, we will remove the debugging part [root @ server2 nginx-1.2.3] # vim src/core/nginx. h # define NGINX_VER "nginx/" NGINX_VERSION // remove the hidden version useradd-M-d/usr/local/lnmp/nginx-s/sbin/nologin nginx // add an nginx user [root @ server2 nginx-1.2.3] #. /configure -- prefix =/usr/local/nginx -- with-http_stub_status_module- -With-http_ssl_module to develop the installation PATH and load the module, will find no PCRE library www.2cto.com PATH = $ PATH: $ HOME/bin: /usr/local/lnmp/nginx/sbin [root @ server2 ~] # Source ~ /. Bash_profile also adds the environment variable yum install pcre-devel
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service