下面介紹windows下remotebox的安裝和配置
linux安裝virtualbox略。。。
vi /etc/default/virtualbox
VBOXWEB_USER=”vbox”
VBOXWEB_TIMEOUT=0
VBOXWEB_LOGFILE=”/var/log/vboxwebservice.log”
VBOXWEB_HOST=”10.0.0.121″
說明:VBOXWEB_USER設(shè)置服務(wù)器登陸的用戶名
VBOXWEB_HOST設(shè)置服務(wù)器的ip
service vboxweb-service start
Checking for VBox Web Service …running
service vboxweb-service status
啟動和檢查服務(wù)是否正常啟動
netstat -nap | grep vboxwebsrv
檢查監(jiān)聽端口是否是18083
以下以windows為例,其他平臺請參考官方網(wǎng)站:http://remotebox.knobgoblin.org.uk/installwindows.cgi
1、下載32位版strawberryperl perl,下載地址:http://strawberryperl.com/(必須是32位的)
2、默認(rèn)安裝,默認(rèn)路徑: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,右鍵創(chuàng)建快捷方式,重命名快捷方式為RemoteBox
7、右鍵快捷方式,選擇屬性,將目標(biāo)的值修改為:C:\Strawberry\perl\bin\wperl.exe “C:\Program Files (x86)\RemoteBox\remotebox”,包括引號
8、雙擊快捷方式就可以打開remotebox啦?。。?/p>
下一步就開始連接服務(wù)器了
點擊connect,填寫服務(wù)器信息
username:服務(wù)器登陸用戶名(用root用戶可能會有權(quán)限問題)
password:服務(wù)器登陸密碼
10、點擊connect,接下來就大功告成
下面就可以操作服務(wù)器虛擬機了
需要注意的是,如果想看到遠程虛擬機桌面,需要開啟一下設(shè)置
選中虛擬機=》設(shè)置=》display=>remote display=>勾選 enable RDP
如果要創(chuàng)建虛擬機,選中iso文件時,需要先設(shè)置iso文件位置
file=>virtual media manager=>add hard disk=>optical discs=>點擊 add optical disk添加鏡像文件