• 注册
    • 查看作者
    • CentOS5系统yum源 出现“M2Crypto.SSL.SSLError”错误时

      CentOS5系统yum源

      需要修改/etc/yum.repos.d/目录下的配置文件。
      
      [C5.11-base]
      name=CentOS-5.11 - Base
      #baseurl=http://vault.centos.org/5.11/os/$basearch/
      baseurl=http://archive.kernel.org/centos-vault/5.11/os/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      enabled=1
       
      [C5.11-updates]
      name=CentOS-5.11 - Updates
      #baseurl=http://vault.centos.org/5.11/updates/$basearch/
      baseurl=http://archive.kernel.org/centos-vault/5.11/updates/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      enabled=1
       
      [C5.11-extras]
      name=CentOS-5.11 - Extras
      #baseurl=http://vault.centos.org/5.11/extras/$basearch/
      baseurl=http://archive.kernel.org/centos-vault/5.11/extras/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      enabled=1
       
      [C5.11-centosplus]
      name=CentOS-5.11 - Plus
      #baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
      baseurl=http://archive.kernel.org/centos-vault/5.11/centosplus/$basearch/
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
      enabled=1

    • 0
    • 0
    • 0
    • 556
    • 请登录之后再进行评论

      登录
    • 做任务
    • 实时动态
    • 偏好设置
    • 单栏布局 侧栏位置: