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