Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Last active October 10, 2022 19:18
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save dominicsayers/3012172 to your computer and use it in GitHub Desktop.
Save dominicsayers/3012172 to your computer and use it in GitHub Desktop.
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
Copy link

bayyou commented Oct 11, 2013

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

@mikedevita
Copy link

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
Copy link

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
Copy link

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

@xybstone
Copy link

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
Copy link

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