Tag: virtualbox

By Christopher P Wakefield

64px-Virtualbox_logoHow do you manage virtual machines over a network using Oracle Virtualbox? I have been asked this a couple of times recently and today I will show you how. Most of my tutorials on Virtualbox have been along the lines of installing the software onto a system and managing the virtual machines on that system in person. This works well if you have a couple of virtual desktop machines but when you have quite a few servers involved going between each server to carry out maintenance becomes very tedious.

This is where you need a piece of software called phpvirtualbox. Phpvirtualbox is an open source web based front end for Virtualbox which allows you to manage all of your virtual machines over the internet.

linux-mint-logo-128x128So lets take a look at how we set this up. For the basis of this tutorial I will be using Linux Mint 12 and Virtualbox 4.1.4.

We first need to download and install the current version of Virtualbox from the Virtualbox website.

Once installed we need to add a user who will run Virtualbox. Open up a terminal as root and type:

adduser vbox

When asked supply a user password. Next we have to add the vbox user to the vboxusers group in the /etc/group file. So type (as root):

gedit /etc/group

Add vboxusers:x:113:vbox to the file and save.

Once we have finished with Virtualbox it is time to set up our web server. Since this is Linux we will be using Apache. Open up a terminal and install the following packages:





During the install process MySQL will ask you for a root password. Make this something complex but do not forget it!!!

Once installed open up a web browser and type your server address into the address bar and you will see the message IT WORKS! This means that you have a working web server.

Now we need to download, install and configure phpvirtualbox. The current release can be downloaded from the phpvirtualbox website.

I am assuming your downloads go to your Download folder. If not replace Downloads with the location that the file was downloaded to. Open up a terminal and type the following commands one at a time:

cd Downloads

cp -a phpvirtualbox-4.1.7 /var/www/phpvirtualbox

cd /var/www/phpvirtualbox

mv config.php-example config.php

It is now time to configure the config.php file so type:

sudo gedit config.php



* phpVirtualBox example configuration.

* [@version] $Id: config.php-example 366 2011-12-01 19:56:57Z


* rename to config.php and edit as needed.



class phpVBoxConfig {

/* Username / Password for system user that runs VirtualBox */

var $username = ‘vbox’;

var $password = ‘*********’;

/* SOAP URL of vboxwebsrv (not phpVirtualBox’s URL) */

var $location = []

/* Default language. See languages folder for more language options.

* Can also be changed in File -> Preferences -> Language in

* phpVirtualBox.


var $language = ‘en’;


Locate the username and password (BOLD above) and change the password to the one you created earlier. Once done save and exit.

Now we need to make sure that Virtualbox can start at boot time and that means configuring init scripts. Open up a terminal and type:

cd /etc/init.d

and then:

sudo touch /etc/init.d/vbox.start

Now we need to configure the file so type:

sudo gedit /etc/init.d/vbox.start

Copy /usr/bin/vboxwebsrv -b into the file. Save and exit.

That is Virtualbox configured to start at boot time but we now have to enable it so type:

chmod +x /etc/init.d/vbox.start

followed by:

update-rc.d vbox.start defaults

Now it is time to reboot the server. Once it has rebooted go to a web browser and point it to your server address/phpvirtaulbox

You will now be able to manage all the virtual machines on the network from the comfort of your own chair.

Hi I am Chris the owner of ComTech. I provide IT support to both personal and business clients from my base in Alloa, Clackmannanshire. For a list of what I can offer you why not visit my website www.comtech247.net where you will find my blog, testimonials, services and much more. Start supporting a local business today so I can start supporting you.

Tags: , , , , , , ,

Three Reasons To Use Linux For Home Use

By Anand V Parekh

Back in pre Ubuntu days, using Linux for personal use was somewhat like a hobby for computer programmers or the very geeky.

Not anymore. With the release of Ubuntu, a broader user base started using Linux and not just because it was released as a free OS meant for all.

Here are three reasons to use Linux for your home use:

1. Low hardware requirements: One doesn’t need the latest computer to use Linux. If your only reason to use computers is to surf the internet, check emails, make office documents and play lightweight games like Windows soltaire, older computers running Linux will do just fine. If you have some old spare PCs lying around, they can be configured as something cool like a gateway or a FTP server for home office (if there is lots of disk space) by running Linux.

2. Less dependent on tech support : As surprising as it sounds, using Linux means not relying too much on a phone call to some remote location to fix your problems. This is a great learning ground for the tinkering types with many internet forums offering free and high quality help for all sorts of Linux problems. This is because Linux is open source and so you don’t really have to rely upon a single company for your needs.

3. Awesome security: To be fair, Windows 7 has greatly improved upon user as well as system wide security. Linux on the other hand being open source can be configured in any way to make it secure – total freedom to use. There are no setup wizards for most part when configuring Linux security but in return you get solid granular security by editing various configuration files and fine tuning your system.

So does this mean you should completely dump Windows in favor of Linux? Of course not, either dual boot and use both the OSes or run a virtualization program like VMWare or VirtualBox to experience the best of both the worlds. This will be useful when you need to run native Windows applications as well as switch over to Linux when not needed. Most of the commonly used Windows applications like Office and Outlook have their Linux counterparts in OpenOffice, Thunderbird etc.

Either way, don’t miss out on experiencing Linux. Start with the widely used desktop OSes like Ubuntu or Linux Mint and see if it really proves useful for your computing needs, you may be pleasantly surprised.

The author is a tech enthusiast, systems administrator and a computer geek who got his first computer back in 1994 and fell in love with it. He blogs at ihaveapc.com regarding various stuff related to Windows and Linux.

Tags: , , ,
Back to top