您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“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虛擬化平臺安裝成功后如何配置”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。