Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Last active October 10, 2022 19:18
Show Gist options
  • 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
@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