wezm.net/content/technical/2009/03/free-virtualisation-with-virtualbox.html
2010-03-15 07:33:10 +11:00

14 lines
No EOL
3.2 KiB
HTML

Virtualisation software has been around for a long time. This software allows you to host one or more guest operating systems on top of the one you're already running at near full speed. For example you could run Linux as a guest on Windows or OpenSolaris as a guest on Mac OS X. Some of the reasons you might wish to do this are:
<ul>
<li>Testing: Check a web application in browsers only available for particular operating systems.</li>
<li>Development: Create software for a different target operating system. E.g. You might be developing software for a Linux based device but use Windows on your desktop.</li>
<li>Security: You can run software in a restricted environment, separate from the host and have the ability to roll back to snapshots taken at a known-good point in time.</li>
<li>Convenience: Whilst it might be possible to install multiple operating systems on one host you must reboot to use each one. You can use multiple operating systems simultaneously with virtualisation.</li>
<li>Utilisation: You can take one server and turn it into several. You could run a Solaris database server, Linux webserver and Microsoft Exchange server all from the one (well specced) host.</li>
</ul><!--more-->There's quite a few different virtualisation software options out there but a relative newcomer is Sun Microsystems' <a href="http://www.virtualbox.org/">VirtualBox</a>. Originally developed by innotek it was acquired by Sun in February 2008. As well as being very capable in its own right VirtualBox is also free and open source.
VirtualBox runs on Mac OS X, Linux and Windows. It can host Windows, Linux, BSD, Solaris, OS/2 and probably many more guest OS's. It features a seamless windows feature for Linux and Windows guests to integrate the guest windows into the host, is extensively controllable and configurable from the command line and has a built in <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol"><abbr title="Remote Desktop Protocol ">RDP</abbr></a> server so you can access the GUI of a guest remotely amongst many other features. It also includes "additions" that you install in the guest to get better integration with the host. Currently there are additions for Linux, Windows, Solaris and OS/2.
<a href="/images/2009/03/picture-8.png"><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-8-300x254.png" alt="The VirtualBox Graphical User Interface" title="VirtualBox GUI" width="300" height="254" class="alignleft size-medium wp-image-8" /></a><a href="/images/2009/03/picture-9.png"><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-9-300x196.png" alt="VirtualBox running a Debian GNU/Linux guest on Mac OS X" title="VirtualBox Debian Guest" width="300" height="196" class="alignright size-medium wp-image-9" /></a><p style="clear: both;">One particularly nifty feature if you're on a Windows PC without Administrator privileges is VirtualBox will install and run as an unprivileged user. This means if you're forced to use Windows at work you might be able to install Linux via VirtualBox and become a bit more productive.</p>
In some future posts I plan to cover some ways you can put VirtualBox to use. The first of these will cover setting up a Linux guest to mirror the deployment environment of a web application.