File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Running linux(CentOS) as virtual server on Windows 2003 server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Running linux(CentOS) as virtual server on Windows 2003 server?" Watch "Running linux(CentOS) as virtual server on Windows 2003 server?" New topic
Author

Running linux(CentOS) as virtual server on Windows 2003 server?

Manoj Maniraj
Ranch Hand

Joined: Mar 25, 2009
Posts: 38
Hi,

Can anybody tell how to install CentOS as a virtual server on windows 2003 server?

Thanks in advance..


http://manojmaniraj.blogspot.com
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

1) get (free) vmware player from vmware.com
2) get basic vmx files from easyvmx.com, remembering to mount your local CD-rom in the virtual settings
3) start the empty VM in the player, and install CentOS from the CD/DVD
4) profit
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

You could also have a look at VirtualBox instead of VMWare - it's free and easy to use.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I run VirtualBox, but the networking is not as easy or mature as VMWare Player, so if you're trying for a virtual server then the VMWare option may be easier.
Manoj Maniraj
Ranch Hand

Joined: Mar 25, 2009
Posts: 38
Thank you guys.

Which is best?

Installing linux as a virtual server in Windows 2003 server
(OR)
Installing Windows 2003 server as a virtual server in Linux.

I heard that installing linux as a virtual server in Windows 2003 server is quite difficult will face problems like network etc.

Your thoughts..



David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I can say with some confidence that I have no idea.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

VMWare has a rather confusing list of products, but I think the one you want here is VMWare Server - it will allow you to run the VMs without having to manually start them up.

Networking in VMWare comes in 3 flavors:

1. VM guest has a discrete external IP address

2. VM guest appears to have the same IP address as the vm host, courtesy of NAT/DHCP

3. VM guest is networked via a private virtual LAN segment that's only visible between host and guest (hostonly)

The actual networking is done via a virtual NIC to a virtual subnet. You can define multiple virtual NICs in a VM guest. I have one that uses both host-only and DHCP NICs, as an example.

There's a separate GUI VMWare tool to configure these subnets when configuring a Windows host. As originally installed, I believe vmnet1 and vmnet8 are pre-configured.

To install CentOS, create a blank VM image with about 5GB for the system disk and at least 256MB virtual RAM. Select "Red Hat Enterprise" as the guest OS in the VM configurator. Make sure you have the CD/DVD device configured if booting from media or set up a kickstart server in the usual way. Once the basic "cold iron" VM is prepped, boot it as though it was a physical machine and run the CentOS install process.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Manoj Maniraj wrote:
Which is best?


Depends entirely on what you want to accomplish.


[Jess in Action][AskingGoodQuestions]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

I have VMWare Server 2 running on my desktop (Vista Ultimate 64-bit) and have installed various flavors of *nix (Fedora, Ubuntu, SUSE, OpenSolaris) and have not had any networking issues. However, VMWare gives you three networking options and at times you have to try each of them to see which one works. And in some cased you need to goggle for help (OpenSolaris required some very creative steps to convince it to use the DNS). In all fairness, I even have to juggle the networking options to host different flavors of Windows.

Which OS you run as the host OS should be entirely based on which OS you are more familiar or comfortable with.


JBoss In Action
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

David O'Meara wrote:I run VirtualBox, but the networking is not as easy or mature as VMWare Player, so if you're trying for a virtual server then the VMWare option may be easier.

I don't know if Manoj has any special needs with regards to networking, but I have VirtualBox running on 64-bit Ubuntu 8.04, running several Linux distro's and Windows XP in virtual boxes, and networking just works with the default settings in all of the guest OSes, without needing to do any special configuration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running linux(CentOS) as virtual server on Windows 2003 server?