欢迎来到天天文库
浏览记录
ID:8802132
大小:2.10 MB
页数:12页
时间:2018-04-08
《centos7安装openstack经典已实践》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、Centos7安装openstack经典已实践三个节点ip信息controller:192.168.100.10network:192.168.100.20compute1:192.168.100.30修改各节点的/etc/hosts文件测试各节点到openstack.org的连通性 controllernode配置NTP服务yuminstall-yntpvi/etc/ntp.conf修改文件如下:server NTP_SERVER iburst #此处未做修改,采用默认restrict-4defaultkodnotrapnomodifyrestrict-6defaultkodno
2、trapnomodify systemctl enablentpd.service #开机启动systemctl startntpd.service 其他节点同样安装yuminstallntp修改/etc/ntp.conf文件如下:servercontrolleriburst 开机启动服务:systemctlenablentpd.servicesystemctlstartntpd.service OpenStackpackages Installtheyum-plugin-prioritiespackagetoenableassignmentofrelativeprioritie
3、swithinrepositories:#yuminstall-yyum-plugin-priorities Installtheepel-releasepackagetoenabletheEPELrepository:#yuminstall http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm Installtherdo-release-junopackagetoenabletheRDOrepository:# yuminstall http://rdo.fedorapeople.o
4、rg/openstack-juno/rdo-release-juno.rpm Upgradethepackagesonyoursystem:#yumupgrade#reboot RHELandCentOSenableSELinuxbydefault.Installtheopenstack-selinuxpackagetoautomaticallymanagesecuritypoliciesforOpenStackservices:#yuminstallopenstack-selinux安装如果报错,可通过下面安装:#yuminstall http://repos.fedorapeo
5、ple.org/repos/openstack/openstack-juno/epel-7/openstack-selinux-0.5.19-2.el7ost.noarch.rpm Toinstallandconfigurethedatabaseserver#yuminstallmariadbmariadb-serverMySQL-python修改/etc/my.cnfbind-address=127.0.0.1default-storage-engine=innodbinnodb_file_per_tablecollation-server=utf8_general_ciinit
6、-connect='SETNAMESutf8'character-set-server=utf8 #systemctlenablemariadb.service#systemctlstartmariadb.service ToinstalltheRabbitMQmessagebrokerservice#yuminstallrabbitmq-server#systemctlenablerabbitmq-server.service#systemctlstartrabbitmq-server.service启动服务时出现如下错误: #rabbitmqctlchange_passwor
7、dguest123456执行时如果有报错 Identityservice Installandconfigure#mysql >createdatabasekeystone; >grantallprivilegesonkeystone.*to'keystone'@'localhost'identifiedby'test01';>grantallprivilegesonkeystone.*to'keystone'@'%'identifiedby'test01'; #o
此文档下载收益归作者所有