码迷,mamicode.com
首页 > 其他好文 > 详细

openstack-mitaka的allinone模式私有云平台

时间:2016-11-17 21:04:02      阅读:834      评论:0      收藏:0      [点我收藏+]

标签:云平台   操作系统   软件包   

1)安装好RHEL7.2 64位操作系统

硬盘200G、内存4G以上

指定cpu类型支持虚拟化

技术分享 

(2)上传所需软件包Openstack-mitaka-packages.tar.gz

并解压[root@localhost ~]# tar xf /root/openstack-mitaka-packages.tar.gz

技术分享 

(3)关闭selinux/防火墙

(4)配置openstackyum

[root@localhost ~]# vim /etc/yum.repos.d/openstack.repo

技术分享 

(5)配置本地yum

技术分享 

[root@localhost ~]# mount /dev/cdrom /mnt/

mount: /dev/sr0 is write-protected, mounting read-only

[root@localhost ~]# vim /etc/yum.repos.d/rhel7.repo

技术分享 

[root@localhost ~]# yum clean all

[root@localhost ~]# yum list

7[root@localhost ~]# vim /etc/hosts

技术分享 

8[root@localhost ~]# vim /etc/sysconfig/network

技术分享 

(9)安装openstack

[root@localhost ~]# yum -y install openstack-packstack

(10)上传镜像模板文件cirros-0.3.4-x86_64-disk.img

 

 11)安装allinone模式openstack

[root@localhost ~]# packstack --allinone --provision-image-url=/root/cirros-0.3.4-x86_64-disk.img

 

 

 * Warning: NetworkManager is active on 192.168.137.218. OpenStack networking currently does not work on systems that have the Network Manager service enabled.

[root@localhost ~]# systemctl stop NetworkManager.service

解决如上报错信息

出现如下信息说明安装成功!

 **** Installation completed successfully ******

 

Additional information:

 * A new answerfile was created in: /root/packstack-answers-20161117-170020.txt

 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.137.218. To use the command line tools you need to source the file.

 * To access the OpenStack Dashboard browse to http://192.168.137.218/dashboard .

Please, find your login credentials stored in the keystonerc_admin in your home directory.

 * To use Nagios, browse to http://192.168.137.218/nagios username: nagiosadmin, password: 09b7c35eb73649dd

 * The installation log file is available at: /var/tmp/packstack/20161117-170019-nL91bR/openstack-setup.log

 * The generated manifests are available at: /var/tmp/packstack/20161117-170019-nL91bR/manifests

技术分享 

 


openstack-mitaka的allinone模式私有云平台

标签:云平台   操作系统   软件包   

原文地址:http://wuti123com.blog.51cto.com/10653006/1873994

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!