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
Table of contents 1. Build the operating environm...
1. Create and run a container docker run -it --rm...
background A new server was added in the company,...
We often use click events in the a tag: 1. a href=...
Preface Nginx 's built-in module supports lim...
1. Problem Description For security reasons, the ...
Usage of MySQL memory tables and temporary tables...
Detailed explanation of Linux vi command The vi e...
Add the following code to the CSS style of the el...
This article example shares the specific code of ...
This article example shares the specific code of ...
Table of contents 1. Analyzing MySQL from a macro...
Table of contents Preface Generate SVG Introducti...
This is my first blog post. Due to time constrain...
<br />Previous article: Web Design Tutorial ...