<?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"
	>

<channel>
	<title>HTG Blog</title>
	<atom:link href="http://htglimited.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://htglimited.com</link>
	<description>Harnessing the power of the blog ... at this site anyway</description>
	<pubDate>Sat, 12 Jul 2008 17:28:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>H-Sphere 3.1 CP Custom Templates &#038; mod_rewrites</title>
		<link>http://htglimited.com/2008/07/12/h-sphere-31-cp-custom-templates-mod_rewrites/</link>
		<comments>http://htglimited.com/2008/07/12/h-sphere-31-cp-custom-templates-mod_rewrites/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 17:28:17 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://htglimited.com/?p=24</guid>
		<description><![CDATA[Custom Templates
In the process of upgrading to H-Sphere to version 3.1, we decided to correctly handle the custom templates.  Unfortunately, the documentation (available here), doesn&#8217;t have the correct information on how to run the configuration.  After some digging, we found the right binary to run!  So, to do the custom templates, follow [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Custom Templates</strong><br />
In the process of upgrading to H-Sphere to version 3.1, we decided to correctly handle the custom templates.  Unfortunately, the documentation (available <a href="http://www.psoft.net/HSdocumentation/sysadmin/conf_file_template_customization.html">here</a>), doesn&#8217;t have the correct information on how to run the configuration.  After some digging, we found the right binary to run!  So, to do the custom templates, follow the instructions until it mentions the &#8216;apache_restart&#8217; command.  Since that doesn&#8217;t exist, run the following:</p>
<div class="codesnip-container" >/hsphere/local/home/cpanel/apache/bin/conf_httpdcp</div>
<p>And then restart the httpdcp apache instance:</p>
<div class="codesnip-container" >/etc/init.d/httpdcp restartapache</div>
<p>And there you have it - a custom config.  Hopefully it will stay over the next reboot.</p>
<p><strong>mod_rewrites</strong><br />
We also wanted to handle the mod_rewrite rules in our custom config, so it would redirect to port 443 for the typical other ports opened on the cp (we have 80, 8080, and 8443 open to accommodate some of our customers, and it&#8217;s just convenient).  Here are the additional rules we add:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;"><span class="sc3"><span class="re1">&lt;VirtualHost</span> _default_:<span class="nu0">80</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; RewriteEngine on<br />
&nbsp; &nbsp; &nbsp; RewriteCond ${HTTPS} !on<br />
&nbsp; &nbsp; &nbsp; RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]<br />
<span class="sc3"><span class="re1">&lt;/VirtualHost<span class="re2">&gt;</span></span></span></p>
<p><span class="sc3"><span class="re1">&lt;VirtualHost</span> _default_:<span class="nu0">8080</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; RewriteEngine on<br />
&nbsp; &nbsp; &nbsp; RewriteCond ${HTTPS} !on<br />
&nbsp; &nbsp; &nbsp; RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]<br />
&nbsp; &nbsp; &nbsp; RewriteCond ${SERVER_PORT} !^443$<br />
&nbsp; &nbsp; &nbsp; RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]<br />
<span class="sc3"><span class="re1">&lt;/VirtualHost<span class="re2">&gt;</span></span></span></div>
</div>
<p>We wrestled with getting port 8443 to redirect, and never succeeded, and we&#8217;re okay with that.  The rules seem weird, but that&#8217;s what got it to work for us, so we kept them!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2008/07/12/h-sphere-31-cp-custom-templates-mod_rewrites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>H-Sphere Emergency Update</title>
		<link>http://htglimited.com/2008/03/01/h-sphere-emergency-update/</link>
		<comments>http://htglimited.com/2008/03/01/h-sphere-emergency-update/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 15:18:22 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://htglimited.com/2008/03/01/h-sphere-emergency-update/</guid>
		<description><![CDATA[Last night we upgraded the version of H-Sphere to version 3.0P9.  We were alerted by the company which makes the control panel software that there were some critical security patches in this version, and all users were strongly encouraged to update as soon as possible.  There were a few moments when the server [...]]]></description>
			<content:encoded><![CDATA[<p>Last night we upgraded the version of H-Sphere to version 3.0P9.  We were alerted by the company which makes the control panel software that there were some critical security patches in this version, and all users were strongly encouraged to update as soon as possible.  There were a few moments when the server was unavailable, and we apologize for the inconvenience.  Everything should be back up and running as normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2008/03/01/h-sphere-emergency-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>H-Sphere 3.0 Upgrade &#038; More Space</title>
		<link>http://htglimited.com/2007/11/25/h-sphere-30-upgrade-more-space/</link>
		<comments>http://htglimited.com/2007/11/25/h-sphere-30-upgrade-more-space/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 01:41:26 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://htglimited.com/2007/11/25/h-sphere-30-upgrade-more-space/</guid>
		<description><![CDATA[In an effort to improve our services and security, we&#8217;ve just rolled out two major changes:
H-Sphere 3.0
You might notice a little different control panel; however, too much hasn&#8217;t changed.  Most fixes were security updates and other small improvements, nothing to worry about.  We have noticed some speed improvements from the upgrade, but it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>In an effort to improve our services and security, we&#8217;ve just rolled out two major changes:</p>
<li><strong>H-Sphere 3.0</strong><br />
You might notice a little different control panel; however, too much hasn&#8217;t changed.  Most fixes were security updates and other small improvements, nothing to worry about.  We have noticed some speed improvements from the upgrade, but it&#8217;s hard to get much faster than a 100Mbps 3-way pipe :-).</li>
<li><strong>Increased Space</strong><br />
This is the part that everyone will enjoy.  We&#8217;ve upped the space on all of our service plans by not 2, or 3, but <strong>4X</strong> the amount all for the the same price!  That means all of our <strong>Unix Basic</strong> customers are now upped to 4GB!  Check out the pricing plans for more details.</li>
<p>We&#8217;ll look at upgrading bandwidth based on the usage of the new space, but we&#8217;ll let you know when that happens.  That&#8217;s all for now, enjoy the new space!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2007/11/25/h-sphere-30-upgrade-more-space/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Client!   www.littleglenford.com</title>
		<link>http://htglimited.com/2007/03/25/new-client-wwwlittleglenfordcom/</link>
		<comments>http://htglimited.com/2007/03/25/new-client-wwwlittleglenfordcom/#comments</comments>
		<pubDate>Sun, 25 Mar 2007 19:58:39 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosted Sites]]></category>

		<guid isPermaLink="false">http://htglimited.com/2007/03/25/new-client-wwwlittleglenfordcom/</guid>
		<description><![CDATA[We would like to welcome LittleGlenford.com to HTG, Limited web hosting.  Little Glenford is a lake-front home in Michigan available for rent.  Pictures, references, and rental information is available on the site.
If your organization or business needs an online presence, email us at sales@htglimited.com with some basic information about you and we’ll work [...]]]></description>
			<content:encoded><![CDATA[<p>We would like to welcome <a target="_blank" href="http://www.littleglenford.com">LittleGlenford.com</a> to HTG, Limited web hosting.  Little Glenford is a lake-front home in Michigan available for rent.  Pictures, references, and rental information is available on the site.<br />
If your organization or business needs an online presence, email us at sales@htglimited.com with some basic information about you and we’ll work with you to find a plan that fits your needs! Once again, welcome Little Glenford!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2007/03/25/new-client-wwwlittleglenfordcom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Client! www.sdrc-reunion.com</title>
		<link>http://htglimited.com/2007/03/10/new-client-wwwsdrc-reunioncom/</link>
		<comments>http://htglimited.com/2007/03/10/new-client-wwwsdrc-reunioncom/#comments</comments>
		<pubDate>Sat, 10 Mar 2007 17:00:30 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosted Sites]]></category>

		<guid isPermaLink="false">http://htglimited.com/2007/03/10/new-client-wwwsdrc-reunioncom/</guid>
		<description><![CDATA[
We would like to welcome the SDRC Reunion group to HTG.  SDRC (Structural Dynamics Research Corporation) was founded in 1967 and lead by Dr. Jason R. Lemon, as a consulting firm specializing in structural dyanmics.  Along the way they developed software to aid in the analysis and design of systems, which eventually became [...]]]></description>
			<content:encoded><![CDATA[<p><small><!-- by Joe --></small></p>
<div class="entry">We would like to welcome the <a target="_blank" href="http://www.sdrc-reunion.com">SDRC Reunion</a> group to HTG.  SDRC (Structural Dynamics Research Corporation) was founded in 1967 and lead by Dr. Jason R. Lemon, as a consulting firm specializing in structural dyanmics.  Along the way they developed software to aid in the analysis and design of systems, which eventually became their primary business.  This year will mark the 40th anniversary of the founding of SDRC.<br />
If your organization or business needs an online presence, email us at sales@htglimited.com with some basic information about you and we’ll work with you to find a plan that fits your needs! Once again, welcome SDRC Reunion!</div>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2007/03/10/new-client-wwwsdrc-reunioncom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Client!  www.clermontbrownliteracy.org</title>
		<link>http://htglimited.com/2007/03/02/new-client-wwwclermontbrownliteracyorg/</link>
		<comments>http://htglimited.com/2007/03/02/new-client-wwwclermontbrownliteracyorg/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 12:52:00 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosted Sites]]></category>

		<guid isPermaLink="false">http://htglimited.com/2007/03/02/new-client-wwwclermontbrownliteracyorg/</guid>
		<description><![CDATA[We would like to welcome the Literacy Council of Clermont and Brown Counties (in Ohio) to HTG.  The Literacy Council is a non-profit group which strives &#8220;To enable adults to acquire basic listening, speaking, reading and writing skills needed to participate fully in society, and to increase awareness of literacy needs in [their] community.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>We would like to welcome the <a target="_blank" href="http://www.clermontbrownliteracy.org">Literacy Council of Clermont and Brown Counties</a> (in Ohio) to HTG.  The Literacy Council is a non-profit group which strives &#8220;To enable adults to acquire basic listening, speaking, reading and writing skills needed to participate fully in society, and to increase awareness of literacy needs in [their] community.&#8221;  From their website you can find out how you can become a tutor, or check out the calendar of events to see when a fundraiser is coming up.  They are working to help make some-one&#8217;s life better, and that is always a good thing.</p>
<p>If your organization or business needs an online presence, email us at sales@htglimited.com with some basic information about you and we’ll work with you to find a plan that fits your needs!  Once again, welcome LCCBC!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2007/03/02/new-client-wwwclermontbrownliteracyorg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu on Sun Fire X2200</title>
		<link>http://htglimited.com/2007/02/24/ubuntu-on-sun-fire-x2200/</link>
		<comments>http://htglimited.com/2007/02/24/ubuntu-on-sun-fire-x2200/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 15:41:47 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://htglimited.com/2007/02/24/ubuntu-on-sun-fire-x2200/</guid>
		<description><![CDATA[At HTG we have been using Sun servers for hosting your websites and apps, and we&#8217;ve been happy with them once they are up and running.  Getting them there has been a little bit of a battle at times.  To make our lives easier for future installs, and for anyone else out there [...]]]></description>
			<content:encoded><![CDATA[<p>At HTG we have been using Sun servers for hosting your websites and apps, and we&#8217;ve been happy with them once they are up and running.  Getting them there has been a little bit of a battle at times.  To make our lives easier for future installs, and for anyone else out there who wants to run Ubuntu on the X2200 servers (and presumably others with the Nvidia FakeRaid), here is our guide for installation.</p>
<p><span id="more-12"></span> There may be some holes here - if you find some, leave a comment and we&#8217;ll get it updated!<br />
Partition the disk with fdisk</p>
<blockquote><p>fdisk /dev/mapper/</p></blockquote>
<p>Mount the real partitions of the disk to the /target directory</p>
<blockquote><p>mkdir /target<br />
mount -t ext3 /dev/mapper/nvidia_[tab complete this one] /target<br />
mkdir /target/boot<br />
mount -t ext2 /dev/mapper/nvidia_[tab complete this one] /arget/boot</p></blockquote>
<p>Add the extra mount points</p>
<blockquote><p>mkdir /target/dev<br />
mount &#8211;bind /dev /target/dev<br />
mkdir /target/proc<br />
mount -t proc proc /target/proc<br />
mkdir /target/sys<br />
mount -t sysfs sysfs /target/sys</p></blockquote>
<p>Install the boostrap program, and the get system set up</p>
<blockquote><p>apt-get -y install debootstrap<br />
debootstrap edgy /target</p></blockquote>
<p>Copy hosts &#038; sources.list to chrooted environment</p>
<blockquote><p>cp /etc/apt/sources.list /target/etc/apt<br />
cp /etc/resolv.conf /target/etc<br />
cp /etc/hosts /target/etc</p></blockquote>
<p>Now to the chroot</p>
<blockquote><p>chroot /target</p></blockquote>
<p>Once in the chrooted jail, open another terminal (outside of the jail) and remount special filesystems:</p>
<blockquote><p>mount &#8211;bind /dev /target/dev<br />
mount -t proc proc /target/proc<br />
mount -t sysfs sysfs /target/sys</p></blockquote>
<p>To get rid of the missing locale messages:</p>
<blockquote><p>locale-gen en_US.UTF-8</p></blockquote>
<p>Now install dmraid</p>
<blockquote><p>apt-get update &#038;&#038; apt-get install -y dmraid</p></blockquote>
<p>Now install ubuntu-standard</p>
<blockquote><p>apt-get -y install ubuntu-standard</p></blockquote>
<p>Install grub</p>
<blockquote><p>apt-get install -y grub</p></blockquote>
<p>Install the kernel - answer yes to the symlink question, and no to the abort question</p>
<blockquote><p>apt-get install -y linux-server</p></blockquote>
<p>Add a new user</p>
<blockquote><p>useradd [you]<br />
passwd [you]</p></blockquote>
<p>Now for some grub setup - this gets a bit involved&#8230;.</p>
<blockquote><p>mkdir /boot/grub<br />
cp /lib/grub/x86_64-pc/* /boot/grub/.<br />
ls /dev/mapper<br />
grub</p></blockquote>
<p>Tell grub what device to use for hd0</p>
<blockquote><p>device (hd0) /dev/mapper/[Device name from ls command above - NOT PARTITION]</p></blockquote>
<p>Set the root partition - this is the partition number of the boot partition, starting with the number 0!</p>
<blockquote><p>root (hd0,0)</p></blockquote>
<p>And now the grub setup</p>
<blockquote><p>setup (hd0)</p></blockquote>
<p>We&#8217;re done inside the grub prompt</p>
<blockquote><p>quit</p></blockquote>
<p>Now run Ubuntu&#8217;s command to update grub</p>
<blockquote><p>update-grub</p></blockquote>
<p>Before editing the menu.lst file, copy the name of the RAID drive again!<br />
Now we need to update the menu.lst file to reflect the dmraid setup.</p>
<blockquote><p>vim /boot/grub/menu.lst</p></blockquote>
<p>Going down the file - leave leading #&#8217;s as they are commands to the update-grub program:</p>
<ol>
<li>change # kopt_2_6=root=/dev/hda1 to # kopt_2_6=root=/dev/mapper/[root partition]</li>
<li>change # groot=(hd0,0) to be the correct boot partition</li>
<li>set # lockalternative=false to true</li>
<li>If /boot is on its own partition, remove the /boot/ directory names from the kernel and initrd lines</li>
<li>make sure the root= portion of the kernel lines point to the root partition of the RAID array</li>
<li>Save the file - optionally, you can set a password (please use an md5 hash!)</li>
</ol>
<p>Update the initramfs file!</p>
<blockquote><p>update-initramfs -c -k `ls /lib/modules`</p></blockquote>
<p>Update the fstab file - the easiest way to do this is to copy one from another system, or suffer through handwriting one without any guidance.</p>
<p>To install vmware-server, you will also need to install ia32-libs</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2007/02/24/ubuntu-on-sun-fire-x2200/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Same Site - New Server!</title>
		<link>http://htglimited.com/2006/12/30/same-site-new-server/</link>
		<comments>http://htglimited.com/2006/12/30/same-site-new-server/#comments</comments>
		<pubDate>Sun, 31 Dec 2006 00:17:15 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://htglimited.com/2006/12/30/same-site-new-server/</guid>
		<description><![CDATA[Well, we&#8217;ve done it - before the end of our first year of operation, we have purchased a new server.  And this time we mean new out of the box, not new to us!  With plenty of room to grow, and some jobs which may let us grow with more new servers, we&#8217;re set for [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we&#8217;ve done it - before the end of our first year of operation, we have purchased a new server.  And this time we mean new out of the box, not new to us!  With plenty of room to grow, and some jobs which may let us grow with more new servers, we&#8217;re set for an interesting 2007!  Thanks for being patient with us during our transition!  We at HTG want to wish all of you a prosperous 2007 - and we hope that you&#8217;ll remember us for your online needs!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2006/12/30/same-site-new-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New client!  www.lifewaychristianchurch.org</title>
		<link>http://htglimited.com/2006/10/11/new-client-wwwlifewaychristianchurchorg/</link>
		<comments>http://htglimited.com/2006/10/11/new-client-wwwlifewaychristianchurchorg/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 23:30:19 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
		
		<category><![CDATA[Hosted Sites]]></category>

		<guid isPermaLink="false">http://htglimited.com/2006/10/11/new-client-wwwlifewaychristianchurchorg/</guid>
		<description><![CDATA[We&#8217;re happy to announce the arrival of a new client!  LifeWay Christian Church is a non-profit church based out of Monroe, OH and needed a facelift on their web site.  Along with a podcast and online calendar, the site offers information about the church and news of programs and upcoming events.  If [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re happy to announce the arrival of a new client!  LifeWay Christian Church is a non-profit church based out of Monroe, OH and needed a facelift on their web site.  Along with a podcast and online calendar, the site offers information about the church and news of programs and upcoming events.  If your organization or business needs an online presence, email us at sales@htglimited.com with some basic information about you and we&#8217;ll collaborate with you to find a plan that fits your needs!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2006/10/11/new-client-wwwlifewaychristianchurchorg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Minimal Unix Hosting Plan</title>
		<link>http://htglimited.com/2006/09/30/minimal-unix-hosting-plan/</link>
		<comments>http://htglimited.com/2006/09/30/minimal-unix-hosting-plan/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 01:51:03 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://htglimited.com/2006/09/30/minimal-unix-hosting-plan/</guid>
		<description><![CDATA[To meet the needs of non-profits and other groups on a budget, we introduce the Minimal Unix Hosting Plan.  For $5 a month you get 100Mb of storage, 15Gb of bandwidth and all of the benefits of the Basic Unix Hosting Plan.  100Mb of storage doesn&#8217;t sound like a lot, but you might [...]]]></description>
			<content:encoded><![CDATA[<p>To meet the needs of non-profits and other groups on a budget, we introduce the Minimal Unix Hosting Plan.  For $5 a month you get 100Mb of storage, 15Gb of bandwidth and all of the benefits of the Basic Unix Hosting Plan.  100Mb of storage doesn&#8217;t sound like a lot, but you might be surprised with just how much you can fit in that amount of space.  Check out the <a href="http://htglimited.com/htg-pricing-plans/">Plans Page</a> for a more complete list of the features offered by this and all of our plans!</p>
]]></content:encoded>
			<wfw:commentRss>http://htglimited.com/2006/09/30/minimal-unix-hosting-plan/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
