- 1、本文档共11页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
openstack-havana安装记录
0:基本架构控制节点(controller node)主机名配置:openstack-h1/etc/hosts : HOSTNAME=openstack-h1/etc/sysconfig/network: localhost localhost.localdomain localhost4 localhost4.localdomain4 openstack-h1 11 openstack-h1计算节点(compute node)网络节点(net node)准备工作,在每个节点上执行:#关闭防火墙service iptables stop#关闭selinuxvi /etc/selinux/configSELINUX=disabled1:ntp时钟服务器1.1安装ntpserver,并设置控制节点:[root@localhost ~]# rpm –qa |grep ntp #一般系统都已安装[root@localhost ~]# yum install ntp #若未安装则安装[root@localhost ~]# vi /etc/ntp.conf #编辑ntp服务器配置文件driftfile /var/lib/ntp/driftrestrict default kod nomodify notrap nopeer noqueryrestrict -6 default kod nomodify notrap nopeer noqueryrestrict restrict -6 ::1#server 0.#server 1.#server 2.server # local clockfudge stratum 0 includefile /etc/ntp/crypto/pwkeys /etc/ntp/keys[root@localhost ~]# service ntpd restart #重启ntpd服务[root@localhost ~]# chkconfig ntpd on #开机启动[root@localhost ~]# ntpstat #查看ntp服务器的状态,等到状态为syc...时为表示可以使用Other node:[root@localhost ~]# service ntpd stop #关闭ntp服务器[root@localhost ~]# chkconfig ntpd off #开机关闭[root@localhost ~]# ntpdate 11 #与服务器同步在出现时间格式不一致时(有的格式为CST有的为EST),可以这样设置:cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ,统一为CST[root@localhost ~]# hwclock –w #将系统时钟写进硬件时钟vi /etc/cron.daily/ntpdate #设置每日任务中,增加一个同步时钟的任务ntpdate 11hwclock -w2:mysql数据库2.1 数据库组件安装控制节点:[root@localhost ~]# yum install -y mysql mysql-server MySQL-Python #安装mysql客户端、服务器、python插件[root@localhost ~]# vi /etc/f#修改mysql服务器的配置文件,允许外部客户端连接服务器# Instead of skip-networking the default is now to listen only on# localhost which is more compatible and is not less secure.bind-address = 11[root@localhost ~]# service mysqld start[root@localhost ~]# chkconfig mysqld onOther node:[root@localhost ~]# yum install –y mysql mysql-server MySQL-Python #安装mysql客户端、python插件2.2 数据库初始设置控制节点:Mysql默认有个root用户,没有密码,所有首先要为root用户设置密码[root@localhost ~]# mysqladmin -u root password 1234563 :openstack工具包安装3.1配置yum源, Each Node[root@localhost ~]# yum install –y /repos/o
您可能关注的文档
- 英语26个字母发音规则.doc
- 信令名词解释.docx
- 预测作文12.doc
- 英语四六级的写作实例看背.doc
- 综英九单元word study.doc
- 四级考试听力文本2016年6月.docx
- Toeic阅读部分真题.doc
- 源代码分析(Modbus通讯协议)和通讯原理分析档.doc
- 海门市2012-2013学年度第一学期期末质量调研7年级英语.doc
- 2015-2016学年上学期期中联考英语科试卷.doc
- 10《那一年,面包飘香》教案.docx
- 13 花钟 教学设计-2023-2024学年三年级下册语文统编版.docx
- 2024-2025学年中职学校心理健康教育与霸凌预防的设计.docx
- 2024-2025学年中职生反思与行动的反霸凌教学设计.docx
- 2023-2024学年人教版小学数学一年级上册5.docx
- 4.1.1 线段、射线、直线 教学设计 2024-2025学年北师大版七年级数学上册.docx
- 川教版(2024)三年级上册 2.2在线导航选路线 教案.docx
- Unit 8 Dolls (教学设计)-2024-2025学年译林版(三起)英语四年级上册.docx
- 高一上学期体育与健康人教版 “贪吃蛇”耐久跑 教案.docx
- 第1课时 亿以内数的认识(教学设计)-2024-2025学年四年级上册数学人教版.docx
文档评论(0)