当前位置:   article > 正文

linux redhat服务器nginx1.24.0最新版本升级_linux下nginx1.24.0下载

linux下nginx1.24.0下载

linux环境准备:

yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel

yum install wget

官网下载1.24.0 (http://nginx.org/en/download.html)

nginx: download

下载stable version

拷贝到服务器解压

tar -xvf nginx-1.24.0.tar

mkdir /usr/local/nginx

cd /usr/local/nginx-1.24.0

./configure --prefix=/usr/local/nginx

make && make install

查看版本 

[root@tomcat1 sbin]# ./nginx -v

nginx version: nginx/1.24.0

安装成功

安装支持ssl

./configure --with-http_ssl_module

make

cp objs/nginx /usr/local/nginx/sbin/nginx

nginx -V

[root@tomcat1 nginx]# ./sbin/nginx -V

nginx version: nginx/1.16.0

built by gcc 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) 

built with OpenSSL 1.0.1e-fips 11 Feb 2013

TLS SNI support enabled

configure arguments: --with-http_ssl_module

升级成功

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/151067
推荐阅读
相关标签
  

闽ICP备14008679号