centos 6.5 x64bit 快速安装openstack

OpenStack是一个美国国家航空航天局和Rackspace合作研发的,以Apache许可证授权,并且是一个自由软件和开放源代码项目。

OpenStack是一个云平台管理的项目,它不是一个软件。这个项目由几个主要的组件组合起来完成一些具体的工作。

OpenStack是一个旨在为公共及私有云的建设与管理提供软件的开源项目。它的社区拥有超过130家企业及1350位开发者,这些机构与个人都将OpenStack作为基础设施即服务(简称IaaS)资源的通用前端。

OpenStack项目的首要任务是简化云的部署过程并为其带来良好的可扩展性。本文希望通过提供必要的指导信息,帮助大家利用OpenStack前端来设置及管理自己的公共云或私有云。

OpenStack 是由 Rackspace 和 NASA 共同开发的云计算平台,帮助服务商和企业内部实现类似于 Amazon EC2 和 S3 的云基础架构服务(Infrastructure as a Service, IaaS)。OpenStack 包含两个主要模块:Nova 和 Swift,前者是 NASA 开发的虚拟服务器部署和业务计算模块;后者是 Rackspace开发的分布式云存储模块,两者可以一起用,也可以分开单独用。OpenStack 是开源项目,除了有 Rackspace 和 NASA 的大力支持外,后面还有包括 Dell、Citrix、 Cisco、 Canonical 这些重量级公司的贡献和支持,发展速度非常快,有取代另一个业界领先开源云平台 Eucalyptus 的态势。

1.[[email protected] ~]# yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly-1.noarch.rpm //安装openstack-grizzly源
Loaded plugins: fastestmirror, security
base                                                     | 3.7 kB     00:00    
base/primary_db                                          | 4.4 MB     00:05    
extras                                                   | 3.4 kB     00:00    
extras/primary_db                                        |  19 kB     00:00    
updates                                                  | 3.4 kB     00:00    
updates/primary_db                                       | 3.7 MB     00:03    
Setting up Install Process
rdo-release-grizzly-1.noarch.rpm                         | 7.1 kB     00:03    
Examining /var/tmp/yum-root-tkysSj/rdo-release-grizzly-1.noarch.rpm: rdo-release-grizzly-1.noarch
Marking /var/tmp/yum-root-tkysSj/rdo-release-grizzly-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rdo-release.noarch 0:grizzly-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch      Version        Repository                        Size
================================================================================
Installing:
 rdo-release    noarch    grizzly-1      /rdo-release-grizzly-1.noarch    3.2 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 3.2 k
Installed size: 3.2 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : rdo-release-grizzly-1.noarch                                 1/1
  Verifying  : rdo-release-grizzly-1.noarch                                 1/1

Installed:
  rdo-release.noarch 0:grizzly-1

Complete!

2.[[email protected] ~]# yum install -y openstack-packstack //安装openstack-packstack软件包

Loaded plugins: fastestmirror, security
Determining fastest mirrors
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
openstack-grizzly                                        | 2.9 kB     00:00    
openstack-grizzly/primary_db                             | 992 kB     00:02    
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch 0:2013.1.1-0.31.dev696.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch   Version                     Repository         Size
================================================================================
Installing:
 openstack-packstack noarch 2013.1.1-0.31.dev696.el6    openstack-grizzly 605 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 605 k
Installed size: 1.9 M
Downloading Packages:
openstack-packstack-2013.1.1-0.31.dev696.el6.noarch.rpm  | 605 kB     00:01    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : openstack-packstack-2013.1.1-0.31.dev696.el6.noarch          1/1
  Verifying  : openstack-packstack-2013.1.1-0.31.dev696.el6.noarch          1/1

Installed:
  openstack-packstack.noarch 0:2013.1.1-0.31.dev696.el6

Complete!

3.[[email protected] ~]# packstack --allinone //在线安装openstack软件。

Welcome to Installer setup utility
Packstack changed given value  to required value /root/.ssh/id_rsa.pub

Installing:
Clean Up...                                            [ DONE ]
Setting up ssh [email protected]‘s password:
                                 [ DONE ]
Adding pre install manifest entries...                 [ DONE ]
Adding MySQL manifest entries...                       [ DONE ]
Adding QPID manifest entries...                        [ DONE ]
Adding Keystone manifest entries...                    [ DONE ]
Adding Glance Keystone manifest entries...             [ DONE ]
Adding Glance manifest entries...                      [ DONE ]
Adding Cinder Keystone manifest entries...             [ DONE ]
Installing dependencies for Cinder...                  [ DONE ]
Checking if the Cinder server has a cinder-volumes vg...[ DONE ]
Adding Cinder manifest entries...                      [ DONE ]
Adding Nova API manifest entries...                    [ DONE ]
Adding Nova Keystone manifest entries...               [ DONE ]
Adding Nova Cert manifest entries...                   [ DONE ]
Adding Nova Conductor manifest entries...              [ DONE ]
Adding Nova Compute manifest entries...                [ DONE ]
Adding Nova Scheduler manifest entries...              [ DONE ]
Adding Nova VNC Proxy manifest entries...              [ DONE ]
Adding Nova Common manifest entries...                 [ DONE ]
Adding Openstack Network-related Nova manifest entries...[ DONE ]
Adding Quantum API manifest entries...                 [ DONE ]
Adding Quantum Keystone manifest entries...            [ DONE ]
Adding Quantum L3 manifest entries...                  [ DONE ]
Adding Quantum L2 Agent manifest entries...            [ DONE ]
Adding Quantum DHCP Agent manifest entries...          [ DONE ]
Adding Quantum Metadata Agent manifest entries...      [ DONE ]
Adding OpenStack Client manifest entries...            [ DONE ]
Adding Horizon manifest entries...                     [ DONE ]
Adding Swift Keystone manifest entries...              [ DONE ]
Adding Swift builder manifest entries...               [ DONE ]
Adding Swift proxy manifest entries...                 [ DONE ]
Adding Swift storage manifest entries...               [ DONE ]
Adding Swift common manifest entries...                [ DONE ]
Adding Provisioning manifest entries...                [ DONE ]
Preparing servers...                                   [ DONE ]
Adding Nagios server manifest entries...               [ DONE ]
Adding Nagios host manifest entries...                 [ DONE ]
Adding post install manifest entries...                [ DONE ]
Installing Dependencies...                             [ DONE ]
Copying Puppet modules and manifests...                [ DONE ]
Applying Puppet manifests...
Applying 192.168.200.180_prescript.pp
192.168.200.180_prescript.pp :                                       [ DONE ]
Applying 192.168.200.180_mysql.pp
Applying 192.168.200.180_qpid.pp
192.168.200.180_mysql.pp :                                           [ DONE ]
192.168.200.180_qpid.pp :                                            [ DONE ]
Applying 192.168.200.180_keystone.pp
Applying 192.168.200.180_glance.pp
Applying 192.168.200.180_cinder.pp
192.168.200.180_keystone.pp :                                        [ DONE ]
192.168.200.180_glance.pp :                                          [ DONE ]
192.168.200.180_cinder.pp :                                          [ DONE ]
Applying 192.168.200.180_api_nova.pp
192.168.200.180_api_nova.pp :                                        [ DONE ]
Applying 192.168.200.180_nova.pp
192.168.200.180_nova.pp :                                            [ DONE ]
Applying 192.168.200.180_quantum.pp
192.168.200.180_quantum.pp :                                         [ DONE ]
Applying 192.168.200.180_osclient.pp
Applying 192.168.200.180_horizon.pp
192.168.200.180_osclient.pp :                                        [ DONE ]
192.168.200.180_horizon.pp :                                         [ DONE ]
Applying 192.168.200.180_ring_swift.pp
192.168.200.180_ring_swift.pp :                                      [ DONE ]
Applying 192.168.200.180_swift.pp
Applying 192.168.200.180_provision.pp
Applying 192.168.200.180_nagios.pp
Applying 192.168.200.180_nagios_nrpe.pp
192.168.200.180_swift.pp :                                           [ DONE ]
192.168.200.180_provision.pp :                                       [ DONE ]
192.168.200.180_nagios.pp :                                          [ DONE ]
192.168.200.180_nagios_nrpe.pp :                                     [ DONE ]
Applying 192.168.200.180_postscript.pp
192.168.200.180_postscript.pp :                                      [ DONE ]
                           [ DONE ]
Finalizing...                                          [ DONE ]

**** Installation completed successfully ****** //成功安装如下:

Additional information:
 * A new answerfile was created in: /root/packstack-answers-20140626-162910.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * To use the command line tools you need to source the file /root/keystonerc_admin created on 192.168.200.180
 * To use the console, browse to http://192.168.200.180/dashboard
 * To use Nagios, browse to http://192.168.200.180/nagios username : nagiosadmin, password : 0e2abdb9d2914cce
 * The RDO kernel that includes network namespace (netns) support has been installed on host 192.168.200.180.
 * The installation log file is available at: /var/tmp/packstack/20140626-162910-yqzZnu/openstack-setup.log

//如果要进openstack界面直接利用http://192.168.200.180/dashboard进入,用户名有两个一个demo,另一个是admin 密码在/root目录下

4.创建keypair,名字自己写

5.创建映像f19下载地址http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2 创建好之后启动

6.启动zh888实例

7.选择网卡点加号放入networks

8.启动好的zh888的实例

centos 6.5 x64bit 快速安装openstack,布布扣,bubuko.com

时间: 2024-10-11 13:35:29

centos 6.5 x64bit 快速安装openstack的相关文章

CentOS RDO方式快速安装OpenStack

一.了解RDO RDO是什么? RDO是红帽Red Hat Enterprise Linux OpenStack Platform的社区版,类似RHEL和Fedora,RHEV和oVirt这样的关系. 说白了,就是红帽支持一个开源项目,让你帮他踩坑,得到成熟稳定的版本,红帽搞一个企业版赚钱. 这个就是红帽的商业模式,其实是多方受益的,用户有一个开源免费的软件工具使用,当然前期可能“坑”比较多,但是和红帽一起磨合,共同提高稳定性,比较典型的就是CentOS.红帽发行商业版,赚去服务费,对可靠性.稳

Fuel 30 分钟快速安装OpenStack

一直以来,对于openstack 的初学者来讲,安装往往是入门的头大难题.在E版本之前,要搭建一个基本能用的openstack 环境那是相当麻烦,自己要装机,自己搞源,自己照着文档敲命令,又没有靠谱的文档,官方给出的文档依旧有好多坑,还有语言问题往往用上好几天时间都装不起来,慢慢地就丧失了学习openstack 的信心! 不过后来情况有了很大改观,从E版本开始,以后安装过程简化许多,文档质量提高不少.尽管如此对于初学者还讲还是比较复杂,其实很多时候,很多人只是想体会一下openstack,完全不

Fuel快速安装OpenStack

1 介绍 1.1 关于 Mirantis Mirantis,一家很牛逼的openstack服务集成商,他是社区贡献排名前5名中唯一一个靠软件和服务吃饭的公司(其他分别是Red Hat, HP, IBM, Rackspace).相对于其他几个社区发行版,Fuel的版本节奏很快,平均每两个月就能提供一个相对稳定的社区版. 1.2 Fuel 是什么? Fuel 是一个为openstack 端到端”一键部署“设计的工具,其功能含盖自动的PXE方式的操作系统安装,DHCP服务,Orchestration服

在Centos 7上使用Devstack快速安装Openstack

准备环境: 1)最小安装Centos 7(6G内存+50G硬盘) 2) selinux.iptables关闭 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 setenforce 0 # 使用豆瓣pip源 mkdir -p ~/.pip            vi ~/.pip/pip.conf [global] index-url = http://

CentOS 7 X64 LNMP快速安装

1. 背景 一台云服务器  CentOS 7.X x64 最快速的安装,展示类应用 2. 安装过程 # 更新epel-release 依赖库 yum install epel-release -y # 强制YUM安装Nginx.Mariadb.PHP组件 yum -y install nginx* mariadb* php* --skip-broken # 启动服务并设置开机启动服务 systemctl start nginx systemctl start mysqld systemctl e

Centos7 - devstack快速安装openstack

准备环境 selinux.iptables关闭 mkdir -p ~/.pip          # 使用豆瓣pip源 vim ~/.pip/pip.conf [global] index-url = http://pypi.douban.com/simple/  yum install -y git  # 安装git cd /home git clone https://github.com/openstack-dev/devstack.git  cd /home/devstack/tools

CentOS下使用yum快速安装memcached

参考文章: 1. http://www.free521.com/tutorials/vps-tutorials/4360.html 2. http://snowolf.iteye.com/blog/1447348 3. memcache 连接错误  http://chenwei.me/p/70.html ------------------------------------------------------------------------------------------ 1. 查找M

CentOS7.2下一键安装Openstack

CentOS7.2下一键安装Openstack   系统环境:Oracle VirtualBox 4.38CentOS-7.2-x86_64-bin-DVD1.iso   安装前需要修改 /etc/hosts文件,添加 127.0.0.1 dev-100 (dev-100为当前机器名)否则会报如下错误:Could not start Service[rabbitmq-server]: Execution of '/sbin/service rabbitmq-server start' retur

Centos 7 一键安装openstack

系统:Centos7x64 单节点 CentOS yum 快速安装: # 安装RDO repo $ sudo yum install -y https://www.rdoproject.org/repos/rdo-release.rpm # 更新repo源 $ sudo yum update -y # 安装openstack-packstack $ sudo yum install -y openstack-packstack # 执行部署过程 $ packstack --allinone 访问