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

1)安裝好RHEL7.2 64位操作系統

硬盤200G、內存4G以上

指定cpu類型支持虛擬化

spacer.gif 

(2)上傳所需軟件包Openstack-mitaka-packages.tar.gz

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

spacer.gif 

(3)關閉selinux/防火牆

(4)配置openstackyum

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

spacer.gif 

(5)配置本地yum

spacer.gif 

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

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

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

spacer.gif 

[root@localhost ~]# yum clean all

[root@localhost ~]# yum list

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

spacer.gif 

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

spacer.gif 

(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

spacer.gif 

 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章