In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Check to see if nginx is installed on the system
No, we will install nginx again:
Here we do the source installation, because sometimes we need to modify the nginx module to do some customization, so the source installation is more flexible.
First install some dependencies
/ / install gcc dependent libraries sudo apt-get install build-essentialsudo apt-get install libtool// install pcre dependent libraries (http://www.pcre.org/) sudo apt-get updatesudo apt-get install libpcre3 libpcre3-dev// install zlib dependent libraries (http://www.zlib.net) sudo apt-get install zlib1g-dev// install SSL dependent libraries sudo apt-get install openssl
Official download page: http://nginx.org/en/download.html
Cd / home/anfang/Downloadswget http://nginx.org/download/nginx-1.15.8.tar.gz / / if you don't have wget installed, you can directly sudo apt-get install wget tar zxvf nginx-1.15.8.tar.gzcd nginx-1.15.8/./configure-- prefix=/usr/local/nginx make-J2 / / if your computer has 4 cores, you can use-J4 to speed up compilation, or you can directly make without any parameters sudo make install
The following page appears at. / congigure indicating that the installation is successful
There was no error report in make.
Sudo make install is also correct.
The version number appears in the test, indicating that the installation is successful.
Create a shortcut key soft connection
Sudo ln-s / usr/local/nginx/sbin/nginx / usr/bin/nginx
Nginx has also been successfully installed here.
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.