Installing Virtualbox 4.3 on Ubuntu Server 13.10 64-bit
First install Virtualbox
- Add
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
to /etc/apt/sources.list wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install dkms unzip vim linux-headers-$(uname -r) build-essential virtualbox-4.3 -y
wget http://download.virtualbox.org/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack
Prepare the user which vboxweb-service use,you must create the user's home directory
sudo useradd -m -G vboxusers vbox
sudo passwd vbox
set the password of vbox and record it
Install apache,PHP and Other components
sudo apt-get install apache2 php5 libapache2-mod-php5 php-soap -y
sudo service apache2 restart
Install and config phpvirtualbox
wget 'http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-4.3-1.zip' -O phpvirtualbox.zip
sudo unzip phpvirtualbox.zip
sudo mv phpvirtualbox-4.3-1 /var/www/html/phpvirtualbox
sudo mv /var/www/html/phpvirtualbox/config.php-example /var/www/html/phpvirtualbox/config.php
sudo vi /var/www/html/phpvirtualbox/config.php
and make$username
and$password
match the user you created earlier
Config virtualbox webservice
sudo vi /etc/default/virtualbox
- Add
VBOXWEB_USER=vbox
sudo /etc/init.d/vboxweb-service start
- In a browser, go to
http://your-server/phpvirtualbox
and login with username 'admin' and password 'admin' (you can change it when login into phpvirtualbox)
Installing Virtualbox 4.3 on Ubuntu Server 13.10 64-bit