Well the easiest way, by far, is to just download VMWare's Browser Appliance. You'll either need the retail version of VMWare or the free VMWare player.
Just create a folder in the Virtual Machines folder that VMWare creates, and unzip all the files for the Browser Appliance into it. Then run VMWare or the free VMWare Player, select open, and browse to the folder and open the appliance. Add it to your favorites list also so you can make this one click later.
The Browser Appliance is a VM (virtual Machine) that's a ready to go install of Ubuntu Linux with Firefox already installed. Just boot it and you're ready to browse.
I would recommend you create a snapshot after it boots the first time, before doing anything else. This is an image that is made of the VM that can be restored to instantly at any time. Make a snapshot now and you have an image of a clean, non infected install. What I would also recommend is that in the VM's settings you choose to "Restore to last snapshot on shutdown". What I do when I'm done with a session is instead of shutting down the VM normally, I press the "Power Off" button in VMWare which instantly turns off the VM. Next time you turn on that VM, it will go to the snapshot which takes you instantly back to the Ubuntu desktop exactly where you were when you took the snap shot - you won't have to wait for Ubuntu to boot each time (the same way Hibernation works). This also always restores you to a clean OS with nothing in it from any previous sessions.
VMWare has several free open source VMs on their website you can download - different versions of Linux and Free BSD, and other things.
To install a Windows OS in a VM you need to own a copy of Windows you can install. You also need the retail VMWare because the free player can't do new installs of OSes.
On my system I have several VMs:
- A Browser Appliance
- Two WinXP Pro "sandbox" installs (one is SP1 and the other is SP2) which are totally isolated from the host system for experimenting with dangerous stuff like viruses and malware.
- One each of Win98, WinME, Win2K Pro, Win2K Server, WinXP Home, Server 2003 Standard which I use for walking clients through problems on the phone, or to test settings.
- One Small Business Server 2003 and a WinXP Pro running SBS client on their own isolated network to emulate an SBS 2003 office.
The other nice thing about the newest version of VMWare is that you can instantly "clone" an existing VM. This used to be more difficult with earlier versions. Need 5 identical WinXP systems for testing? Set one up and clone it 4 times.
VMware creates VMs that are ULTRA hardware compatible so you won't have driver issues. Each VM you create emulates very standard hardware that any OS has built-in drivers for. Create a VM, boot it with your OS disc in the CD drive and let it install and detect all the hardware, then install VMWare's drivers which allows the VM to smoothly share all devices with your Host system (you just click a menu item and the VM suddenly sees a CD connected to it containing the VMWare drivers for that OS).
Depending on how much RAM you have (the big limiting factor) you can run several VMs at the same time, although more than a couple will have a noticeable effect on overall system performance. I never really need to run more than 2 at a time.
You also need a lot of free HDD space. Each VM needs at least 4Gb and as much as 6Gb. Each VM has a virtual hard drive that consists of several files, each VM is stored in it's own folder in a "My VMWare Machines" folder. On my system I have a seperate 80 Gb partition put aside just for the VMs.
If you want a good explanation and overview of VMware, Steve Gibson did a whole show on it on last week's Security Now Podcast (Episode 53). Worth listening to as a good intro to VMware.
http://www.grc.com/securitynow.htm
Episode 50 is also a good intro to the whole concept of Virtual Machines, and he's supposed to talk more about VMs next week.