phpVirtualBox
Posted: Sun Apr 05, 2015 12:38 am
after many years try to get phpvirtualbox working on my server, I finally I got this working this weekend, so now the time to create the one-click install for it, I have made a start with this, I have got the phpvirtualbox install but before that I have manually install virtualbox on the server first by
wget http://download.virtualbox.org/virtualb ... x86_64.rpm
sudo yum install VirtualBox-4.3-4.3.2_90405_fedora18-1.x86_64.rpm
I will create a package for this next, then install the phpvirtualbox once that is done you need to create a user
create a user : vbox
password : pass
this user don't need admin rights
after that you need to start the server
/usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null?
now it should work log on by using admin and the password is admin
I have found that the remote desktop is gray out and I need to install the Oracle_VM_VirtualBox_Extension_Pack for this option to work
so I found out how to install this look at this webpage
http://www.unixmen.com/install-oracle-v ... ss-server/
wget http://download.virtualbox.org/virtualb ... ox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
I have run this on my server and got the following error
[root@localhost ~]# wget http://download.virtualbox.org/virtualb ... ox-extpack
--2015-04-05 07:39:14-- http://download.virtualbox.org/virtualb ... ox-extpack
Resolving download.virtualbox.org (download.virtualbox.org)... 137.254.120.26
Connecting to download.virtualbox.org (download.virtualbox.org)|137.254.120.26|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc-cdn.sun.com/virtualbox/4.3.1 ... ox-extpack [following]
--2015-04-05 07:39:14-- http://dlc-cdn.sun.com/virtualbox/4.3.1 ... ox-extpack
Resolving dlc-cdn.sun.com (dlc-cdn.sun.com)... 213.104.143.184, 213.104.143.193
Connecting to dlc-cdn.sun.com (dlc-cdn.sun.com)|213.104.143.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10441011 (10.0M) [application/x-virtualbox-vbox-extpack]
Saving to: ‘Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack’
100%[======================================>] 10,441,011 506KB/s in 20s
2015-04-05 07:39:35 (507 KB/s) - ‘Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack’ saved [10441011/10441011]
# sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.5-201.fc19.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
after that I run the
# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
then I have checked phpvirtualbox and the remote desktop it now working
I am very please with it but am a bit stuck now
wget http://download.virtualbox.org/virtualb ... x86_64.rpm
sudo yum install VirtualBox-4.3-4.3.2_90405_fedora18-1.x86_64.rpm
I will create a package for this next, then install the phpvirtualbox once that is done you need to create a user
create a user : vbox
password : pass
this user don't need admin rights
after that you need to start the server
/usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null?
now it should work log on by using admin and the password is admin
I have found that the remote desktop is gray out and I need to install the Oracle_VM_VirtualBox_Extension_Pack for this option to work
so I found out how to install this look at this webpage
http://www.unixmen.com/install-oracle-v ... ss-server/
wget http://download.virtualbox.org/virtualb ... ox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
I have run this on my server and got the following error
[root@localhost ~]# wget http://download.virtualbox.org/virtualb ... ox-extpack
--2015-04-05 07:39:14-- http://download.virtualbox.org/virtualb ... ox-extpack
Resolving download.virtualbox.org (download.virtualbox.org)... 137.254.120.26
Connecting to download.virtualbox.org (download.virtualbox.org)|137.254.120.26|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc-cdn.sun.com/virtualbox/4.3.1 ... ox-extpack [following]
--2015-04-05 07:39:14-- http://dlc-cdn.sun.com/virtualbox/4.3.1 ... ox-extpack
Resolving dlc-cdn.sun.com (dlc-cdn.sun.com)... 213.104.143.184, 213.104.143.193
Connecting to dlc-cdn.sun.com (dlc-cdn.sun.com)|213.104.143.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10441011 (10.0M) [application/x-virtualbox-vbox-extpack]
Saving to: ‘Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack’
100%[======================================>] 10,441,011 506KB/s in 20s
2015-04-05 07:39:35 (507 KB/s) - ‘Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack’ saved [10441011/10441011]
# sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.5-201.fc19.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
after that I run the
# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
then I have checked phpvirtualbox and the remote desktop it now working
I am very please with it but am a bit stuck now