zoukankan      html  css  js  c++  java
  • LINUX 修改本机yum源为163镜像源

    进入yum源配置目录

    [root@localhost yum.repos.d]# cd /etc/yum.repos.d/

    备份系统yum源,用于日后恢复。

    [root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak

    下载163yum源repo文件:

    [root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS-Base-163.repo

    更新yum配置,使立即生效:

    [root@localhost yum.repos.d]# yum makecache

    image

    http://mirrors.163.com/.help/centos.html

    http://blog.chinaunix.net/uid-23683795-id-3477603.html

  • 相关阅读:
    从今天起,我要在博客园装13了,听说这里装的好可以得高薪
    HTML5 选择前置摄像头,选择后置摄像头
    canvas图片base64编码后,ajax提交到后台
    238. Product of Array Except Self
    230. Kth Smallest Element in a BST
    229. Majority Element II
    228. Summary Ranges
    227. Basic Calculator II
    223. Rectangle Area
    222. Count Complete Tree Nodes
  • 原文地址:https://www.cnblogs.com/logon/p/3425531.html
Copyright © 2011-2022 走看看