代码改变世界

rdo安装openstack queens

2018-05-18 21:54  zw2002  阅读(866)  评论(0编辑  收藏  举报

1、查询一个openstack安装包

 

[root@control01 ~]# yum search openstack
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Determining fastest mirrors
* base: mirrors.huaweicloud.com
* epel: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.huaweicloud.com
=========================================== N/S matched: openstack ===========================================
ansible-openstack-modules.noarch : Unofficial Ansible modules for managing Openstack
centos-release-openstack-newton.noarch : OpenStack from the CentOS Cloud SIG repo configs
centos-release-openstack-ocata.noarch : OpenStack from the CentOS Cloud SIG repo configs
centos-release-openstack-pike.x86_64 : OpenStack from the CentOS Cloud SIG repo configs
centos-release-openstack-queens.x86_64 : OpenStack from the CentOS Cloud SIG repo configs
diskimage-builder.noarch : Image building tools for OpenStack
golang-github-rackspace-gophercloud-devel.noarch : The Go SDK for Openstack http://gophercloud.io
php-opencloud.noarch : PHP SDK for OpenStack/Rackspace APIs
php-opencloud-doc.noarch : Documentation for PHP SDK for OpenStack/Rackspace APIs
python-oslo-sphinx.noarch : OpenStack Sphinx Extensions

Name and summary matches only, use "search all" for everything.

2、执行如下操作

#yum install centos-release-openstack-queens

# yum update -y

# yum install -y openstack-packstack

3、需要修改一下yum的配置文件

[centos-qemu-ev]
name=CentOS-$releasever - QEMU EV
baseurl=http://mirror.centos.org/$contentdir/$releasever/virt/$basearch/kvm-common/

 

[centos-qemu-ev]
name=CentOS-$releasever - QEMU EV
baseurl=http://mirror.centos.org/centos-7/

# packstack --gen-answer-file=packstack-myanswer

 

一起学习交流openstack学习交流群