1. 程式人生 > >1、軟件源配置與學習建議

1、軟件源配置與學習建議

rem entos ping ont IT ans yun height line

  1. 默認使用centos6.8
  2. 默認aliyun的源
    1. 備份
      1. mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
    2. 下載阿裏雲源配置文件(針對centos6版本)
      1. wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
    3. 生成緩存
      1. yum makecache



來自為知筆記(Wiz)

1、軟件源配置與學習建議