Using VMWare Workstation

Facebooktwittergoogle_pluslinkedinmailFacebooktwittergoogle_pluslinkedinmail

In my last post we looked at the Virtual Box from Oracle. In this post we will look at using VMWare workstation to create a virtual machine running Windows Server 2008. The first thing you will need is the VMWare workstation software. You can obtain a trial copy from their download page. At the time of this posting I was using Workstation Version 8. There is also a VMWare Player with less capabilities than the workstation product, but for the purposes of this demo I will use VMWare Workstation.

To create a virtual machine the link “Create new Virtual Machine”

The Welcome to the New Virtual Machine Wizard pops up. Click next to continue

Keep the default selection of “I will install the operating system later”, then click next.

Ensure that Microsoft Windows is selected then from the drop down version list choose Server 2008, and click next.

On the Name Virtual Machine Dialog box, accept the default name and choose next. Note that you may choose the file location of the virtual machine. By default the virtual machine files are saved in a folder called Virtual Machines under your profile folder.

On the specify disk capacity dialog box, select “Store virtual disk as a single file. Then click next.

On the Ready to create virtual machine dialog box, you’ll get a summary of the settings selected during the wizard, you can customize hardware here, but for now just click Finish.

At this point you must provide the operating system CD that will be used to install Windows Server 2008. Click “CD/DVD” to provide the DVD or DVD iso file for Windows Server 2008.

If you where going to use a DVD, you would leave the default setting of auto detect on the right hand side of the dialog box. Because I will be using an ISO file downloaded from Microsoft, I will select the “Use ISO image file” selection.

Once the source DVD or ISO has been chosen, click OK

Notice how the summary now shows the selected ISO file. Click the power on this virtual machine green triangle.

You would now click inside the virtual machine window and click next to follow the installation routine like any other computer.

Using Virtual Box

Facebooktwittergoogle_pluslinkedinmailFacebooktwittergoogle_pluslinkedinmail

In my last post I introduced you to virtual machines. In this post I will show you how to set up Virtual Box from Oracle. You must first download the latest copy from www.virtualbox.org. Be sure to download the correct download for your particular type of machine. I will be performing the demo on Windows so thats the copy Im downloading.

Donwload link for Virtualbox

Once the download is complete run the installation program. After installation run the program from the start menu or desktop icon. You’ll get a menu like the one below:

On the upper left hand corner select the New button to create a new virtual machine. As you can see from the screen shot I arleady have three virtual machines that I can choose to run. When you click on the New botton the New Virtual machine wizard starts.

In this example I’ll be setting up this new virtual machine to run Server 2008. So I’l type Server 2008 for the name of the virtual machine. On the Version drop down list I selected Windows 2008. Then click next. You will get the Memory size dialog box. Virtual box will suggest appropriate amount of RAM to be dedicated to this virtual machine. The memory will be allocated to running the virtual machine on your computer
Click next to continue. The virtual hard disk dialog box will prompt you to create or use an existing virtual hard disk file. In this example will create a new virtual hard disk file. 
Click Create to continue
You will be prompted to decide what file type to use. This is because you with the second and third choices, you can take the file and use in other virtual machine programs like VMWare or Hyper-V. Select the default and click Next to continue.
In this dialog box you are prompted to choose Dynamically allocated or fixed size. Read the description above and choose the dynamically allocated. Click Next to continue.
In this dialog box, you are prompted for hard disk file name, and maximum hard disk file size. Accept the default of 25 and click Create to continue.
Your new virtual machine is created and ready to run. All that is left to do is configure the virtual machine to boot from a CD ISO file. A CD ISO file is what you would download from Microsoft or other OS vendor and use to burn a DVD. In this case you can use the ISO file directly in Virtual Box.  Highlight and click the new virtual machine then click settings on the menu
Select storage on the left column, then under storage click the empty IDE controller. Click the CD icon on the far right to choose the ISO file to boot the virtual machine with.
Select the ISO file and click open
The ISO file is selected. Click OK to close the dialog box.You are now ready to start the virual machine the will install Windows Server 2008 just like any other computer would. Click start on the menu bar
Your virtual machine starts from the ISO file. From here on the installation is standard. Just follow the on-screen prompts. Actual installation of the OS can be seen here

Using Virtual Machines

Facebooktwittergoogle_pluslinkedinmailFacebooktwittergoogle_pluslinkedinmail

Have you ever wanted to try out, or test another Operating System and did not want to attempt it on your computer because you where afraid to damage your existing setup? Or you did not want to have to buy a whole new computer just to play with? Enter Virtual machines.

What is a Virtual machine?
A Virtual machine is progam that lets you virtualize a computer. Virtual box is an example of Virtual machine software you can use to run Operating systems within your existing Operating system. For example, if you have Windows 7 on your computer, you can install Virtual Box, run it, and Install Server 2008 in the Virtual Box.

There are several makers of virtual machine software in the market. The most common maker is VMWare Inc. maker of VMWare Workstation and other virtual machine software packages such as vSphere. VMWare mostly focuses on Virtual machine software for IT datacenters, and is expensive. However there are other programs that you can download  that give all the funtionality without the cost. Examples are Virtual PC from Microsoft, and Virtual Box from Oracle. You can download Virtual Box from www.virtualbox.org, and it’s FREE!

Virtual Box running Windows Server 2008

The OS in the virtual box will funtion in the same way it would on a physical computer because the virtual machine software makes the OS believe it is a real machine. That means that with this virtual machine you can do all the same things you would do on a real computer. Saving files, running programs, surfing the web, checking email, the works!

What makes this solution so appealing, is that you do not need to tear apart your hard drive, by partitioning it or by adding another hard drive just to test other Operating systems. You simply install Virtual Box, run it, and install your Operating system in it. And once your done you simply delete the virtual machine and that’s the end of that. It would be like deleting a word document when you don’t need it anymore.

This was quite a revelation when I first heard about it. The idea that you can run a virtual pc within a pc, just blew my mind! And now, I use virtual machines everywhere. I have virtual machine software installed on just about all computers I have. It’s a great way to test software that you are not sure of. Let’s say a friend hands you a program he says is really cool, and you’re thinking, “Yeah right, like the last program you gave me that infected my computer for a week”. With the virtual machine, you could just install the program in the virtual machine. If it does have a problem, you can just delete the virtual machine along with the malware. And if you made a backup of the virtual machine before you tried your friends program on it, all you’d have to do is restore it from backup, and voila! Your VM(virtual machine) is back just like before. No harm, no faul.

Now, is that cool, or what!

I wanted to introduce you to the idea of virtualization on this post. I will be posting new material on each of the virtual machine packages with sample Operating Systems so you can follow along. So stay tuned!