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
---- ::-- 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, :1af8::a004:::e3
Connecting to nginx.org|95.211.80.227|:... connected.
HTTP request sent, awaiting response... OK
Length: (825K) [application/x-redhat-package-manager]
Saving to: “nginx-1.10.-.el6.ngx.x86_64.rpm”%[===================================================================================================================================================================================================>] , .0K/s in 38s-- :: (21.6 KB/s) - “nginx-1.10.-.el6.ngx.x86_64.rpm” saved [/][root@crm_web_test soft]# rpm -ivh nginx-1.10.2-1.el6.ngx.x86_64.rpm
warning: nginx-1.10.-.el6.ngx.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
Preparing... ########################################### [%]
:nginx ########################################### [%]
----------------------------------------------------------------------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/----------------------------------------------------------------------