Navigation

Document

Introduction
Install
Configuration
Installing SME
Testing Connectivity
Testing Updates
Links
Tips & Tricks
Why Qemu?
Install Qemu and associated software on WinXP
Configure your system to use Qemu
Install SME Server on your virtual host
Test your connectivity to make sure you can work with SME Server
How to use Qemu to test SME updates
More information about Qemu


Installing SME

Updated 05Sep2005 - RonM

Note: I'm going to assume, here, that everyone has their old SME install CDs, and install into Qemu from them. Having the iso on your host hard disk works fine, however, you don't need to burn a new CD to install the OS. This example will be for SME 6.

Create Disk Image

1. In Explorer, Navigate to the C:\Program Files\QemuManager\images folder. Create a subfolder for each OS you want to host. I named them SME60, SME61, SME65RC1, and SME70b2.

2. Launch Qemu Manager. Go to Options >> Create New Virtual Disk. Type in the size you want for the upper limit of the virtual disk size (I used 3000 MB). Click "Create".

3. The "Save Virtual Disk As" dialog box will appear, open already to the images folder. Open the SME6 folder, give the file a name (I used SME60.dsk), and click "Save".

Create Virtual Machine

1. Insert the SME 6 CD into the CD drive. See the Tips section for instructions on how to install SME Server from a .iso file on your hard drive.

2. In Qemu Manager, click on the left-most icon in the toolbar (Create New Virtual Machine). The Virtual Machine Wizard will start. Enter the name for your VM (SME60 for me), and click "Next".

3. Choose "Linux Distribution" from the drop-down list. The default Virtual Machine RAM will appear. Click "Next".

4. Choose "Use Existing Virtual Drive", click "Next". Navigate to the correct virtual drive in the "Open Virtual Disk" dialog box that appears. Choose the "Open" button.

5. Skip the enable audio screen. Click "Next".

6. Check "View Advanced Configuration Options After Saving". Click on the "Save Virtual Machine" button.

7. The Virtual Machine Configuration dialog box opens:

General Tab - accept defaults
Disk Configuration Tab -

  • check "Boot from CD-ROM"
  • check "Use System CD-ROM Drive"
  • choose the correct drive letter from the drop-down box

Network Tab - choose "Enable Dummy Network Stack"
Advanced Tab - accept defaults
Click Save

A new window should open into the familiar SME 6 install. Make the choices just as you would for any SME installation. The install proceeds exactly as it would if we were installing on real, but generic, hardware.

Note:
I've found the install to be sensitive. Carefully type Tab, enter; or up arrow 3x, tab, enter, etc. If you try to do it too fast,
or hit the wrong keys, it'll hang, and you have to kill it and restart step 7.

8. When the installation is complete, the reboot will hang with a CD Rom boot failure code.
Just close the window with the x in the upper right hand corner, and remove the CD from the drive.

Configure Virtual Machine and SME Server

I'm only going to list the necessary steps for connectivity here; the others are whatever one would usually select.

1. In Qemu Manager, double-click on the virtual machine you just created.

2. The Virtual Machine Configuration dialog box opens:

General Tab - accept defaults
Disk Configuration Tab -

  • uncheck "Boot from CD-ROM"
  • uncheck "Use System CD-ROM Drive"

Network Tab -

  • choose "Enable Tap Network Support"
  • type "my-tap" in the TAP Adapter Name field

Advanced Tab - accept defaults
Click Save

3. With the virtual machine still selected, click on the "Launch Selected Virtual Machine" icon (third from the left).

A new window should open and the post-install reboot will start. Step through the configuration process just as you normally would. Some key steps:

A) I usually type in the same domain name my SME network uses, but this doesn't seem to be necessary; a unique name like SME60-qemu.local will work also. There may be consequences for this choice later; email testing for instance.
B) The install should find a "ne2k-pci" driver for a "Realtek|RTL-8029(AS)" network card. This is the virtual card SME will use as a guest OS under Qemu, so just accept it.
C) Choose an IP address that is on your local network, but unused. In my case this is something like 192.168.0.175 . Make sure that it is not included in your DHCP scope.
D) Use the same subnet mask that your local network uses.
E) Choose Server-only
F) Use the same Default gateway IP address the other clients in your network use.
G) DHCP off, master DNS Server IP address empty, no proxy server.

Once finished SME will chug for a while as it applies your settings, then reboot.

4. Log in as admin, and choose "5. Access Server Manager from the console list." Step into the lynx browser. Note:
Since this is for testing, not running continuously, and always behind a firewall, I relaxed my security habits in favor of easy connectivity. I had had other steps here, like creating a user , group and ibay, but the only one actually necessary to do right now is:

Remote Access

  • Secure Shell - allow access from local networks
  • Admin command line access - yes
  • using standard passwords - yes

None of the other settings are necessary for bare connectivity, so leave them alone for now, they can be done later from server-manager in an external browser. Type "q" and enter to leave lynx.

5. Reboot the server (my method of bowing 3 times to the East). When it comes up, log on as root and type "shutdown now". Close the window.

You will now be able to launch this version of SME Server, connect with putty or WinSCP, link or browse to ibays, update with YUM, etc.