<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UH.LEE.KA &#187; Installs and Configs</title>
	<atom:link href="http://www.uhleeka.com/blog/category/installs-and-configs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uhleeka.com/blog</link>
	<description>If you think nobody cares about you, try missing a few car payments.</description>
	<lastBuildDate>Wed, 25 Aug 2010 01:35:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VirtualBox 3.1 &#8211; Install Windows XP Guest on Ubuntu 9.04 Host</title>
		<link>http://www.uhleeka.com/blog/2009/12/virtualbox-3-1-install-windows-xp-guest-on-ubuntu-9-04-host/</link>
		<comments>http://www.uhleeka.com/blog/2009/12/virtualbox-3-1-install-windows-xp-guest-on-ubuntu-9-04-host/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 03:50:54 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=472</guid>
		<description><![CDATA[VirtualBox 3.1 significantly changed the way that harddisks, dvd/cd drives and floppies are mounted. The following steps are to install Windows XP as a guest on an Ubuntu 9.04 host with a IntelAhci SATA controller. Make sure you download the Windows XP Intel SATA Drivers and unzip to extract &#8220;F32.IMA&#8221;. sudo -i To begin the [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 16px 0px;border:solid 1px #036;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/virtualbox.png');"></div>
<p>VirtualBox 3.1 significantly changed the way that harddisks, dvd/cd drives and floppies are mounted.  The following steps are to install Windows XP as a guest on an Ubuntu 9.04 host with a IntelAhci SATA controller.</p>
<p>Make sure you download the <a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&#038;ProductID=1809&#038;DwnldID=14796&#038;strOSs=44&#038;OSFullName=Windows*%20XP%20Professional&#038;lang=eng" target="_blank">Windows XP Intel SATA Drivers</a> and unzip to extract &#8220;F32.IMA&#8221;.<br />
<span id="more-472"></span></p>
<div style="clear:both;height:1px;overflow:hidden;"><!-- --></div>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo -i</pre></div></div>

<p>To begin the install process, do the following steps:</p>
<ul>
<li>Create a new VirtualMachine.</li>
<li>Add three controllers (sata, ide, floppy).</li>
<li>Attach the Intel SATA floppy and the Windows XP dvd iso.</li>
<li>Set the memory, boot order and bridged network connection.</li>
</ul>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxManage createhd --filename /srv/virtualbox/harddisks/CHANGEME.vdi --size 20480 \
    --variant Standard
VBoxManage createvm --name CHANGEME --ostype "WindowsXP" --register \
    --basefolder /srv/virtualbox/machines
VBoxManage storagectl CHANGEME --name "SATA Controller" --add sata \
    --controller IntelAhci
VBoxManage storageattach CHANGEME --storagectl "SATA Controller" \
    --port 0 --device 0 --type hdd \
    --medium /srv/virtualbox/harddisks/CHANGEME.vdi
VBoxManage storagectl CHANGEME --name "IDE Controller" --add ide
VBoxManage storagectl CHANGEME --name "Floppy Controller" --add floppy
VBoxManage storageattach CHANGEME --storagectl "IDE Controller" \
    --port 0 --device 0 --type dvddrive \
    --medium "/srv/virtualbox/isos/WindowsXP_sp3.iso"
VBoxManage storageattach CHANGEME --storagectl "Floppy Controller" \
    --port 0 --device 0 --type fdd --medium /srv/virtualbox/floppy/F32.IMA
VBoxManage modifyvm CHANGEME --memory 1024 --nic1 bridged --bridgeadapter1 eth0 \
    --boot1 dvd --boot2 disk --boot3 none --boot4 none</pre></div></div>

<p>Start the VM using a specified port (8888) for VRDP.  You will then be able to attach via RDP to the Host IP on the specified port.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxHeadless --startvm CHANGEME --vrdpport 8888 --vrdp on &</pre></div></div>

<p>When the Windows XP installation begins, Hit F6 during setup and select the <strong>Intel(R) 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M)</strong> driver.  Proceed with the Windows XP install until reboot is required.  </p>
<p>At some point, post install, you may optionally take the following steps:</p>
<ul>
<li>Eject the Windows XP dvd iso.</li>
<li>Attach (and then install) the VirtualBox Guest Additions dvd iso.</li>
<li>Eject the Intel SATA floppy.  Note: it can only be ejected while the machine is powered off; it should be ejected because it will otherwise be locked, such that other VM&#8217;s cannot use it.</li>
<li>Change the boot order.</li>
</ul>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxManage storageattach CHANGEME --storagectl "IDE Controller" \
    --port 0 --device 0 --medium none
VBoxManage storageattach CHANGEME --storagectl "IDE Controller" \
    --port 0 --device 0 --type dvddrive \
    --medium /usr/share/virtualbox/VBoxGuestAdditions.iso 
VBoxManage storageattach CHANGEME --storagectl "FLOPPY Controller" \
    --port 0 --device 0 --type fdd --medium none
VBoxManage modifyvm CHANGEME --boot1 disk --boot2 none</pre></div></div>

<p>Don&#8217;t forget to run windows updates!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/12/virtualbox-3-1-install-windows-xp-guest-on-ubuntu-9-04-host/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VirtualBox BSOD p3.sys</title>
		<link>http://www.uhleeka.com/blog/2009/10/virtualbox-bsod-p3-sys/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/virtualbox-bsod-p3-sys/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 05:29:31 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[BSOD]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/2009/10/virtualbox-bsod-p3-sys/</guid>
		<description><![CDATA[After converting a physical machine to .vmdk via VMWare Converter, I got a BSOD indicating that there was a problem with p3.sys when trying to boot. The Windows XP system was running on a PII 600mHz Dell Optiplex from the year 2000. To fix, boot in Safe Mode and run the following at a command [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 16px 0px;border:solid 1px #036;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/virtualbox.png');"></div>
<p>After converting a physical machine to .vmdk via VMWare Converter, I got a BSOD indicating that there was a problem with <strong>p3.sys</strong> when trying to boot.  The Windows XP system was running on a PII 600mHz Dell Optiplex from the year 2000.</p>
<div style="clear:both;"></div>
<p>To fix, boot in Safe Mode and run the following at a command prompt:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sc config p3 start= disabled</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/virtualbox-bsod-p3-sys/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Windows XP Guest on Ubuntu 9.04 Host</title>
		<link>http://www.uhleeka.com/blog/2009/10/install-windows-xp-guest-on-ubuntu-9-04-host/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/install-windows-xp-guest-on-ubuntu-9-04-host/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 04:46:26 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=416</guid>
		<description><![CDATA[Create a Windows XP VirtualBox guest from scratch using a SATA harddrive. Download the Windows XP Intel SATA Drivers and unzip to extract F32.IMA Hit F6 during setup to select the Intel(R) 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M) sudo -i VBoxManage createhd --filename /srv/virtualbox/harddisks/CHANGEME.vdi --size 20480 \ --variant Standard VBoxManage createvm --name CHANGEME --ostype "WindowsXP" [...]]]></description>
			<content:encoded><![CDATA[<p>Create a Windows XP VirtualBox guest from scratch using a SATA harddrive.  </p>
<ul>
<li>Download the <a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&#038;ProductID=1809&#038;DwnldID=14796&#038;strOSs=44&#038;OSFullName=Windows*%20XP%20Professional&#038;lang=eng" target="_blank">Windows XP Intel SATA Drivers</a> and unzip to extract F32.IMA</li>
<li>Hit F6 during setup to select the <strong>Intel(R) 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M)</strong></li>
</ul>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo -i</pre></div></div>


<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxManage createhd --filename /srv/virtualbox/harddisks/CHANGEME.vdi --size 20480 \
    --variant Standard
VBoxManage createvm --name CHANGEME --ostype "WindowsXP" --register \
    --basefolder /srv/virtualbox/machines
VBoxManage modifyvm CHANGEME --memory 1024 \
    --boot1 dvd --boot2 disk --boot3 none --boot4 none \
    --sata on --sataportcount 1 \
    --sataport1 /srv/virtualbox/harddisks/CHANGEME.vdi \
    --dvd /srv/virtualbox/iso/WindowsXP_sp3.iso \
    --floppy /srv/virtualbox/floppy/F32.IMA \
    --nic1 bridged --bridgeadapter1 eth0</pre></div></div>

<p><span id="more-416"></span>Start the VM without a gui (note: the ampersand executes the command and returns you to the prompt)</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxHeadless --startvm CHANGEME &</pre></div></div>

<p>Start the VM without a gui and without VRDP (after you have loaded the os and configured remote desktop accessability).</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxHeadless --startvm CHANGEME --vrdp off &</pre></div></div>

<p>Stop the VM in a saved state</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxManage controlvm CHANGEME savestate</pre></div></div>

<p>Power off the VM (like pulling the plug)</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>VBoxManage controlvm CHANGEME poweroff</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/install-windows-xp-guest-on-ubuntu-9-04-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limiting network file transfer throughput with rsync</title>
		<link>http://www.uhleeka.com/blog/2009/10/limiting-network-file-transfer-throughput-with-rsync/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/limiting-network-file-transfer-throughput-with-rsync/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 19:42:32 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[ntop]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=404</guid>
		<description><![CDATA[To transfer a large amount of data (200GB) across a 100mbps network without saturating the connection, I used rsync with the &#8211;bwlimit=KBps flag. Transferring from Windows to Ubuntu 9.04, I first mounted the windows share: sudo mkdir /mnt/winshare sudo mount -t smbfs -o username=user,password=pass //winserver/share /mnt/winshare Next, run rsync with a specified bwlimit. Optionally, unmount [...]]]></description>
			<content:encoded><![CDATA[<p>To transfer a large amount of data (200GB) across a 100mbps network without saturating the connection, I used <strong>rsync</strong> with the <strong>&#8211;bwlimit=KBps</strong> flag.</p>
<p>Transferring from Windows to Ubuntu 9.04, I first mounted the windows share:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo mkdir /mnt/winshare
sudo mount -t smbfs -o username=user,password=pass //winserver/share /mnt/winshare</pre></div></div>

<p>Next, run <strong>rsync</strong> with a specified <strong>bwlimit</strong>. Optionally, unmount the share</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo rsync -vrR --delete --delete-excluded --bwlimit=6144 /mnt/winshare/* /destination/
sudo umount /mnt/winshare</pre></div></div>

<p><span id="more-404"></span><br />
Note that the bwlimit is in <strong>kilobytes</strong> not kilobits &#8212; 6144 KB ~= 48 Mbps.  Also note that the bwlimit is limiting the I/O bandwidth&#8230;whatever that means.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>    --bwlimit=KBPS          limit I/O bandwidth; KBytes per second</pre></div></div>

<p>NTop (<a href="http://www.ntop.org" target="_blank">http://www.ntop.org</a>) is great for tracking bandwidth usage:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo apt-get update
sudo apt-get install ntop</pre></div></div>

<p>Set the administrative account password for ntop to run under:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo ntop -A</pre></div></div>

<p>Start the service:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo /etc/init.d/ntop start</pre></div></div>

<p>Browse the reports on the default port, 3000.  http://yourserver:3000/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/limiting-network-file-transfer-throughput-with-rsync/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 Server Install with Software RAID1 and LVM</title>
		<link>http://www.uhleeka.com/blog/2009/10/ubuntu-9-04-server-install-wit-software-raid1-and-lvm/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/ubuntu-9-04-server-install-wit-software-raid1-and-lvm/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 22:47:58 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=367</guid>
		<description><![CDATA[For the sake of reliability and flexability, I wanted to install Ubuntu 9.04 Server on a Dell PowerEdge using Software RAID1 (reliability) and LVM (flexability). Software RAID1 was also considerably cheaper (except for the time it took to figure this out) than adding in the $200 Dell SATA RAID contoller. I consider myself to be [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 10px 0px;border:solid 1px #600;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/ubuntu.png');"></div>
<p>For the sake of reliability and flexability, I wanted to install Ubuntu 9.04 Server on a Dell PowerEdge using Software RAID1 (reliability) and LVM (flexability).  Software RAID1 was also considerably cheaper (except for the time it took to figure this out) than adding in the $200 Dell SATA RAID contoller.<span id="more-367"></span></p>
<p>I consider myself to be a <strong>novice</strong> Linux/Ubuntu user, so feel free to <strong>blindly</strong> follow my actions.</p>
<h4 style="clear:both;">Hardware</h4>
<p>Dell PowerEdge T100<br />
2 SATA Hard drives @ 160GB; No RAID Controller<br />
8GB RAM</p>
<p>From the factory, the T100 comes with 2 primary partitions on the primary hard drive for utility/diagnostics purposes.  I decided to keep the two partitions as they only use approximately 2GB space.</p>
<h4>Installation</h4>
<p>The <strong>Partition Disks</strong> section occurs after booting from the CD, setting up the keyboard, network, clock, etc.</p>
<p>Upon selecting a <strong>Partitioning Method</strong> of <strong>Manual</strong>, the following configuration is presented.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>SCSI1 (0,0,0) (sda) - 160.0 GB ATA WDC WD1602ABKS-1
    #1 primary    41.1 MB        fat16
    #2 primary     1.5 GB        fat32
       pri/log   158.5 GB        FREE SPACE
SCSI2 (0,0,0) (sdb) - 160.0 GB ATA WDC WD1602ABKS-1
       pri/log   160.0 GB        FREE SPACE</pre></div></div>

<p>The space needs to be split into two additional partitions on each physical disk.  One partition will be for SWAP, the other for LVM.  I have seen differing recommendations for SWAP sizes from 1.5 to 2.0 times the RAM.</p>
<p>For symmetry sake&#8211;I wanted to keep the partition IDs symmetric between drives&#8211;I added and removed some partitions to end up with the following.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>SCSI1 (0,0,0) (sda) - 160.0 GB ATA WDC WD1602ABKS-1
    #1 primary    41.1 MB        fat16
    #2 primary     1.5 GB        fat32
       unusable  452.4 MB        unusable
    #3 primary   142.0 GB  B  K  raid
    #4 primary    16.0 GB     K  raid
SCSI2 (0,0,0) (sdb) - 160.0 GB ATA WDC WD1602ABKS-1
       pri/log   2.0 GB          FREE SPACE
    #3 primary   142.0 GB  B  K  raid
    #4 primary    16.0 GB     K  raid</pre></div></div>

<p>When creating #3, specify:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Use as: physical volume for RAID
Bootable flag: on</pre></div></div>

<p>When creating #4, specify</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Use as: physical volume for RAID</pre></div></div>

<p>The next step is to bind the partition pairs in a RAID1 configuration.  To do this, select the <strong>Configure software RAID</strong> menu item, located above the disk partition information.  You should get a dialog saying:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Before RAID can be configured, the changes...

When RAID is configured, no additional changes...

The partition tables of the following devices...

Write the changes to the storage devices and configure RAID?</pre></div></div>

<p>Select <strong>Yes</strong>.</p>
<p>For each of the two partition pairs:<br />
Select <strong>Create MD device</strong><br />
Multidisk device type: <strong>RAID1</strong><br />
Number of active devices for the RAID1 array: <strong>2</strong><br />
Number of spare devices for the RAID1 array: <strong>0</strong><br />
Active devices for the RAID1 multidisk device: <strong>/dev/sda3, /dev/sdb3</strong> and <strong>/dev/sda4, /dev/sdb4</strong> respectively</p>
<p>Select <strong>Finish</strong> to exit the multidisk config menu.  The partition config should now include the following:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>RAID1 device #0 - 142.0 GB Software RAID device
     #1            142.0 GB
RAID1 device #1 - 16.0 GB Software RAID device
     #1            16.0 GB</pre></div></div>

<p>Change the properties of <strong>device #0</strong> to:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Use as: physical volume for LVM</pre></div></div>

<p>Change the properties of <strong>device #1</strong> to:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Use as: swap</pre></div></div>

<p>Next step is to <strong>Configure the Logical Volume Manager</strong> located at the top of the config.  A dialog pops up with the following:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Before the Logical Volume Manager can...

After the Logical Volume Manager is...

The partition tables of the following devices are...

The following partitions are...

Write the changes to disks and configure LVM?</pre></div></div>

<p>Select <strong>Yes</strong>.</p>
<p>LVM configuration action: <strong>Create volume group</strong><br />
Volume group name: <strong>vg</strong><br />
Devices for the new group: <strong>/dev/md0 (142001MB)</strong></p>
<p>Now that the <strong>volume group</strong> has been created, we need to create the associated <strong>logical volumes</strong>.</p>
<p>For each partition you wish to create (/, /usr, /home, /opt, /var, /tmp, /srv) do the following steps:<br />
LVM configuration action: <strong>Create logical volume</strong><br />
Volume group: <strong>vg (141998MB)</strong><br />
Logical volume name: <strong>root</strong><br />
Logical volume size: <strong>5GB</strong></p>
<p>Specify the volume sizes as you see fit.  LVM how-to&#8217;s generally recommend that smaller sizes are better, as it is much easier to increase the size than decrease it.</p>
<p>After creating all the logical volumes, select <strong>Display configuration details</strong>:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Unallocated physical volumes:
  * none

Volume groups:
  * vg                                         (141998MB)
    - Uses physical volume:       /dev/md0     (141998MB)
    - Provides logical volume:    home         (4999MB)
    - Provides logical volume:    opt          (4999MB)
    - Provides logical volume:    root         (4999MB)
    - Provides logical volume:    srv          (49996MB)
    - Provides logical volume:    tmp          (4999MB)
    - Provides logical volume:    usr          (4999MB)
    - Provides logical volume:    var          (9999MB)</pre></div></div>

<p>Select <strong>Finish</strong> to get back to the main partition config menu.</p>
<p>For <strong>each</strong> logical volume created, there is now an entry in the config:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>LVM VG vg, LV home - 5.0 GB Linux device-mapper (linear)
     #1              5.0 GB</pre></div></div>

<p>Select the <strong>#1 5.0 GB</strong> line and specify the following:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Use as: Ext3 journaling file system
Mount point: /home (respectively)
Label: home (respectively)</pre></div></div>

<p>After all logical volumes have been configured, select <strong>Finish partitioning and write changes to disk</strong>.  You will see a dialog:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>If you continue, the changes listed below will...

WARNING:  This will destroy all data...

The partition tables of the following devices are...

The following partitions are...

Write the changes to disk?</pre></div></div>

<p>Select <strong>Yes</strong>, and your install should continue as normal until you reach a screen titled, &#8220;<strong>Install the LILO boot loader on a hard disk</strong>.&#8221;</p>
<p>LILO installation target: <strong>/dev/md0: software RAID array</strong></p>
<p>Another dialog occurs, titled &#8220;<strong>Configuring lilo</strong>.&#8221;  Select <strong>Yes</strong>&#8230; or <strong>No</strong>.  Was that helpful?  </p>
<p>Another dialog:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>It was detected that it's necessary to run /sbin/lilo in order to...

WARNING: This procedure will write data in your MBR...

Do you want to run /sbin/lilo now?</pre></div></div>

<p>Select <strong>Yes</strong> and the install should complete.</p>
<hr />
<h4>References</h4>
<p><a href="https://help.ubuntu.com/9.04/serverguide/C/advanced-installation.html">https://help.ubuntu.com/9.04/serverguide/C/advanced-installation.html</a><br />
<a href="http://tldp.org/HOWTO/Software-RAID-HOWTO.html">http://tldp.org/HOWTO/Software-RAID-HOWTO.html</a><br />
<a href="https://help.ubuntu.com/community/Installation/RAID1%2BLVM">https://help.ubuntu.com/community/Installation/RAID1%2BLVM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/ubuntu-9-04-server-install-wit-software-raid1-and-lvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP Change HTTPS Port Binding</title>
		<link>http://www.uhleeka.com/blog/2009/10/windows-xp-change-https-port-binding/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/windows-xp-change-https-port-binding/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 21:06:47 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[IIS5]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=359</guid>
		<description><![CDATA[On Windows XP, to change the HTTPS secure port binding (e.g. to port 444 instead of 443), run the following adsutil script at the command prompt: C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/1/securebindings ":444:" Return: Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. securebindings : (LIST) ":444:" You can verify the new [...]]]></description>
			<content:encoded><![CDATA[<p>On Windows XP, to change the HTTPS secure port binding (e.g. to port 444 instead of 443), run the following adsutil script at the command prompt:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/1/securebindings ":444:"</pre></div></div>

<p>Return:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

securebindings                  : (LIST) ":444:"</pre></div></div>

<p><span id="more-359"></span>You can verify the new setting by opening IIS Manager and clicking the &#8220;Advanced&#8230;&#8221; IP Address button on the properties page of the default website.</p>
<p>You can also verify using the following netstat command to view all TCP ports:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>C:\Inetpub\AdminScripts>netstat -an -p tcp</pre></div></div>

<p>Return:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:25             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:444            0.0.0.0:0              LISTENING
  ...</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/windows-xp-change-https-port-binding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS7 ErrorMode DetailedLocalOnly</title>
		<link>http://www.uhleeka.com/blog/2009/10/iis7-errormode-detailedlocalonly/</link>
		<comments>http://www.uhleeka.com/blog/2009/10/iis7-errormode-detailedlocalonly/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 00:28:17 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[IIS7]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=352</guid>
		<description><![CDATA[IIS7 injects a generic error page for all non-Asp.NET errors (e.g. asp, php, etc.). To turn it off globally, run the following on the server at the command prompt: %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:Detailed To turn it back on again: %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:DetailedLocalOnly More: http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis7/]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #003;background-color:#fff;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/08/welcome-150x150.png');"></div>
<p>IIS7 injects a generic error page for all non-Asp.NET errors (e.g. asp, php, etc.).<span id="more-352"></span></p>
<div style="clear:both;height:10px;"><!-- --></div>
<p>To turn it off globally, run the following on the server at the command prompt:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>%windir%\system32\inetsrv\appcmd.exe set config 
    -section:system.webServer/httpErrors -errorMode:Detailed</pre></div></div>

<p>To turn it back on again:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>%windir%\system32\inetsrv\appcmd.exe set config 
    -section:system.webServer/httpErrors -errorMode:DetailedLocalOnly</pre></div></div>

<p>More: <a href="http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis7/" target="_blank">http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis7/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/10/iis7-errormode-detailedlocalonly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP 7.5 using virtual host names in IIS7</title>
		<link>http://www.uhleeka.com/blog/2009/08/ftp-7-5-using-virtual-host-names-in-iis7/</link>
		<comments>http://www.uhleeka.com/blog/2009/08/ftp-7-5-using-virtual-host-names-in-iis7/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 22:46:37 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[FTP 7.5]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Virtual Host Names]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=316</guid>
		<description><![CDATA[With regards to creating an FTP publishing site in IIS7, I was initially confused by the term &#8220;virtual host names&#8221;. My intuitive but incorrect assumption was that the FTP server would be able to look at the host name used to contact the server, and redirect the authorized user accordingly. The Virtual Host Name is [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #003;background-color:#fff;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/08/welcome-150x150.png');"></div>
<p>With regards to creating an FTP publishing site in IIS7, I was initially confused by the term &#8220;virtual host names&#8221;.  My intuitive but incorrect assumption was that the FTP server would be able to look at the host name used to contact the server, and redirect the authorized user accordingly.  </p>
<p>The <strong>Virtual Host Name</strong> is not at all similar to the website&#8217;s <strong>Host Header Name</strong>.  Instead of acting on the FTP host, it acts on the FTP user.<span id="more-316"></span></p>
<p>Supposing a <strong>Virtual Host Name</strong> of <strong>myvirtualhost.com</strong> and a user, <strong>ftpuser</strong>, FTP access would be as follows:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Host: ftp.mydomain.com
Port: 21
User: ftpuser|myvirtualhost.com
Pass: ...</pre></div></div>

<p>So modify your usernames, not your ftp host!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/08/ftp-7-5-using-virtual-host-names-in-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install ASP.NET v1.1 with IIS7 on Windows 2008 x64</title>
		<link>http://www.uhleeka.com/blog/2009/08/how-to-install-asp-net-v1-1-with-iis7-on-windows-2008-x64/</link>
		<comments>http://www.uhleeka.com/blog/2009/08/how-to-install-asp-net-v1-1-with-iis7-on-windows-2008-x64/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 00:00:37 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[.NET 1.1]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=298</guid>
		<description><![CDATA[We are migrating from Windows 2003 running IIS6 to Windows 2008 running IIS7. Unfortunately, we have a lot of websites running on the .NET 1.1 framework. The following article has great step-by-step instructions for getting 1.1 running on IIS7: http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx What has been extremely frustrating is the fact that I could not create an application [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #003;background-color:#fff;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/08/welcome-150x150.png');"></div>
<p>We are migrating from Windows 2003 running IIS6 to Windows 2008 running IIS7.  Unfortunately, we have a lot of websites running on the .NET 1.1 framework.  The following article has great step-by-step instructions for getting 1.1 running on IIS7:</p>
<p><a href="http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx" target="_blank">http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx</a></p>
<p>What has been extremely frustrating is the fact that I could not create an application pool and assign it (via the IIS7 manager) to run the 1.1 framework.  There was no v1.1 option in the drop-down menu.<span id="more-298"></span></p>
<p>So, I spent a considerable amount of time searching for what I had missed during the install, or what was wrong with my configs, etc.  I found nothing (maybe I&#8217;m not very good at searching).  On a whim, I clicked the &#8220;?&#8221; help button on the &#8220;Add Application Pool&#8221; dialog, which turned up the following response:</p>
<p><img class="size-full wp-image-300" title="Add Application Pool" src="http://www.uhleeka.com/blog/wp-content/uploads/2009/08/addapplicationpool.png" alt="Add Application Pool" width="263" height="240" align="left" style="margin-right:10px;" />Note: If you select .NET Framework version 1.1, the Managed pipeline mode list will be disabled. Additionally, if you are running IIS 7.0 on 64-bit Windows, and you have installed .NET Framework version 1.1, the value will not appear in the .NET Framework Version list when you add or edit an application pool. This is because .NET Framework version 1.1 installs under the Framework directory, but IIS reads values from the Framework64 directory on 64-bit Windows. You must set the managedRuntimeVersion attribute to v1.1 for the application pool in the configuration file directly or by using a tool such as IIS 7.0 command-line tool.</p>
<p>Now knowing that &#8220;IIS reads values from the Framework64&#8243; directory on 64-bit Windows&#8221;, I recalled reading the following article by Won Yoo: <a href="http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx">http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx</a>.  Won recommends that you copy the v1.1.4322/machine.config file from the &#8220;Framework&#8221; directory to the &#8220;Framework64&#8243; directory, and I had done this.  But apparently, that is not what IIS7 is looking for to populate the drop-down.</p>
<p>An anonymous comment suggests creating a symlink instead:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>MKLINK /d c:\Windows\Microsoft.NET\Framework64\v1.1.4322 
    c:\Windows\Microsoft.NET\Framework\v1.1.4322</pre></div></div>

<p>And now, I have &#8220;.NET Framework v1.1.4322&#8243; as a choice in my dropdown!  Thank you, anonymous!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/08/how-to-install-asp-net-v1-1-with-iis7-on-windows-2008-x64/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Migrate DNS from Windows 2003 to Windows 2008</title>
		<link>http://www.uhleeka.com/blog/2009/08/migrate-dns-from-windows-2003-to-windows-2008/</link>
		<comments>http://www.uhleeka.com/blog/2009/08/migrate-dns-from-windows-2003-to-windows-2008/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 03:56:18 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Windows DNS]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=290</guid>
		<description><![CDATA[I needed to move 50+ domains from a Windows 2003 DNS server to a newly requisitioned Windows 2008 Server. The following are instructions for moving all the domains at once. Note: these steps would also work for migrating domains from 2003 to 2003 or 2008 to 2008. Stop the DNS Server service on the destination [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #006;background-color:#fff;background-repeat:no-repeat;background-position:15px center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/08/windows-150x150.png');"></div>
<p>I needed to move 50+ domains from a Windows 2003 DNS server to a newly requisitioned Windows 2008 Server.  The following are instructions for moving all the domains at once.  </p>
<p>Note: these steps would also work for migrating domains from 2003 to 2003 or 2008 to 2008.<span id="more-290"></span></p>
<h4 style="clear:left;">Stop the DNS Server service on the destination server:</h4>
<p>Use the Administrative Tools -> Services MMC snap-in, or run the following at the command prompt:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>net stop "DNS SERVER"</pre></div></div>

<h4>Copy the DNS registry entries</h4>
<p>On the source machine, use the registry editor (regedit) to browse to the following node:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones</pre></div></div>

<p>Right click on the &#8220;<strong>Zones</strong>&#8221; node and choose &#8220;<strong>Export</strong>&#8220;.  Save the export as a .reg file (e.g. DNS.reg).</p>
<p>Copy the DNS.reg file to the destination server and &#8220;<strong>Merge</strong>&#8220;.</p>
<h4>Copy the DNS files</h4>
<p>Copy the contents of the <strong>%SystemRoot%\System32\DNS</strong> folder from the source machine to the same folder on the destination machine.  I received an permissions error while trying to transfer the &#8220;Samples&#8221; folder.  It is not necessary to transfer the samples.</p>
<h4>Set the DNS Load method</h4>
<p>Using the Administrative Tools -> DNS MMC snap-in, on the &#8220;<strong>Advanced</strong>&#8221; tab, set the &#8220;<strong>Load zone data on startup:</strong>&#8221; to &#8220;<strong>From registry</strong>&#8220;.  This tells the DNS server to load all zone data from the registry.</p>
<h4>Start the &#8220;DNS Server&#8221; service on the destination server</h4>
<p>Use the Administrative Tools -> Services MMC snap-in, or run the following at the command prompt:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>net start "DNS SERVER"</pre></div></div>

<p>Using the DNS MMC snap-in, you will now see all the domains listed on the destination server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/08/migrate-dns-from-windows-2003-to-windows-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
