In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install NGINX in RHEL6". In daily operation, I believe many people have doubts about how to install NGINX in RHEL6. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to install NGINX in RHEL6". Next, please follow the editor to study!
1. Install the dependency package (select the installation directory and execute the command) yum-y install make gcc gcc-c++ openssl openssl-devel pcre-devel zlib-devel-y defaults to all questions by default that yesinstall automatically installs make compiling binaries depends on gcc and gcc-c++ to compile the binary language needs to use PCRE nginx's http module uses pcre to parse the regular expression openssl nginx supports http, https protocols. Openssl is a secure socket layer password library, which has cryptographic algorithms, commonly used key and certificate encapsulation management functions and SSL protocol zlib-devel nginx uses zlib to gzip2 the contents of http packets. Download the nginx installation package
Choose the version you want
Wget-c http://nginx.org/download/nginx-1.12.2.tar.gz# I chose 1.12.2 version 3. Decompress tar xzf nginx-1.12.2.tar.gz4. Enter the nginx-1.12.2 directory and install cd nginx-1.6.3 # enter the directory. / configure-- the prefix=/usr/local/nginx # configure script does a lot of work, such as environmental monitoring, parameter parsing, directory generation, Makefile file generation, etc.-prefix specifies the location where the software is installed make & & make install# make means to compile. Is to compile the source package into a binary executable file # & & when make (previous) compiles successfully, execute the following command # make install installation 5. Run cd / usr/local/nginx # to change the directory specified by configure. / sbin/nginx # start the service ps aux | grep nginx # to view the process, the study on "how to install NGINX in RHEL6" is over. I hope you can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.