温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

OVM虚拟化平台安装成功后如何配置

发布时间:2021-11-16 11:01:15 来源:亿速云 阅读:228 作者:小新 栏目:云计算

这篇文章主要为大家展示了“OVM虚拟化平台安装成功后如何配置”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“OVM虚拟化平台安装成功后如何配置”这篇文章吧。

平台配置方法

1、自动化配置

在/opt/esage/config/esage.properties这个路径文件 里含有

192.168.0.125的位置需要修改,修成了本地实际IP.

[root@localhost ~]# cat /opt/esage/config/esage.properties
[datacenter]
esage.database.host = 127.0.0.1
esage.rabbitmq.username = guest
esage.rabbitmq.host = 127.0.0.1
esage.appstore.templateLocation = 192.168.0.125:/vmimage
esage.appstore.localtemplatePath = /opt/templatelibrary/
esage.rabbitmq.password = guest
esage.datacenter.id = Default
esage.rabbitmq.port = 5672
esage.redis.host = 127.0.0.1
esage.redis.port = 6379
esage.event.identity = m_user
esage.platform.api.location = http://192.168.0.125:8009/api
esage.event.credential = m_password

[platform]
esage.platform.sessionTimeout = 60
esage.database.user = esage
esage.database.password = esage_2020@
esage.database.host = 127.0.0.1
esage.platform.mail.server = 127.0.0.1
esage.platform.mail.user = ovm_sf@51ovm.com
esage.platform.mail.password = none
esage.auth.module = esage
esage.rabbitmq.username = guest
esage.rabbitmq.password = guest
esage.rabbitmq.port = 5672
esage.redis.host = 127.0.0.1
esage.redis.port = 6379
esage.platform.api.location = http://192.168.0.125:8009/api
esage.rabbitmq.host = 127.0.0.1


2、如果自动化配置没有生效,需要手工配置:

ovm-UI配置文件的路径为:

在/var/www/html/ui/index.html这个路径文件里,含有192.168.0.125的位置需要全部修改成本地IP地址。


[root@localhost ~]# cat /var/www/html/ui/index.html
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title></title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link rel="stylesheet" href="./styles/fonts.css"/>
  <!--<link rel="stylesheet" href="./styles/react-select.css"/>-->
</head>
<body>
<!--[if lt IE 8]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
  your browser</a> to improve your experience.</p>
<![endif]-->
<div id="content">
</div>
<script>
  __REACT_DEVTOOLS_GLOBAL_HOOK__ = parent.__REACT_DEVTOOLS_GLOBAL_HOOK__
</script>
<script>
  const global_uploadHost = 'http://192.168.0.125:8009';
  const global_host = 'http://192.168.0.125/api';
</script>
  <script type="text/javascript" src="assets/vendor.js"></script>
  <script type="text/javascript" src="assets/main.js"></script>
</body>
</html>
[root@localhost ~]#

修改完配置文件后重启一下两个服务

[root@localhost ~]# systemctl restart esage-tomcat.service
[root@localhost ~]# systemctl restart httpd.service

此时,可以重新打开登陆页面,进行登陆!

以上是“OVM虚拟化平台安装成功后如何配置”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI