<?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>Andrew DeFilippis &#187; XenServer</title>
	<atom:link href="http://www.andrewdefilippis.com/tag/xenserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andrewdefilippis.com</link>
	<description>Security oriented leader with an Information Technology and Customer Service background</description>
	<lastBuildDate>Sat, 28 Jan 2012 07:19:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>XenServer: Protecting Ubuntu with Untangle</title>
		<link>http://www.andrewdefilippis.com/2010/04/18/xenserver-protecting-ubuntu-with-untangle/</link>
		<comments>http://www.andrewdefilippis.com/2010/04/18/xenserver-protecting-ubuntu-with-untangle/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 08:17:23 +0000</pubDate>
		<dc:creator>Andrew DeFilippis</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Attack Blocker]]></category>
		<category><![CDATA[Bare Metal]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Hypervisor]]></category>
		<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenXenCenter]]></category>
		<category><![CDATA[Protocol Control]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Spyware Blocker]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Untangle]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virus Blocker]]></category>
		<category><![CDATA[Web Filter]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XenCenter]]></category>
		<category><![CDATA[XenServer]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.andrewdefilippis.com/?p=312</guid>
		<description><![CDATA[This is a tutorial on how to install and protect Ubuntu with Untangle, while both run as virtual machines within XenServer. This setup allows you to protect one virtual machine with a second virtual machine on the same physical system. The biggest advantages to this setup include a lower cost of energy, lower cost of [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial on how to install and protect Ubuntu with Untangle, while both run as virtual machines within XenServer.  This setup allows you to protect one virtual machine with a second virtual machine on the same physical system.  The biggest advantages to this setup include a lower cost of energy, lower cost of hardware and smaller physical footprint.</p>
<p>The image below shows Ubuntu and Untangle being displayed using the XenCenter Management Console.  Untangle is blocking Ubuntu from accessing Facebook.</p>
<p>Click on the image to enarge it.</p>
<p><center><br />
<a href="http://www.andrewdefilippis.com/uploads/Pictures/XenServer-Untangle-Ubuntu.jpg" target="_blank"><img src="http://www.andrewdefilippis.com/uploads/Pictures/XenServer-Untangle-Ubuntu_thumb.jpg" alt="" width="600" height="450" /></a><br />
</center></p>
<p><strong>What you will need:</strong></p>
<ul>
<li>XenServer-5.5.0-Update2-install-cd.iso (<a href="http://www.citrix.com/lang/English/lp/lp_1688615.asp">Here</a>)</li>
<li>XenServer-5.5.0-Update2-linux-cd.iso (<a href="http://www.citrix.com/lang/English/lp/lp_1688615.asp">Here</a>)</li>
<li>XenServer-5.5.0-Update2-XenCenter.msi (<a href="http://www.citrix.com/lang/English/lp/lp_1688615.asp">Here</a>)</li>
<li>ubuntu-9.10-desktop-amd64.iso (<a href="http://www.ubuntu.com/GetUbuntu/download">Here</a>)</li>
<li>untangle_720_amd64.iso (<a href="http://www.untangle.com/Downloads/Download-ISO">Here</a>)</li>
<li>Two CD-RW discs or 4 CD-R discs</li>
<li>One dedicated server</li>
<li>One workstation computer</li>
</ul>
<p><strong>Instructions:</strong></p>
<ol>
<li>Burn the XenServer Install CD ISO to one of your CD&#8217;s and burn the XenServer Linux CD ISO to one of the other CD&#8217;s.</li>
<li>Install XenCenter onto your Windows workstation. (Linux users can use <a href="http://www.openxencenter.com/">OpenXenCenter</a>).</li>
<li>Insert the XenServer CD into your server and boot to the disc drive.</li>
<li>Follow the prompts to install and configure your server, including setting a static IP address.</li>
<li>When asked to do so, insert the Linux Guest Support CD into the server&#8217;s disc drive and continue with the install.</li>
<li>After the install is finished, boot to the hard drive where you installed XenServer.</li>
<li>Connect to your XenServer using XenCenter on your workstation.  Enter the static IP address you set and the root password you created during the configuration of your server.</li>
<li>Check the box next to your server in the activation window.  Click on Activate, enter the information into the browser activation form and submit it.</li>
<li>After registering, you will receive an email that includes the license key as an attachment.  Save the license file to your hard drive.</li>
<li>In XenCenter, go to Server &gt; Install License Key, navigate to the folder where license.xslic is located and click Open.</li>
<li>Create a single virtual internal network.  (Click on your server, Network tab &gt; Add Network &gt; Internal Network)</li>
<li>Create one virtual machine for Untangle, giving it the physical external network and virtual internal network.  (VM &gt; New | Template &#8220;Other Install Media&#8221; | Name &#8220;Untangle&#8221; | Location &#8220;Physical DVD Drive&#8221; | CPU &amp; Memory &#8220;Initial Memory 1024MB&#8221; | Virtual Disks &#8220;Add&#8221; &gt; 70GB | Virtual Interfaces &#8220;External Physical &amp; Internal Virtual&#8221;)</li>
<li>Create one virtual machine for Ubuntu, giving it ONLY the virtual internal network.  (VM &gt; New | Template &#8220;Other Install Media&#8221; | Name &#8220;Ubuntu&#8221; | Location  &#8220;Physical DVD Drive&#8221; | CPU &amp; Memory &#8220;Initial Memory 2048MB&#8221; |  Virtual Disks &#8220;Add&#8221; &gt; 100GB | Virtual Interfaces &#8220;Internal Virtual&#8221;)</li>
<li>Erase the first CD-RW, or burn Ubuntu to one of the empty CD-R discs.</li>
<li>Erase the second CD-RW, or burn Untangle to one of the empty CD-R discs.</li>
<li>Insert the Ubuntu CD into the server&#8217;s disc drive, start the Ubuntu VM and run the install using the Normal Mode.</li>
<li>Insert the Untangle CD into the server&#8217;s disc drive, start the Untangle VM and run the install using the Expert Mode. (During the install you can only use the keyboard.  After it finishes, the mouse is usable.)</li>
</ol>
<p>After installing, Ubuntu will load to its desktop and Untangle to its initial startup screen.  Finish the Untangle setup and close the browser window.  You should now see the options menu at the bottom of the screen.  We are going to need to use the terminal to change the screen resolution.</p>
<p><strong>Fixing the screen resolution:</strong></p>
<p>In Untangle, open the terminal and enter the root password you created during the install.  Enter the following into the terminal:</p>
<blockquote><p>cd /etc/X11<br />
cp xorg.conf xorg.conf.bak<br />
editor xorg.conf</p>
<p><strong>Enter or change what is shown below:</strong></p>
<p>Section &#8220;Monitor&#8221;<br />
Identifier   &#8220;Configured Monitor&#8221;<br />
HorizSync    40.00 &#8211; 150.00<br />
VertRefresh  60.0<br />
VendorName   &#8220;Generic&#8221;<br />
ModelName    &#8220;Generic&#8221;<br />
EndSection</p>
<p>Section &#8220;Screen&#8221;<br />
Identifier   &#8220;Default Screen&#8221;<br />
Device   &#8220;Configured Video Device&#8221;<br />
Monitor   &#8220;Configured Monitor&#8221;<br />
SubSection &#8220;Display&#8221;<br />
Viewport   0 0<br />
Depth   24<br />
EndSubSection<br />
EndSection</p></blockquote>
<p>In Ubuntu, open the terminal and enter the root password you created during the install.  Enter the following into the terminal:</p>
<blockquote><p>sudo passwd root<br />
sudo X -configure<br />
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak<br />
cd /<br />
sudo gedit xorg.conf.new</p>
<p><strong>Edit the monitor section to be:</strong></p>
<p>Section &#8220;Monitor&#8221;<br />
Identifier   &#8220;Monitor0&#8243;<br />
HorizSync    40.00 &#8211; 150.00<br />
VertRefresh  60.0<br />
VendorName   &#8220;Generic&#8221;<br />
ModelName    &#8220;Generic&#8221;<br />
EndSection</p>
<p><strong>Click on: File &gt; Save As</strong><strong> &gt; Folder (/etc/X11)</strong><strong> | xorg.conf</strong></p>
<p><strong>Log off and sign in</strong></p></blockquote>
<p>The resolution should now be 1152&#215;864 in Ubuntu and 1024&#215;768 in Untangle.</p>
<p><strong>You have accomplished:</strong></p>
<ul>
<li>Installing the bare metal hypervisor XenServer onto a dedicated server.</li>
<li>Configuring two virtual machines to communicate over a virtual network connection.</li>
<li>Modifying xorg.conf to be able to use a larger resolution.</li>
<li>Protecting one operating system, with a second operating system.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewdefilippis.com/2010/04/18/xenserver-protecting-ubuntu-with-untangle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

