本文涉及到代码复制,粘贴。优快云中会复制多余信息导致出错,选择删除多余信息,或者去我的Blog添加配置
https://julur.github.io/
一、分别在在controller和computer中安装xiandian
在Controller终端内右键粘贴以下内容
yum install iaas-xiandian -y

在Computer终端内右键粘贴以下内容
yum install iaas-xiandian -y

提示安装完成
二、分别在controller和computer中进行如下操作!!
意思就是操作完Controller,再回到二、这里操作Computer
在Controller终端内右键粘贴以下命令
vi /etc/xiandian/openrc.sh
==进去之后不要输入a或i编辑 ,输入ggVG(区分好大小写),看到全选之后。输入d,删除所有配置
复制下面所有配置去粘贴 ==
##--------------------system Config--------------------##
##Controller Server Manager IP. example:x.x.x.x
HOST_IP=192.168.100.10
##Controller Server hostname. example:controller
HOST_NAME=controller
##Compute Node Manager IP. example:x.x.x.x
HOST_IP_NODE=192.168.100.20
##Compute Node hostname. example:compute
HOST_NAME_NODE=computer
##--------------------Rabbit Config ------------------##
##user for rabbit. example:openstack
RABBIT_USER=openstack
##Password for rabbit

本文详细介绍了如何在虚拟机上的Controller和Computer节点安装云平台的主配置。首先,分别在两个节点安装xiandian,然后执行特定的终端命令进行配置操作。在Controller中删除所有配置后,将新配置粘贴并保存。安装完成后,须在Computer节点继续相同步骤。这是系列教程的第六部分,后续将进行云平台服务组件的安装。
最低0.47元/天 解锁文章
3252





