zoukankan      html  css  js  c++  java
  • 01_Linux软件源配置

     

    一、国内软件源

    1. 阿里源:https://mirrors.aliyun.com/
    2. 清华大学:https://mirrors.tuna.tsinghua.edu.cn/
    3. 中科大 : https://mirrors.ustc.edu.cn/

    有很多,大家可以百度。

    二、以Centos 6.7为例配置

    1.备份系统默认的源配置

    mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 

    2.进入阿里源官网

    3.下载新的CentOS-Base.repo到/etc/yum.repos.d/

    CentOS 5

    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

    curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo 

    CentOS 6

    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 

    curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 

    CentOS 7

    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 

    curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

     三、生成yum缓存

    yum makecache
  • 相关阅读:
    软件测试工程师的素质
    软件测试阶段的划分
    如何去涉及测试用例
    如何判断测试结束
    Linux常用命令大全
    测试用例设计方法
    Web测试方法
    loadrunner
    谈谈重复性测试
    软件测试思维导图
  • 原文地址:https://www.cnblogs.com/weihengblog/p/8321672.html
Copyright © 2011-2022 走看看