Centos 安装 nginx 特定版本

CentOS 6.9/7通过yum安装指定版本的Nginx - EasonJim - 博客园
https://www.cnblogs.com/EasonJim/p/9020896.html

[root@crm_web_test soft]# wget http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.10.2-1.el6.ngx.x86_64.rpm
--2019-05-09 14:04:31--  http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.10.2-1.el6.ngx.x86_64.rpm
Resolving nginx.org... 95.211.80.227, 62.210.92.35, 2001:1af8:4060:a004:21::e3
Connecting to nginx.org|95.211.80.227|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 844528 (825K) [application/x-redhat-package-manager]
Saving to: “nginx-1.10.2-1.el6.ngx.x86_64.rpm”

100%[===================================================================================================================================================================================================>] 844,528     20.0K/s   in 38s

2019-05-09 14:05:09 (21.6 KB/s) - “nginx-1.10.2-1.el6.ngx.x86_64.rpm” saved [844528/844528]

[root@crm_web_test soft]# rpm -ivh nginx-1.10.2-1.el6.ngx.x86_64.rpm
warning: nginx-1.10.2-1.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/

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

----------------------------------------------------------------------

 

posted @ 2019-05-09 13:54  任国强  阅读(862)  评论(0编辑  收藏  举报