<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Qemu-Sme-Install</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Qemu-Sme-Install</h1>
</div>
<div id="content">



<div class="wikitext"><table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th>Navigation</th>
<td><blockquote class="tightenable top bottom"><h4>Document</h4>
</blockquote>
</td>
</tr>
<tr class="tightenable top bottom"><th><a href="Installing%20SME%20into%20Qemu%20on%20Windows%20XP.html" class="named-wiki" title="Installing SME into Qemu on Windows XP">Introduction</a> <br /> <a href="Qemu-Winxp-Install.html" class="named-wiki" title="Qemu-Winxp-Install">Install</a> <br /> <a href="Qemu-config.html" class="named-wiki" title="Qemu-config">Configuration</a> <br /> <a href="Qemu-Sme-Install.html" class="named-wiki" title="Qemu-Sme-Install">Installing SME</a> <br /> <a href="Qemu-Connectivity-Test.html" class="named-wiki" title="Qemu-Connectivity-Test">Testing Connectivity</a> <br /> <a href="Qemu-Updates-Test.html" class="named-wiki" title="Qemu-Updates-Test">Testing Updates</a> <br /> <a href="Qemu-Info.html" class="named-wiki" title="Qemu-Info">Links</a> <br /> <a href="Tips%20%26%20Tricks.html" class="wiki">Tips &amp; Tricks</a></th>
<td>Why Qemu? <br /> Install Qemu and associated software on WinXP <br /> Configure your system to use Qemu <br /> Install SME Server on your virtual host <br /> Test your connectivity to make sure you can work with SME Server <br /> How to use Qemu to test SME updates <br /> More information about Qemu <br /> <br /></td>
</tr>
</table>
<p class="tightenable top"><br /></p>
<h3>Installing SME</h3>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top"><th>Updated</th>
<td>05Sep2005 - RonM</td>
</tr>
</table>
<p class="tightenable">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.</p>
<h3>Create Disk Image</h3>
<p class="tightenable"><b>1. In Explorer, Navigate to the C:\Program Files\QemuManager\images folder.</b> Create a subfolder for each OS you want to host. I named them SME60, SME61, SME65RC1, and SME70b2.</p>
<p class="tightenable"><b>2. Launch Qemu Manager.</b> Go to Options &gt;&gt; Create New Virtual Disk. Type in the size you want for the upper limit of the virtual disk size (I used 3000 MB). Click &quot;Create&quot;.</p>
<p class="tightenable"><b>3. The &quot;Save Virtual Disk As&quot; dialog box will appear</b>, open already to the images folder. Open the SME6 folder, give the file a name (I used SME60.dsk), and click &quot;Save&quot;.</p>
<h3>Create Virtual Machine</h3>
<p class="tightenable"><b>1. Insert the SME 6 CD into the CD drive.</b> See the Tips section for instructions on how to install SME Server from a .iso file on your hard drive.<br /></p>
<p class="tightenable"><b>2. In Qemu Manager, click on the left-most icon in the toolbar</b> (Create New Virtual Machine). The Virtual Machine Wizard will start. Enter the name for your VM (SME60 for me), and click &quot;Next&quot;.</p>
<p class="tightenable"><b>3. Choose &quot;Linux Distribution&quot;</b> from the drop-down list. The default Virtual Machine RAM will appear. Click &quot;Next&quot;.</p>
<p class="tightenable"><b>4. Choose &quot;Use Existing Virtual Drive&quot;</b>, click &quot;Next&quot;. Navigate to the correct virtual drive in the &quot;Open Virtual Disk&quot; dialog box that appears. Choose the &quot;Open&quot; button.</p>
<p class="tightenable"><b>5. Skip the enable audio screen.</b> Click &quot;Next&quot;.</p>
<p class="tightenable"><b>6. Check &quot;View Advanced Configuration Options After Saving&quot;.</b> Click on the &quot;Save Virtual Machine&quot; button.</p>
<p class="tightenable bottom"><b>7. The Virtual Machine Configuration dialog box opens:</b> <br /> <br /></p>
<blockquote class="tightenable top"><p class="tightenable top bottom">General Tab - accept defaults <br />
Disk Configuration Tab - <br /></p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">check &quot;Boot from CD-ROM&quot; <br /></li>
<li class="tightenable top bottom">check &quot;Use System CD-ROM Drive&quot; <br /></li>
<li class="tightenable top bottom">choose the correct drive letter from the drop-down box <br /></li>
</ul>
</blockquote>
<p class="tightenable top bottom">Network Tab - choose &quot;Enable Dummy Network Stack&quot; <br />
Advanced Tab - accept defaults <br />
Click Save <br /></p>
</blockquote>
<p class="tightenable">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.</p>
<p class="tightenable">Note: <br />
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, <br /> or hit the wrong keys, it'll hang, and you have to kill it and restart step 7.</p>
<p class="tightenable"><b>8. When the installation is complete</b>, the reboot will hang with a CD Rom boot failure code. <br />
Just close the window with the x in the upper right hand corner, and remove the CD from the drive.</p>
<h3>Configure Virtual Machine and SME Server</h3>
<p class="tightenable">I'm only going to list the necessary steps for connectivity here; the others are whatever one would usually select.</p>
<p class="tightenable"><b>1. In Qemu Manager, double-click on the virtual machine you just created.</b> <br /></p>
<p class="tightenable bottom"><b>2. The Virtual Machine Configuration dialog box opens:</b> <br /> <br /></p>
<blockquote class="tightenable top"><p class="tightenable top bottom">General Tab - accept defaults <br />
Disk Configuration Tab - <br /></p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">uncheck &quot;Boot from CD-ROM&quot; <br /></li>
<li class="tightenable top bottom">uncheck &quot;Use System CD-ROM Drive&quot; <br /></li>
</ul>
</blockquote>
<p class="tightenable top bottom">Network Tab - <br /></p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">choose &quot;Enable Tap Network Support&quot; <br /></li>
<li class="tightenable top bottom">type &quot;my-tap&quot; in the TAP Adapter Name field <br /></li>
</ul>
</blockquote>
<p class="tightenable top bottom">Advanced Tab - accept defaults <br />
Click Save <br /></p>
</blockquote>
<p class="tightenable"><b>3. With the virtual machine still selected, click on the &quot;Launch Selected Virtual Machine&quot; icon</b> (third from the left).</p>
<p class="tightenable bottom">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: <br /></p>
<blockquote class="tightenable top"><p class="tightenable top bottom">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. <br />
B) The install should find a &quot;ne2k-pci&quot; driver for a &quot;Realtek|RTL-8029(AS)&quot; network card. This is the virtual card SME will use as a guest OS under Qemu, so just accept it. <br />
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. <br />
D) Use the same subnet mask that your local network uses. <br />
E) Choose Server-only <br />
F) Use the same Default gateway IP address the other clients in your network use. <br />
G) DHCP off, master DNS Server IP address empty, no proxy server. <br /></p>
</blockquote>
<p class="tightenable">Once finished SME will chug for a while as it applies your settings, then reboot.</p>
<p class="tightenable bottom"><b>4. Log in as admin, and choose &quot;5. Access Server Manager from the console list.&quot;</b> Step into the lynx browser.
Note: <br />
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: <br /> <br /></p>
<blockquote class="tightenable top"><p class="tightenable top bottom">Remote Access</p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">Secure Shell - allow access from local networks <br /></li>
<li class="tightenable top bottom">Admin command line access - yes <br /></li>
<li class="tightenable top bottom">using standard passwords - yes <br /> <br /></li>
</ul>
</blockquote>
</blockquote>
<p class="tightenable">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 &quot;q&quot; and enter to leave lynx.</p>
<p class="tightenable"><b>5. Reboot the server</b> (my method of bowing 3 times to the East). When it comes up, log on as root and type &quot;shutdown now&quot;. Close the window.</p>
<p class="tightenable bottom">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.</p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;RonM&quot;  Last edited on September 26, 2005  1:31 am by &quot;RonM&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
