Difference between revisions of "Testing with VMWare"

From LinuxMCE
Jump to: navigation, search
(What's next?: other OS-es should work too)
(What's next?)
Line 38: Line 38:
  
 
== What's next? ==
 
== What's next? ==
Now you can configure it with the web interface, even from the machine running the virtual machine. If you have done a core only install you'd want to enable the [[Web Orbiter]] first as well.
+
Now you can configure it with the web interface, even from the machine running the virtual machine (requires modification of LMCEs firewall rules first). If you have done a core only install you'd want to enable the [[Web Orbiter]] first as well.
Then you can add extra virtual machines that can boot on the "Host-only" network, as [[Media Director]]s, provided that you have dealt with VMWare's internal DHCP server.
+
Then you can add extra virtual machines that can boot on the "Host-only" network, as [[Media Directors]], provided that you have dealt with VMWare's internal DHCP server.
  
You can build up an entire network of virtual machines to test and experiment with LMCE and add machines running other operating systems as well.
+
You can build up an entire network of virtual machines to test and experiment with LMCE and add virtual machines running other operating systems as well
 +
 
 +
Or you could even reconfigure the network so that the second virtual network card is connected to a physical adapter and hook up real devices.  Another neat thing is that VMWare should be able to hook LMCE up directly with USB devices, but that has not been tested yet (at least not by me, [[User:Zaerc|Zaerc]]).
  
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]
 
[[Category: Testing]]
 
[[Category: Testing]]
 
[[Category: Hardware]]
 
[[Category: Hardware]]

Revision as of 16:01, 2 August 2007

If you have VMWare Workstation installed on your machine you can try LinuxMCE without the need for any additional hardware.

No need to burn CDs or anything either, we'll just use the images directly. Download them first, you can put them in your vmware directory so they are easier to find.

VMware Workstation

You can download VMware Workstation and try it 30 days for free, installing it and getting it to work however is beyond the scope of this document.

Getting started

First we need to set up a Virtual Machine for our core (or hybrid).

Create a new Virtual Machine

  1. Typical
  2. Linux
  3. Ubuntu
  4. <name> (use default or for example: LMCE-1.1B2 Core)
  5. <location> (a directroy on a drive with enough room)
  6. Use NAT (eth0 for outside line)
  7. Disk size: plenty (AKA. I don't know what you'll need, default should be good to get you started)

Configure the new Virtual Machine

  1. Edit virtual machine settings
  2. + Add
  3. Ethernet Adapter
  4. Host-only
  5. CDROM 1
  6. Use ISO Image
  7. The name and path of the Kubuntu installation CD image (*.iso) you downloaded earlier.

Kubuntu-7.04 i386

Just start the virtual machine and the install process should start, it might require a bit of patience depending on the hardware you're running VMWare on. Check the bios by pressing [F2] during boot if there is a problem booting from the ISO image. Follow the instructions on screen, install Kubuntu and reboot when done.

LinuxMCE-1.1 Beta2

Change the ISO used for the CDROM drive to the LMCE packages ISO. And follow the usual instructions. You'll probably have to switch once or twice again for the LMCE cache ISO. Set up eth0 with dhcp, and eth1 for the 192.168.80.1 internal network.

DHCP

To avoid conflict with vmware's internal DHCP server I just looked up it's Process Id and killed it, I'm looking for a nicer and more permanent way to do this, maybe reconfigure the network with vmware-config.pl or cripple the internal dhcpd in it's config file. It's the one running on vmnet1 usually.

What's next?

Now you can configure it with the web interface, even from the machine running the virtual machine (requires modification of LMCEs firewall rules first). If you have done a core only install you'd want to enable the Web Orbiter first as well. Then you can add extra virtual machines that can boot on the "Host-only" network, as Media Directors, provided that you have dealt with VMWare's internal DHCP server.

You can build up an entire network of virtual machines to test and experiment with LMCE and add virtual machines running other operating systems as well.

Or you could even reconfigure the network so that the second virtual network card is connected to a physical adapter and hook up real devices. Another neat thing is that VMWare should be able to hook LMCE up directly with USB devices, but that has not been tested yet (at least not by me, Zaerc).