Centos yum开启repo

  1. yum --enablerepo=epel
  2. Error getting repository data for epel, repository not found
  3.  
  4. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  5. Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  6. warning: /var/tmp/rpm-xfer.YIVKhh: Header V3 DSA signature: NOKEY, key ID 217521f6
  7. Preparing...                ########################################### [100%]
  8.    1:epel-release           ########################################### [100%]

update 2014-8-11

  1. #64位 Centos7.x
  2. rpm -Uvh http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

update:

  1. #32位 Centos5.x
  2. [root@localhost ~]#  rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 
  3. Retrieving http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  4. warning: /var/tmp/rpm-xfer.yXjRRn: Header V3 DSA signature: NOKEY, key ID 217521f6
  5. Preparing...                ########################################### [100%]
  6.    1:epel-release           ########################################### [100%]
  7.  
  8. #64位
  9. [root@localhost ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
  10. Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
  11. warning: /var/tmp/rpm-tmp.3lY8ZZ: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
  12. Preparing...                ########################################### [100%]
  13.    1:epel-release           ########################################### [100%]
  1. #2013年8月27 更新
  2. #RPMForget 32位 Centos5.x
  3. rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
  4. #
  5. #RPMForget 64位 Centos5.x
  6. rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
  7. #
  8. #RPMForget 32位 Centos6.x
  9. rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
  10. #
  11. #RPMForget 64位 Centos6.x
  12. rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

一条评论

  1. linux只是简单的使用,复杂了的东西就不动了.