Nginx installation process

Source: Internet
Author: User
The nginx installation process is nothing more than nginx. The process is as follows: note that the source code downloaded by nginx must be compiled before it can be used. 1. install Pcre: after downloading http: wwwpcreorg. Tarzxvfpcre-80 nginx installation process as for nginx is God thing, don't say, directly on the process, as follows: note, nginx download is the source code, must be compiled to use. One, Pcre installation,: http://www.pcre.org/download. Tar zxvf pcre-8.01.tar.gz cd pcre-8.01. /configure make install II, nginx installation: http://nginx.org/Unzip: tar zxvf nginx-0.8.24.tar.gz cd nginx-0.8.24 configuration installation directory. /configure -- prefix =/usr/local/nginx-0.8.24 make install on the terminal. If no error is prompted, the installation is successful. When I first installed logs, I encountered an error and could not find the logs Directory. the solution was to move logs to your nginx directory in/usr/local/nginx, after the migration, it will be successful.
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.