• openstack-queens


    http://man.linuxde.net/download/CentOS_7_3   #CentOS_7_3下载

    https://docs.openstack.org/queens/
    wget http://mirrors.aliyun.com/repo/Centos-7.repo -O /etc/yum.repos.d/Centos-7.repo

    [root@localhost yum.repos.d]# more Centos-openstack.repo
    [centos-openstack-newton]
    name=CentOS-$releasever-openstack-newton
    enabled=0
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos/$releasever/cloud/$basearch/openstack-newton
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

    [centos-openstack-ocata]
    name=CentOS-$releasever-openstack-ocata
    enabled=1
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos/$releasever/cloud/$basearch/openstack-ocata
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7


    [centos-openstack-pike]
    name=CentOS-$releasever-openstack-pike
    enabled=1
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos/$releasever/cloud/$basearch/openstack-pike
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7


    [centos-openstack-queens]
    name=CentOS-$releasever-openstack-queens
    enabled=1
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos/$releasever/cloud/$basearch/openstack-queens
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

    [kvm]
    name=kvm
    enabled=1
    failovermethod=priority
    baseurl=https://mirrors.aliyun.com/centos/7/virt/x86_64/kvm-common/
    gpgcheck=0
    #gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

    #################################################
    #reposync -r centos-openstack-ocata -p /yumopenstack/
    #reposync -r centos-openstack-pike -p /yumopenstack/
    reposync -r centos-openstack-queens -p /yumopenstack/
    reposync -r kvm -p /yumopenstack/
    #################################################


    yum install
    python-openstackclient openstack-selinux python-openstackclient python2-PyMySQL
    openstack-utils
    mariadb mariadb-server mariadb-galera-server python2-PyMySQL
    erlang socat rabbitmq-server
    openstack-keystone httpd mod_wsgi memcached python-memcached
    apr apr-util
    openstack-glance python-glance
    openstack-nova-api openstack-nova-conductor
    openstack-nova-console openstack-nova-novncproxy
    openstack-nova-scheduler openstack-nova-placement-api
    openstack-nova-compute python-openstackclient openstack-selinux
    openstack-neutron openstack-neutron-ml2
    openstack-neutron-linuxbridge python-neutronclient ebtables ipset
    openstack-neutron-linuxbridge ebtables ipset
    openstack-dashboard
    openstack-cinder targetcli python-keystone lvm2
    corosync pacemaker pcs fence-agents resource-agents
    openstack-neutron-linuxbridge


    安装openstack最后到dashboard的时候报错:[Errno 256] No more mirrors to try.
    很简单:
    1.yum clean metadata
    2.yum clean all
    搞定!
    至此,openstack也差不多一个个组件都正常了。接下来准备跑个vyos(电脑是真的有点hold不住)。
    后面写个质量高一点的文章“How vRouter live in a cloud?”

  • 相关阅读:
    剑指offer--03.从尾到头打印链表
    剑指offer--02.替换空格
    剑指offer--01.二维数组中的查找
    JAVA日记之mybatis-3一对一,一对多,多对多xml与注解配置
    SpringBoot 2.x 自定义拦截器并解决静态资源访问被拦截问题
    springboot项目WEB-INF 目录 jsp页面报404
    Spring Boot 配置拦截器方式
    通过idea创建Maven项目整合Spring+spring mvc+mybatis
    idea创建maven项目
    PLSQL操作Oracle创建用户和表
  • 原文地址:https://www.cnblogs.com/qqran/p/9369232.html
Copyright © 2020-2023  润新知