zoukankan      html  css  js  c++  java
  • Centos7.7镜像源配置

    环境对象 Centos7 .7

    使用本地镜像源

    [root@localhost yum.repos.d]# cat centos7.repo 
    [local server]
    name = local server
    baseurl=file:///tmp
    enable=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm=gpg/RPM-GPG-KEY-CentOS=7
    
    

    如何自定义使用网络镜像源

    [163 server]
    
    name = 163mirros
    
    baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
    enable=1
    gpgcheck= 1
    gpgkey=https://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
    
    
    
    
    
    
    
    

    例如阿里云镜像源

    wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
    
    
    
  • 相关阅读:
    小丑火棘
    凤尾竹
    红王子锦带
    吊兰
    清香木
    鸢尾
    夏鹃
    牡丹吊兰
    美人蕉
    粉花绣线菊
  • 原文地址:https://www.cnblogs.com/wait59/p/13634567.html
Copyright © 2011-2022 走看看