1.17.9 More delicious, really Nginx download address: https://nginx.org/download/ 1. Download nginx
2. Unzip nginx
3. Install dependency packages
4. Configure nginx cd nginx-1.9.9/ ./configure \--prefix=/usr/local/nginx \--with-http_ssl_module \--conf-path=/usr/local/nginx/conf/nginx.conf \--pid-path=/usr/local/nginx/conf/nginx.pid \--lock-path=/var/lock/nginx.lock \--error-log-path=/var/logs/nginx/error.log \--http-log-path=/var/logs/nginx/access.log \--with-http_gzip_static_module \--http-client-body-temp-path=/var/temp/nginx/client \--http-proxy-temp-path=/var/temp/nginx/proxy \--http-fastcgi-temp-path=/var/temp/nginx/fastcgi \--http-uwsgi-temp-path=/var/temp/nginx/uwsgi \--http-scgi-temp-path=/var/temp/nginx/scgi 5. Edit some configurations to prepare for the following make command Edit the file nginx root directory: objs/Makefile Edit file: src/os/unix/ngx_user.c 6. Compile
7. Installation
8. Open port 80 Check whether port 80 is open:
If there is no 80/tcp, execute the following command to open the port #Permanently open port 80 firewall-cmd --zone=public --add-port=80/tcp --permanent #Update firewall rules firewall-cmd --reload 9. Start nginx
10. Web access This is the end of this article about the detailed process of installing nginx1.9.1 on centos8. For more relevant content about installing nginx1.9.1 on centos8, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Use trigger method to realize pop-up file selection dialog box without clicking file type input
>>: Summary of 76 Experience Points of User Experience
Share the cool front-end page random QR code veri...
This article records the complete uninstallation ...
This article is part of a special series on the 2...
30 free high-quality English ribbon fonts for down...
Error scenario Use the mysql command in cmd to ad...
This article summarizes various ways to implement...
This article example shares the specific code of ...
After VMware is abnormally shut down, it prompts ...
Diversifying website layouts is our front-end spe...
Install mysql5.7 under win, for your reference, t...
Table of contents WebAPI DOM DOM Tree DOM element...
Normally, you'll need to read everyone's s...
background As the business develops, the company&...
one. wget https://dev.mysql.com/get/mysql57-commu...
Preface: With the continuous development of Inter...