Hello,<br><br>Following instructions on <a href="http://nginx.org/en/download.html">http://nginx.org/en/download.html</a>, I tried to install NginX on CentOS 6 and it failed. See the three approaches I used below.<br><br>First Try<br>
+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+<br>
$ rpm -Uvh <a href="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm</a><br>Retrieving <a href="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm</a><br>
error: /var/tmp/rpm-xfer.4j3Y9u: Header V4 RSA/SHA1 signature: BAD, key ID 7bd9bf62<br>error: /var/tmp/rpm-xfer.4j3Y9u cannot be installed<br><br>Second Try<br>+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+<br>
$ nano /etc/yum.repos.d/CentOS-Nginx.repo<br># Type the following<br>[nginx]<br>name=nginx repo<br>baseurl=<a href="http://nginx.org/packages/centos/6/$basearch/">http://nginx.org/packages/centos/6/$basearch/</a><br>gpgcheck=0<br>
enabled=1<br><br>$ yum install nginx<br>Loaded plugins: fastestmirror<br>Loading mirror speeds from cached hostfile<br> * base: <a href="http://dist1.800hosting.com">dist1.800hosting.com</a><br> * extras: <a href="http://centos.mirror.lstn.net">centos.mirror.lstn.net</a><br>
 * updates: <a href="http://mirror.raystedman.net">mirror.raystedman.net</a><br>base                                                                                                                                                                                                                  | 1.1 kB     00:00<br>
c5-testing                                                                                                                                                                                                            |  951 B     00:00<br>
extras                                                                                                                                                                                                                | 2.1 kB     00:00<br>
nginx                                                                                                                                                                                                                 | 1.3 kB     00:00<br>
nginx/primary                                                                                                                                                                                                         | 2.6 kB     00:00<br>
<a href="http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz">http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz</a>: [Errno -3] Error performing checksum<br>Trying other mirror.<br>nginx/primary                                                                                                                                                                                                         | 2.6 kB     00:00<br>
<a href="http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz">http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz</a>: [Errno -3] Error performing checksum<br>Trying other mirror.<br>Error: failure: repodata/primary.xml.gz from nginx: [Errno 256] No more mirrors to try.<br>
<br>Third Try<br>+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+<br>$ wget <a href="http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm">http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm</a><br>
--2012-02-16 15:55:30--  <a href="http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm">http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm</a><br>Resolving nginx.org... 206.251.255.63<br>
Connecting to <a href="http://nginx.org">nginx.org</a>|206.251.255.63|:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 325076 (317K) [application/x-redhat-package-manager]<br>Saving to: `nginx-1.0.12-1.el6.ngx.x86_64.rpm'<br>
<br>100%[===================================================================================================================================================================================================>] 325,076      944K/s   in 0.3s<br>
<br>2012-02-16 15:55:31 (944 KB/s) - `nginx-1.0.12-1.el6.ngx.x86_64.rpm' saved [325076/325076]<br><br>$ rpm -ivh nginx-1.0.12-1.el6.ngx.x86_64.rpm<br>error: nginx-1.0.12-1.el6.ngx.x86_64.rpm: Header V4 RSA/SHA1 signature: BAD, key ID 7bd9bf62<br>
error: nginx-1.0.12-1.el6.ngx.x86_64.rpm cannot be installed<br>+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+<br>
<br>So can someone look into this, I am not sure who to ask. <br><br>Regards,<br>Bade I.<br>