cetnos7一键安装openstack(一)

一.安装RDO软件


    yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

 

rdo-release.rpm                                          | 8.9 kB     00:00
Examining /var/tmp/yum-root-v2cSbO/rdo-release.rpm: rdo-release-kilo-1.noarch
Marking /var/tmp/yum-root-v2cSbO/rdo-release.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rdo-release.noarch 0:kilo-1 will be installed
--> Finished Dependency Resolution
base/7/x86_64                                            | 3.6 kB     00:00
base/7/x86_64/group_gz                                   | 154 kB     00:00
base/7/x86_64/primary_db                                 | 5.1 MB     00:36
http://mirror.vpshosting.com.hk/pub/linux/centos/7.1.1503/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 502 - Bad Gateway
Trying other mirror.
extras/7/x86_64                                          | 3.4 kB     00:00
extras/7/x86_64/primary_db                               |  87 kB     00:00
updates/7/x86_64                                         | 3.4 kB     00:00
updates/7/x86_64/primary_db                              | 4.0 MB     00:34

Dependencies Resolved


二.安装一个叫packstack的部署包

yum install -y openstack-packstack


================================================================================
 Package                    Arch   Version                 Repository      Size
================================================================================
Installing:
 openstack-packstack        noarch 2015.1-0.11.dev1616.g5526c38.el7
                                                           openstack-kilo 231 k
Installing for dependencies:
 openstack-packstack-puppet noarch 2015.1-0.11.dev1616.g5526c38.el7
                                                           openstack-kilo  20 k
 openstack-puppet-modules   noarch 2015.1.9-4.el7          openstack-kilo 1.6 M
 pyOpenSSL                  x86_64 0.13.1-3.el7            base           133 k
 python-docutils            noarch 0.11-0.2.20130715svn7687.el7
                                                           base           1.5 M
 python-netaddr             noarch 0.7.12-1.el7            openstack-kilo 1.3 M
 python-pillow              x86_64 2.0.0-17.gitd1c6db8.el7 base           438 k
 ruby                       x86_64 2.0.0.598-25.el7_1      updates         67 k
 ruby-irb                   noarch 2.0.0.598-25.el7_1      updates         88 k
 ruby-libs                  x86_64 2.0.0.598-25.el7_1      updates        2.8 M
 rubygem-bigdecimal         x86_64 1.2.0-25.el7_1          updates         79 k
 rubygem-io-console         x86_64 0.4.2-25.el7_1          updates         50 k
 rubygem-json               x86_64 1.7.7-25.el7_1          updates         75 k
 rubygem-psych              x86_64 2.0.0-25.el7_1          updates         77 k
 rubygem-rdoc               noarch 4.0.0-25.el7_1          updates        318 k
 rubygems                   noarch 2.0.14-25.el7_1         updates        212 k

Transaction Summary
================================================================================
Install  1 Package (+15 Dependent packages)


三.一键自动安装

packstack --allinone

注意设置:


[root@openstack 20151015-151654-N5za0F]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=permissive
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted



你可能感兴趣的:(centos,openstack,一键安装)