In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "installation of Nginx tutorials", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and study the "installation of Nginx tutorials"!
Download Nginx, open the official nginx website (http://nginx.org), and click "download" in the lower right corner, where we choose the most stable version of nginx-1.16.1.
/ / decompress the file [root@i-vvwtw5ne ~] # tar-xzvf nginx-1.16.1.tar.gz// into the decompressed file [root@i-vvwtw5ne ~] # cd nginx-1.16.1
Let's start compiling Nignx
/ / specify the installation directory of nginx as / opt/nginx. If no error is reported, the compilation is successful [root@i-vvwtw5ne nginx-1.16.1] # / configure-- prefix=/opt/nginx// [root@i-vvwtw5ne nginx-1.16.1] # make [root@i-vvwtw5ne nginx-1.16.1] # make install
The intermediate files and directory files are generated here in the objs directory, as follows
[root@i-vvwtw5ne nginx-1.16.1] # ll Total usage 780drwxr-xr-x 6 1001 1001 4096 November 2 23:40 auto-rw-r--r-- 1 1001 1001 296463 August 13 20:51 CHANGES-rw-r--r-- 1 1001 1001 452171 August 13 20:51 CHANGES.rudrwxr-xr-x 21001 1001 4096 November 2 23:40 conf-rwxr-xr-x 11001 1001 2502 August 13 20:51 configuredrwxr-xr- X 4 1001 1001 4096 November 2 23:40 contribdrwxr-xr-x 2 1001 1001 4096 November 2 23:40 html-rw-r--r-- 1 1001 1001 1397 August 13 20:51 LICENSE-rw-r--r-- 1 root root 376 November 2 23:41 Makefiledrwxr-xr-x 21001 1001 4096 November 2 23:40 mandrwxr-xr-x 3 root root 4096 November 2 23:45 objs-rw-r--r-- 1 1001 1001 49 August 13 20:51 READMEdrwxr-xr-x 9 1001 1001 4096 November 2 23:40 src
View the installed Nginx
# nginx is installed by default in this directory [root@i-vvwtw5ne nginx-1.16.1] # cd / usr/local/nginx/#. If you see the following, nginx has been successfully installed [root@i-vvwtw5ne nginx] # ll total usage 36drwx-2 nobody root 4096 July 16 2018 client_body_tempdrwxr-xr-x 2 root root 4096 July 16 2018 confdrwx- 2 nobody root 4096 July 16 2018 fastcgi_tempdrwxr-xr -x 2 root root 4096 July 16 2018 htmldrwxr-xr-x 2 root root 4096 July 16 2018 logsdrwx- 2 nobody root 4096 July 16 2018 proxy_tempdrwxr-xr-x 2 root root 4096 November 2 23:46 sbindrwx- 2 nobody root 4096 July 16 2018 scgi_tempdrwx- 2 nobody root 4096 July 16 2018 uwsgi_ temp [root @ i-vvwtw5ne objs] # cd / opt/nginx/sbin# launch nginx [ Root@i-vvwtw5ne sbin] # / nginx Thank you for your reading The above is the "installation of Nginx tutorials" content, after the study of this article, I believe we have a deeper understanding of the installation of Nginx tutorials, the specific use of the need for everyone to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.