• 安装OpenStack的yum源


    # yum install https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-liberty/centos-release-openstack-liberty-1-3.el7.noarch.rpm
    # yum install https://repos.fedorapeople.org/repos/openstack/EOL/openstack-liberty/rdo-release-liberty-5.noarch.rpm

    # ls
    CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
    # cat CentOS-Base.repo

    #
    # 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-centos/7 - Base
    #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=os
    baseurl=https://mirrors.aliyun.com/centos/7/os/$basearch/
    gpgcheck=1
    gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
    
    #released updates 
    [updates]
    name=CentOS-centos/7 - Updates
    #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=updates
    baseurl=https://mirrors.aliyun.com/centos/7/updates/$basearch/
    gpgcheck=1
    gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
    
    #additional packages that may be useful
    [extras]
    name=CentOS-centos/7 - Extras
    #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=extras
    baseurl=https://mirrors.aliyun.com/centos/7/extras/$basearch/
    gpgcheck=1
    gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
    
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-centos/7 - Plus
    #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=centosplus
    baseurl=https://mirrors.aliyun.com/centos/7/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
    
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-centos/7 - Contrib
    #mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=contrib
    baseurl=https://mirrors.aliyun.com/centos/7/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
    

    # ls

    CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
    # cat CentOS-OpenStack-liberty.repo

    # CentOS-OpenStack-liberty.repo
    #
    # Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more
    # information
    
    [centos-openstack-liberty]
    name=CentOS-$releasever - OpenStack liberty
    baseurl=http://buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
    
    [centos-openstack-liberty-test]
    name=CentOS-$releasever - OpenStack liberty Testing
    baseurl=http://buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/
    gpgcheck=0
    enabled=1
    

    # ls

    CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
    #
    # cat rdo-release.repo

    [openstack-liberty]
    name=OpenStack Liberty Repository
    baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/
    gpgcheck=1
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
    

    # cat rdo-testing.repo 

    [openstack-liberty-testing]
    name=OpenStack Liberty Testing
    baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/
    gpgcheck=0
    enabled=0
    
    [rdo-trunk-liberty-tested]
    name=OpenStack Liberty Trunk Tested
    baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/rdo-trunk-liberty-tested/
    gpgcheck=0
    enabled=0
    
  • 相关阅读:
    Ubuntu1804 安装 cuda 、cudnn、TensorRT
    sudo apt install nvinfer*
    PyTorch for Jetson Nano
    Jetson Nano安装 Jupyter lab
    docker容器登录,退出等操作命令
    pyenv和pipenv简单使用
    pyenv使用国内镜像安装指定的Python版本
    python写入csv文件的几种方法总结
    Python 能做什么?
    极验滑块验证的使用
  • 原文地址:https://www.cnblogs.com/lei2017/p/7875953.html
Copyright © 2020-2023  润新知