Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Compilation and installation steps of Nginx

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the compilation and installation steps of Nginx". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn the "Nginx compilation and installation steps" bar!

Wget download

Tar decompression

Yum install pcre pcre-dev, nginx relies on pcre for rewriting

Go in and extract the directory configure-- prefix=/usr/local/nginx specify the installation directory

Make & & make install

Configure the environment variable path directory

Nginx-t test configuration file can be started

Directory results: conf configuration files, html static web pages, logs log files, sbin binaries

During the startup process, if the port is occupied, you can change the configuration file.

Port View netstat-an | grep to see which program occupies port lsof-iRanger 80

At this point, I believe that everyone on the "Nginx compilation and installation steps" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report