centos7 安装 nginx-1.14.2

第一步:安装依赖包

yum -y install pcre-devel  openssl openssl-devel libevent-devel libxslt-devel gcc gcc-c++ gcc-g7

第二步:下载 Nginx-1.14.2.tar.gz

               解压到 /usr/local/tools

               tar -zxvf Nginx-1.14.2.tar.gz

               cd  Nginx-1.14.2

第三步:编译安装

              ./configure --prefix=/usr/local/Nginx  --with-select_module --with-poll_module --with-file-aio --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module   --with-http_sub_module --with-http_dav_module  --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module  --with-http_random_index_module  --with-http_secure_link_module  --with-http_degradation_module --with-http_stub_status_module  --with-mail --with-mail_ssl_module

               make && make install 

 

相关文章

Nginx (engine x) 是一个高性能的HTTP和反向代理服务,也是一...
本地项目配置 1 复制 luffy/settings/dev.py为prop.py 修改l...
nginx不仅可以隐藏版本信息,还支持自定义web服务器信息 先看...
一 、此次漏洞分析 1 nginx HTTP/2漏洞 [nginx-announce] ng...
###进入nginx 目录cd /usr/local/nginx###递归显示 2 级目录...
在cmd命令窗口输入下面命令进行查看 tasklist /fi "ima...