您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關CentOS7.0如何安裝OpenStack JUJO 的內容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。
安裝CentOS 7.0,選擇最小化安裝,服務器設置如下
IP地址:192.168.0.151/24 網關:192.168.0.1 DNS:192.168.0.1 主機名 node151.example.com
添加RDO YUM源,并修改yum配置保存下載的軟件包,便于后續離線安裝
# curl -O ftp://partners.redhat.com/8aa5fd896ed3a83f6533a78287906111/OpenStack/6.0-RHEL-7/2015-01-20.1/RH7-RHOS-6.0.repo # sed -i s#keepcache.*#keepcache=1#g /etc/yum.conf # sed -i s#cachedir.*#cachedir=\/var\/cache\/yum\/#g /etc/yum.conf
關閉NetworkManager服務,并開啟network服務
# systemctl stop NetworkManager.service # systemctl disable NetworkManager.service # systemctl start network.service # chkconfig network on
安裝packstack組件
# yum install –y openstack-packstack
生成packstack應答文件
# packstack --gen-answer-file=allinone.conf
安裝openstack
# packstack --answer-file=/root/allinone.conf Welcome to the Packstack setup utility The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log Installing: Clean Up [ DONE ] Setting up ssh keys [ DONE ] Discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Preparing servers [ DONE ] Adding AMQP manifest entries [ DONE ] Adding MariaDB 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 ] 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 ] Creating ssh keys for Nova migration [ DONE ] Gathering ssh host keys for Nova migration [ DONE ] Adding Nova Compute manifest entries [ DONE ] Adding Nova Scheduler manifest entries [ DONE ] Adding Nova VNC Proxy manifest entries [ DONE ] Adding OpenStack Network-related Nova manifest entries[ DONE ] Adding Nova Common manifest entries [ DONE ] Adding Neutron API manifest entries [ DONE ] Adding Neutron Keystone manifest entries [ DONE ] Adding Neutron L3 manifest entries [ DONE ] Adding Neutron L2 Agent manifest entries [ DONE ] Adding Neutron DHCP Agent manifest entries [ DONE ] Adding Neutron LBaaS Agent manifest entries [ DONE ] Adding Neutron Metering Agent manifest entries [ DONE ] Adding Neutron Metadata Agent manifest entries [ DONE ] Checking if NetworkManager is enabled and running [ 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 Demo manifest entries [ DONE ] Adding Provisioning Glance manifest entries [ DONE ] Adding MongoDB manifest entries [ DONE ] Adding Redis manifest entries [ DONE ] Adding Ceilometer manifest entries [ DONE ] Adding Ceilometer Keystone manifest entries [ 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 192.168.0.151_prescript.pp 192.168.0.151_prescript.pp: [ DONE ] Applying 192.168.0.151_amqp.pp Applying 192.168.0.151_mariadb.pp 192.168.0.151_amqp.pp: [ DONE ] 192.168.0.151_mariadb.pp: [ DONE ] Applying 192.168.0.151_keystone.pp Applying 192.168.0.151_glance.pp Applying 192.168.0.151_cinder.pp 192.168.0.151_keystone.pp: [ DONE ] 192.168.0.151_glance.pp: [ DONE ] 192.168.0.151_cinder.pp: [ DONE ] Applying 192.168.0.151_api_nova.pp 192.168.0.151_api_nova.pp: [ DONE ] Applying 192.168.0.151_nova.pp 192.168.0.151_nova.pp: [ DONE ] Applying 192.168.0.151_neutron.pp 192.168.0.151_neutron.pp: [ DONE ] Applying 192.168.0.151_osclient.pp Applying 192.168.0.151_horizon.pp 192.168.0.151_osclient.pp: [ DONE ] 192.168.0.151_horizon.pp: [ DONE ] Applying 192.168.0.151_ring_swift.pp 192.168.0.151_ring_swift.pp: [ DONE ] Applying 192.168.0.151_swift.pp Applying 192.168.0.151_provision_demo.pp Applying 192.168.0.151_provision_glance 192.168.0.151_swift.pp: [ DONE ] 192.168.0.151_provision_demo.pp: [ DONE ] 192.168.0.151_provision_glance: [ DONE ] Applying 192.168.0.151_mongodb.pp Applying 192.168.0.151_redis.pp 192.168.0.151_mongodb.pp: [ DONE ] 192.168.0.151_redis.pp: [ DONE ] Applying 192.168.0.151_ceilometer.pp 192.168.0.151_ceilometer.pp: [ DONE ] Applying 192.168.0.151_nagios.pp Applying 192.168.0.151_nagios_nrpe.pp 192.168.0.151_nagios.pp: [ DONE ] 192.168.0.151_nagios_nrpe.pp: [ DONE ] Applying 192.168.0.151_postscript.pp 192.168.0.151_postscript.pp: [ DONE ] Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** Additional information: * 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.0.151. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.0.151/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.0.151/nagios username: nagiosadmin, password: 0fa3c8326ec4457a * Because of the kernel update the host 192.168.0.151 requires reboot. * The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log * The generated manifests are available at: /var/tmp/packstack/20150227-233818-CnLUnf/manifests
查看openstack dashboard,在瀏覽器中打開http://192.168.0.151/dashboard
感謝各位的閱讀!關于“CentOS7.0如何安裝OpenStack JUJO ”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。