0 GP
XenServer 安裝 Web控制介面 Xen Orchestra
作者:Vagrant│2017-10-12 12:09:10│巴幣:0│人氣:623
以下是社群版,嫌麻煩的話可以下載原廠做好的FREE VM檔匯入
,當然一堆功能被鎖就是了,當然也可以每月付70鎂以上,使用付費版
1.安裝一個乾淨的CentOS 7後安裝套件
yum -y install epel-release libpng-devel |
2.安裝GCC
yum group install "Development Tools" -y
|
3.安裝redis
yum -y install redis systemctl enable redis systemctl start redis |
4.安裝nodejs
5.安裝yarn
wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo yum install -y yarn
|
6.更新系統
7.下載Xen Orchestra
git clone -b stable http://github.com/vatesfr/xo-server git clone -b stable http://github.com/vatesfr/xo-web mv xo-server /opt/ mv xo-web /opt/
|
8.安裝xo-server
cd /opt/xo-server
yarn
cp sample.config.yaml .xo-server.yaml |
9.修改.xo-server.yaml
mounts:
'/': '/opt/xo-web/dist/' <---取消註解並修改 10.安裝xo-web
cd /opt/xo-web yarn install && yarn build
|
11.設定防火牆給Http通過
firewall-cmd --zone=public --add-service=http --permanent firewall-cmd --reload |
12.啟動xo-server
cd /opt/xo-server yarn start
|
若要開機自啟動,請作下列動作
13.安裝forever套件
14.啟用自啟動文件
systemctl enable rc-local |
15.修改rc.local文件
最後一行加入
cd /opt/xo-server && forever start bin/xo-server |
16.重開機
以上是安裝了2X次後總算成功的步驟
但是WEB鍵盤輸入還是有問題....(XenServer更新後就正常了)
引用網址:https://home.gamer.com.tw/TrackBack.php?sn=3752717
All rights reserved. 版權所有,保留一切權利