Remotebox桌面遠端管理virtualbox虛擬機器(Windows版)

weixin_33727510發表於2017-10-31

remotebox很強大,即使伺服器沒有安裝桌面版,也可以通過影像介面管理伺服器上的virtualbox虛擬機器。

下面介紹windows下remotebox的安裝和配置

linux安裝virtualbox略。。。

1、服務端配置

開啟VirtualBox Web服務

首先,在/etc/default/virtualbox處,為Web服務建立一個配置檔案

vi /etc/default/virtualbox

VBOXWEB_USER="vbox"

VBOXWEB_TIMEOUT=0

VBOXWEB_LOGFILE="/var/log/vboxwebservice.log"

VBOXWEB_HOST="10.0.0.121"

說明:VBOXWEB_USER設定伺服器登陸的使用者名稱

VBOXWEB_HOST設定伺服器的ip

service vboxweb-service start

Checking for VBox Web Service ...running

service vboxweb-service status

啟動和檢查服務是否正常啟動

netstat -nap | grep vboxwebsrv

檢查監聽埠是否是18083

2、客戶端安裝與配置

remotebox客戶端安裝

以下以windows為例,其他平臺請參考官方網站:http://remotebox.knobgoblin.org.uk/installwindows.cgi

1、下載32位版strawberryperl perl,下載地址:http://strawberryperl.com/(必須是32位的)

2、預設安裝,預設路徑:C:\Strawberry

3、開啟命令列介面,執行以下命令

ppm set repository sisyphusionhttp://sisyphusion.tk/ppm

ppm set save

ppm install Glib Cairo Pango Gtk2

4、下載remotebox,地址http://remotebox.knobgoblin.org.uk/downloads.cgi

5、將RemoteBox-x.y.tar.gz檔案解壓,並將解壓資料夾更名為RemoteBox ,然後拷貝到C:\Program Files (x86)下

6、進入目錄C:\Strawberry\perl\bin,找到檔案wperl.exe,右鍵建立快捷方式,重新命名快捷方式為RemoteBox

7、右鍵快捷方式,選擇屬性,將目標的值修改為:C:\Strawberry\perl\bin\wperl.exe "C:\Program Files (x86)\RemoteBox\remotebox",包括引號

8、雙擊快捷方式就可以開啟remotebox啦!!!

下一步就開始連線伺服器了

點選connect,填寫伺服器資訊

url:http://伺服器ip:18083

username:伺服器登陸使用者名稱(用root使用者可能會有許可權問題)

password:伺服器登陸密碼

10、點選connect,接下來就大功告成

下面就可以操作伺服器虛擬機器了

需要注意的是,如果想看到遠端虛擬機器桌面,需要開啟一下設定

選中虛擬機器=》設定=》display=>remote display=>勾選 enable RDP

如果要建立虛擬機器,選中iso檔案時,需要先設定iso檔案位置

file=>virtual media manager=>add hard disk=>optical discs=>點選 add optical disk新增映象檔案

相關文章