zoukankan      html  css  js  c++  java
  • rhel5.4 yum可用华中科技大学的源 http://centos.ustc.edu.cn/ 執行軟件更新

    RHEL是一个非常稳定的Linux发行版,也是业界的领袖级产品,正是因为保守的应用,导致不少初学的朋友们很难适应,最大的问题是软件的安装。 虽然YUM工具也非常的方便,但只要注册了RHN的用户才能真正的享受VIP级别及简易的安装操作,虽然建立YUM本地更新库也是一个办法,毕竟不能和 RHN同日而语。

    据说,CentOS的源是和RHN同步的,CentOS作为RHEL源代码重新编译产生的同胞兄弟,因此好多的人都在想能不能将RHEL的更新设置 到CentOS的源上呢?当然是可以的,因为CentOS其实也就是重新编译过的RHEL,所有的东西几乎相同,至于哪一个更值得用户选择,见仁见智的问 题,这里不会讨论。

     

    下面的內容,替換 /etc/yum.repos.d/rhel-debuginfo.repo

     # CentOS-Base.repo

    #
    # This file uses a new mirrorlist system developed by Lance Davis for CentOS.
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #
    [base]
    name=CentOS-5.3 - Base
    baseurl=http://centos.ustc.edu.cn/centos/5.4/os/$basearch/
    gpgcheck=1
    gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5
  • 相关阅读:
    彻底理解Hive中的锁
    Hive中的UDF详解
    如何让你的SQL运行得更快
    软件需求评审之五个案例和九条建议
    数据结构算法大全
    SQL Server CPU时间和占用时间及优化
    SQL Server datetime数据类型设计、优化误区
    SQL Server CASE语句中关于Null的处理
    UML分析设计顺序
    OO软件设计说明书结构
  • 原文地址:https://www.cnblogs.com/wang123/p/1679208.html
Copyright © 2011-2022 走看看