Posted by Dave in
Computing
Thursday, September 6. 2007
I had an opportunity to test out VirtualBox on a server at work with Fedora Core 6. Due to a hardrive crash our sales system was unable to send pricing to the website.
Whilst trying to build the system from backups I came across problems due to missing libraries which I couldn't resolve using various compatible libraries which I needed for a custom Apache build. I was already aware of VirtualBox and went to check out their website and saw they had a new release 1.5. So I promptly installed it on my newly built Fedore Core 6 server. This concept isn't new.
VMWare Inc. have been offering virtualisation products for quite some time now and are really mature products. However VMWare offer premium products and not suited for casual users.
VirtualBox on the other hand is available as a free product and also an open source community edition.
There are only a few steps to be aware of before installing or running VirtualBox. First up is making sure you have gcc and the kernel sources available. So a quick
yum install gcc and
yum install kernel-devel sorted this out so VirtualBox could do a custom kernel module.
Once installed a nice entry in KDE and GNOME's menus is created. The final step is making sure that users that need to create a VirtualBox guest system need to be added to the vboxusers group.
So the next step is to fireup the nice VirtualBox GUI and setup a new guest operating system. This is as simple as telling it how much hardrive space you want to give to it as the guest's harddrive, how much system memory you want to give. Obviously here the more memory in your computer (the host) the better. You can even specifiy the video graphics memory. Various other options are available like floppy drive access, USB devices, audio devices and DVD/CD players.
Once you have setup your guest operating system's virtual computer you can go about the business of installing your operating system. I chose to do a internet install of Fedora Core 3, due to it being compatible for the server software I needed. Also internet installs really show off the flexibility of Linux. I downloaded a small boot ISO cd image to get things going.
The next step is to boot up the cd image. In VirtualBox you can just attach the image to the cd then start the new virtual system which then boots the cd image. The fun part of this is then watching the install process in a window of your current (host) operating system. You can just install your operating system as you would normally do and leave it in the background whilst you get on with other things. Then hopefully when the operating is installed you can boot it up in a window and use it like a normal computer. You can also tell it to go to full screen if you need to.
Unfortunately in the end I didn't need it as I managed to get hold of the correct files I needed to use my main Fedora Core 6 server without virtualisation.