Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Virtualbox 4.3 on Ubuntu Server 13.10 64-bit

First install Virtualbox

  1. sudo pico /etc/apt/sources.list.d/virtualbox.list
  2. Add deb http://download.virtualbox.org/virtualbox/debian saucy contrib non-free
  3. wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
  4. sudo apt-get update
  5. sudo apt-get install dkms unzip
  6. sudo apt-get install virtualbox-4.3 --no-install-recommends
  7. wget http://download.virtualbox.org/virtualbox/4.3.6/Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
  8. sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack

Now to install phpVirtualbox

  1. sudo apt-get install apache2 php5 libapache2-mod-php5
  2. sudo service apache2 restart
  3. sudo adduser --ingroup vboxusers vbox and enter a password
  4. wget 'http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-4.3-1.zip' -O phpvirtualbox.zip
  5. sudo unzip phpvirtualbox.zip -d /var/www
  6. cd /var/www/phpvirtualbox-4.3-1
  7. sudo mv config.php-example config.php
  8. sudo pico config.php and make $username and $password match the user you created earlier
  9. Also add this line to disable phpVirtualbox's authentication var $noAuth = true;
  10. sudo pico /etc/default/virtualbox
  11. Add VBOXWEB_USER=vbox
  12. sudo /etc/init.d/vboxweb-service start
  13. In a browser, go to http://your-server/phpvirtualbox-4.3-1
@bayyou

This comment has been minimized.

bayyou commented Oct 11, 2013

Thanks for the tutorial, this is what i'm looking for.

@mikedevita

This comment has been minimized.

mikedevita commented Nov 14, 2013

i forked your gist and updated it for VBox 4.3.2, Ubuntu 13.10_x64, and phpvirtualbox 4.3.0...

https://gist.github.com/mikedevita/7461832

@XenGi

This comment has been minimized.

XenGi commented Apr 10, 2014

doesn't work with virtualbox 4.3.10 and phpvirtualbox 4.3-1. The php site can't connect.

@pihomeserver

This comment has been minimized.

pihomeserver commented Apr 16, 2014

Same here : Could not connect to host (http://127.0.0.1:18083/)

@xybstone

This comment has been minimized.

xybstone commented May 8, 2014

I done it fine,
you need to change conf
cd /etc/apache2/sites-available
sudo vim 000-default.conf

changed DocumentRoot to /var/www

@yoke88

This comment has been minimized.

yoke88 commented Aug 19, 2014

Thanks, I forked your git and updated it for VBox 4.3.14, Ubuntu 13.10_x64, and phpvirtualbox 4.3.1

https://gist.github.com/yoke88/78190250c83c9273e000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment