zoukankan      html  css  js  c++  java
  • 安装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
    
  • 相关阅读:
    数据库表结构变动发邮件脚本
    .net程序打包部署
    无法登陆GitHub解决方法
    netbeans 打包生成 jar
    第一次值班
    RHEL6 纯命令行文本界面下安装桌面
    C语言中格式化输出,四舍五入类型问题
    I'm up to my ears
    How to boot ubuntu in text mode instead of graphical(X) mode
    the IP routing table under linux@school
  • 原文地址:https://www.cnblogs.com/lei2017/p/7875953.html
Copyright © 2011-2022 走看看