In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Nginx service: credit disk program building Q
Install dependency packages
Installation:
# yum-y install build-essential
Installation: more dependent packages
# yum-y install gcc automake autoconf libtool make
Installation: Gmail +
# yum-y install gcc gcc-c++
Install the PCRE library
Selected source directory = > ftp download PCRE library = > install PCRE library
# cd / usr/local/src
# wget ftp://ftp.pcre.org/pub/pcre/pcre-8.42.tar.gz
# tar-zxvf pcre-8.42.tar.gz
# cd / pcre-8.42
#. / configure
# make & & make install
Install the zlib source package
Download the zlib source package = > install the zlib package
# cd / usr/local/src
# wget http://zlib.net/zlib-1.2.11.tar.gz
# tar-zxvf zlib-1.2.11.tar.gz
# cd zlib-1.2.11
#. / configure
# make & & make install
Install the openssl source package
# cd / usr/local/src
# wget https://www.openssl.org/source/openssl-1.1.0k.tar.gz
# tar-zxvf openssl-1.1.0k.tar.gz
# cd. / openssl-1.1.0k
#. / configure
# make & & make install
Install Nginx
# cd / usr/local/src
# wget http://nginx.org/download/nginx-1.16.1.tar.gz
# tar-zxvf nginx-1.16.1.tar.gz
# cd nginx-1.16.1
# groupadd-r nginx
# useradd-r-g nginx nginx
#. / configure\
-- prefix=/usr/local/nginx\
-- sbin-path=/usr/local/nginx/sbin/nginx\
-- conf-path=/usr/local/nginx/nginx.conf\
-- pid-path=/usr/local/nginx/nginx.pid\
-- user=nginx\
-- group=nginx\
-- with-http_ssl_module\
-- with-http_flv_module\
-- with-http_mp4_module\
-- with-http_stub_status_module\
-- with-http_gzip_static_module\
-- http-client-body-temp-path=/var/tmp/nginx/client/\
-- http-proxy-temp-path=/var/tmp/nginx/proxy/\
-- http-fastcgi-temp-path=/var/tmp/nginx/fcgi/\
-- http-uwsgi-temp-path=/var/tmp/nginx/uwsgi\
-- http-scgi-temp-path=/var/tmp/nginx/scgi\
-- with-pcre=/usr/local/src/pcre-8.42\
-- with-zlib=/usr/local/src/zlib-1.2.11\
-- with-openssl=/usr/local/src/openssl-1.1.0k\
[note: the current directory must be / usr/local/src/nginx-1.16.1
-- with-pcre=/usr/local/src/pcre-8.41 refers to the source path of pcre-8.42.
-- with-zlib=/usr/local/src/zlib-1.2.11 refers to the source path of zlib-1.2.11.
-- with-openssl=/usr/local/src/openssl-1.1.0g refers to the source path of openssl-1.1.0k.]
# make & & make install
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.