Skip to content

Instantly share code, notes, and snippets.

@ShahriyarR
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShahriyarR/9543588 to your computer and use it in GitHub Desktop.
Save ShahriyarR/9543588 to your computer and use it in GitHub Desktop.
## Activating Several Crucial Linux Repos:
## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
## Remi Dependency on CentOS 5 and Red Hat (RHEL) 5 ##
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
## CentOS 5 and Red Hat (RHEL) 5 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
########################################################################
When installing using yum install Getting following error:
GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory '/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5'
Solution:
1. wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
2. rpm --import RPM-GPG-KEY-CentOS-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment