nginx升级版本rpm 方式

 原老版本是rpm方式,故安全第一,模块太多不折腾。

[root@pxc3 sbin]# rpm  -e nginx

[root@pxc3 home]# rpm -ivh nginx-1.18.0-2.el6.ngx.x86_64.rpm
warning: nginx-1.18.0-2.el6.ngx.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
Preparing... ########################################### [100%]
1:nginx ########################################### [100%]
----------------------------------------------------------------------

Thanks for using nginx!

Please find the official documentation for nginx here:
* http://nginx.org/en/docs/

Please subscribe to nginx-announce mailing list to get
the most important news about nginx:
* http://nginx.org/en/support.html

Commercial subscriptions for nginx are available on:
* http://nginx.com/products/

----------------------------------------------------------------------
[root@pxc3 home]# cd /usr/sbin/
[root@pxc3 sbin]# ./nginx -V
nginx version: nginx/1.18.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: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie'

参考如下:

https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/?_ga=2.228211295.393554555.1622625055-1781781228.1622625055#upgrading-nginx-plus

http://nginx.org/packages/centos/6Workstation/x86_64/RPMS/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
麒麟 ARM Nginx RPM是指适用于麒麟操作系统和ARM架构的Nginx软件的RPM包。麒麟是一种基于Linux的开源操作系统,它是中国自主研发的一种操作系统,具有良好的安全性和稳定性。而ARM架构是一种低功耗、高性能的处理器架构,广泛应用于移动设备、嵌入式系统和物联网等领域。 Nginx是一个轻量级的Web服务器和反向代理服务器,它以其高性能、高并发处理能力和低内存消耗等特点而闻名。Nginx的架构设计使其能够有效地处理大量的并发请求,同时具有良好的稳定性和可靠性。通过使用Nginx作为服务器软件,可以提供快速、高效的Web服务和应用程序分发,满足用户对于高性能、低延迟的需求。 而RPMRPM Package Manager)是一种常用的软件包管理工具,用于在Linux系统上安装、升级和管理软件包。通过将Nginx打包为RPM包,可以方便地在麒麟操作系统上进行安装和管理,简化了部署过程。麒麟ARM Nginx RPM提供了麒麟操作系统和ARM架构下运行Nginx所需的一系列软件包。通过使用这个RPM包,用户可以快速地在麒麟操作系统中安装和配置Nginx服务器,提供高性能的Web服务和应用程序分发。 总之,麒麟ARM Nginx RPM是一种适用于麒麟操作系统和ARM架构的Nginx软件的RPM包,它为用户提供了一种便捷的方式来安装、配置和管理Nginx服务器,从而提供快速、高效的Web服务和应用程序分发。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值