单机openstack以及镜像制作.docx

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单机openstack以及镜像制作

基本工具安装gedit工具,方便之后的复制等工作,要是熟悉vi也可以不安装yum install gedit -y安装vncviewer。因为当时安装的时候选择最小桌面安装,所以没有自带的vnc工具,查看了完整的桌面安装,使用的是TigerVNCyum install tigervnc -y同样,之后需要制作镜像,所以镜像在U盘中,就需要安装ntfs格式支持yum install ntfs-3g假如不行,可尝试:1、下载rpmforge的rpm文件包32位系统[root@linuxsight linuxsight]#??wget /rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm64位系统[root@linuxsight linuxsight]#??wget /rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm2、安装rpmforge的rpm文件包[root@linuxsight linuxsight]#??rpm -ivh?rpmforge-release-0.5.2-1.el6.rf.i686.rpm(目录请对应,区分32和64,这里是32位)3、安装ntfs-3g参考:/a381243429/item/a6a218de222116??先配置网络:我的本机网路是0,最好是手动分配IP几种方式配置都可以1:sudo setup2:vi /etc/sysconfig/network-scripts/ifcfg-eth0;3:网络编辑器?运行?service network restart?进入主题:正式安装openstack:?sudo yum install -y?/rdo-release.rpm?sudo yum install -y openstack-packstack?在执行第三步之前,可以使用这个命令,用于产生answer-file,这样就可以按照自己的需要修改password等。packstack?--gen-answer-file?packstack --allinone?中间出现断网情况的话,新建terminal,直接sudo service network restart?中间假如安装失败:If you have run packstack previously, there will be a file in your home directory named something like packstack-answers153728.txt You will probably want to use that file again, using the --answer-file option, so that any passwords youve already set (eg, mysql) will be reused.?配置网络:1:删除所有的原有配置网络注意:需要保证NetworkManager已经关闭 service NetworkManager stop2:After completion, given a single machine with a current IP of 12/24 via DHCP with gateway of :Make /etc/sysconfig/network-scripts/ifcfg-br-ex resemble: (note this file shouldnt exist, but does due to a bug)DEVICE=br-exDEVICETYPE=ovsTYPE=OVSBridgeBOOTPROTO=staticIPADDR=12 # Old eth0 IP since we want the network restart to not kill the connection, otherwise pick something outside your dhcp rangeNETMASK= # your netmaskGATEWAY= # your gatewayDNS1= # your nameserverONBOOT=yes?3:Make /etc/sysconfig/network-scripts/ifcfg-eth0 resemble (no BOOTPROTO!):DEVICE=eth0HWADDR=52:54:00:92:05:AE # your hwaddrTYPE=OVSPortDEVICETYPE=ovsOVS_BRIDGE=br-ex

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档