<?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>Hawk Host Blog</title>
	<atom:link href="http://blog.hawkhost.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hawkhost.com</link>
	<description>All things Hawk Host</description>
	<lastBuildDate>Mon, 23 Aug 2010 18:08:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Droid2 &#8211; What can this sucker do?</title>
		<link>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=droid2-what-can-this-sucker-do</link>
		<comments>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 18:08:56 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=870</guid>
		<description><![CDATA[After several instances where my old phone had proven inadequate for my job I finally decided to get a smartphone. I wasn&#8217;t sure what to go with so after careful deliberation I opted for the new Droid 2. Coming from &#8230; <a href="http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After several instances where my old phone had proven inadequate for my job I finally decided to get a smartphone. I wasn&#8217;t sure what to go with so after careful deliberation I opted for the new <a title="Droid 2" href="http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-DROID-2-US-EN" target="_blank">Droid 2</a>.</p>
<p>Coming from a old regular phone and a old Blackberry I was quite surprised how robust and fast these things are. It was also a nice to see the Android platform finally after hearing so much about it &#8211; it&#8217;s sleek, fast and has an intuitive interface.</p>
<p>.. but I wanted more. Being a self proclaimed geek I wanted to know what can I do with this thing. Inevitably it will be eventually rooted and full blown customizations will make this phone a true delight to own. Until then what could I do with it? Well let&#8217;s see!</p>
<p><span id="more-870"></span></p>
<h3>Chatting</h3>
<p>Unfortunately I&#8217;ve been disappointed with the selection. It seems primarily people choose the official AIM  client or opt for Meebo IM. There is also a fairly promising Trillian application coming along however it&#8217;s still in beta and tends to crash fairly often.</p>
<p>There are two fundamental things that are missing from all of the applications I&#8217;ve tried:</p>
<p>1) No <a href="http://www.cypherpunks.ca/otr/" target="_blank">OTR</a> implementation / support</p>
<p>2) No proxy configuration</p>
<p>Why are these options missing in every client? These seem like no-brainer features &#8211; especially for a device that&#8217;s typically out on foreign networks.  Hopefully one exists that encompasses these features &#8211; if so let me know!</p>
<div id="attachment_871" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/meebo_qr.png"><img class="size-full wp-image-871  " title="Meebo IM" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/meebo_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Meebo IM</p></div>
<div id="attachment_872" class="wp-caption alignnone" style="width: 160px"><img class="size-full wp-image-872 " title="AIM Mobile" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/aim_qr.png" alt="" width="150" height="150" /><p class="wp-caption-text">AIM Mobile</p></div>
<div id="attachment_874" class="wp-caption alignnone" style="width: 160px"><img class="size-full wp-image-874" title="Trillian Android" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/trillian_qr1.png" alt="" width="150" height="150" /><p class="wp-caption-text">Trillian for Android</p></div>
<h3>E-Mail</h3>
<p>I haven&#8217;t looked too hard however one thing I noticed was the lack of <a href="http://en.wikipedia.org/wiki/IMAP_IDLE" target="_blank">IDLE</a> support for the bundled in mail client. It also didn&#8217;t have common functionality such as being able to set the time or interval to fetch e-mails from a remote server. Luckily there seems to be a De facto replacement called K-9 Mail. For all intents and purposes it should replace the default mail client and be used exclusively. It has full IDLE support as well as being able to specify when to download mail. It&#8217;s simple, fast and does its job perfectly.</p>
<div id="attachment_875" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/k-9mail_qr.png"><img class="size-full wp-image-875" title="K-9 Mail" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/k-9mail_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">K-9 Mail</p></div>
<h3>SSH</h3>
<p>One of my primary desires was to have a phone that could offer me a somewhat pleasurable SSH experience if I needed it (ever try to fix a server on a small Blackberry?). One of our customers <a href="http://twitter.com/bryanwp" target="_blank">@bryanwp</a> recommended ConnectBot. After using it for a mere five minutes it became abundantly clear why this was &#8220;the&#8221; SSH client to use. Aside from a simple and clear interface it provided something that is lacking (at least natively) in a lot of SSH applications: <a href="http://www.symantec.com/connect/articles/ssh-port-forwarding" target="_blank">port forwarding</a>. This allows you (amongst other things) to create a way to tunnel network traffic for an application over SSH. Unfortunately a lot of the applications don&#8217;t have any options for proxy settings.</p>
<p>Another cool use for port forwarding is it allows me to connect to my desktop computer via SSH. I&#8217;m behind a router however there is no need for any fancy routing &#8211; using remote forwarding from my desktop allows me to easily setup tunnels that my phone can access. Using this method I&#8217;m able to securely SSH into my desktop, use VNC securely, stream music / download files from home,  use my home network (white list approach on servers, etc) and pretty much anything I could do if I was on LAN.</p>
<div id="attachment_876" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/connectbot_qr.png"><img class="size-full wp-image-876" title="ConnectBot" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/connectbot_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">ConnectBot</p></div>
<h3>Google Voice</h3>
<p>Finally a phone with good Google Voice implementation (duh). The Google Voice support is simple and perfect. It has a simple inbox for your text messages and a few settings. Aside from that it integrating seamlessly with your phone. Outgoing calls you can direct through Google Voice or your primary number. Text messages is the same allowing you to select which service to go through. One cool perk is Google Voice offers free CA based calling while Verizon doesn&#8217;t &#8211; this is ideal for a company such as ours where several employees are on the border and travel fairly often.</p>
<div id="attachment_877" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlevoice_qr.png"><img class="size-full wp-image-877" title="Google Voice" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlevoice_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Google Voice</p></div>
<h3>Android VNC</h3>
<p>Yes you can even <a href="http://en.wikipedia.org/wiki/VNC" target="_blank">VNC</a> to remote computer from your phone. Using android-vnc-viewer you can connect to any VNC server. It&#8217;s actually a far better experience than I imagined possible and already have had a couple of uses for quick / small tasks that I needed to do while not at home.</p>
<div id="attachment_878" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/vnc_qr.png"><img class="size-full wp-image-878" title="Android VNC Client" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/vnc_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">android-vnc-viewer</p></div>
<p>I use this in conjunction with ConnectBot and SSH port forwarding to allow me to use a secure connection to my desktop while on foreign networks &#8211; I recommend you do the same.</p>
<h3>Launcher Pro</h3>
<p>LauncherPro is a home screen replacement for your Droid &#8211; think of it as a windows manager. I haven&#8217;t tried too many others and the ones I have not nearly long enough to judge how good they are (performance, features, etc) however I&#8217;ve been using LP for a few days and feel I&#8217;ve come to appreciate some of its features:</p>
<ul>
<li>Multiple Docks. &#8211; This allows you to have a scrollable dock in addition to desktops. This has proven to be my primary means of launching applications as it doesn&#8217;t give me enough space to fill it with junk but just enough for repeated use applications.</li>
<li>Dock Gestures &#8211; This allows you to assign an action to each of the icons in your doc that is activated by a swipe. These are extremely useful. If I swipe my Dialer icon it will open a Add Contact page. If I swipe my Messages icon it will start a new Google Voice text message and so forth.</li>
<li>Widgets &#8211; They look amazing and have amazing reviews. However until I fully explore my home screen replacements I&#8217;m not buying the upgrade to the full version until I&#8217;m exhaust the alternatives. They however do seem to be worth noting.</li>
<li>Launcher Pro Shortcuts &#8211; These are shortcuts on crack. They allow full custom control over your shortcuts that allow some distinct advantages over normal shortcuts. Succinctly put it allows you to tap into the <a href="http://developer.android.com/reference/android/content/Intent.html" target="_blank">Intent</a> class of the Android platform to allow you to communicate with applications directly (sending data to them, etc).</li>
</ul>
<div id="attachment_879" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/launcherpro_qr.png"><img class="size-full wp-image-879" title="Launcher Pro" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/launcherpro_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Launcher Pro</p></div>
<h3>RunKeeper</h3>
<p>There are several applications similar to this however RunKeeper has given me a flawless experience from the beginning so I see no reason to try the others.</p>
<p>RunKeeper allows you to track your runs / jogs / biking via GPS. It shows you some useful statistics such as elevation climb, your pace during the route, mile markers and others. It will also log your route on a Google Map to allow you to easily see what path you took.</p>
<p>There is also an option to sync your activities to the <a href="http://runkeeper.com/" target="_blank">RunKeeper.com</a> website which allows you to break down your activity even further.</p>
<div id="attachment_880" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/runkeeper_qr.png"><img class="size-full wp-image-880" title="RunKeeper" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/runkeeper_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">RunKeeper</p></div>
<h3>Google Gesture Search</h3>
<p>It quickly becomes evident that you may need additional means of searching for things on your phone. I find Google Gesture Search to be a quick way to accurately search your phone in the quickest manner. Simply put you start writing letters out using your finger and it lists matches accordingly.</p>
<p>It also has an option to be triggered by a <a href="http://www.youtube.com/watch?v=gD3ZYKIqj7A" target="_blank">&#8220;Double Flip&#8221;</a> however I find this to be unnaturaland a pain to do. I instead place it in one of my docks.</p>
<div id="attachment_881" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlegesture_qr.png"><img class="size-full wp-image-881" title="Google Gesture Search" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlegesture_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Google Gesture Search</p></div>
<h3>Barcode Scanner</h3>
<p>This is a suprisingly useful application. It allows you to scan different types of barcodes and reads the data. It then gives you options to use that data in some way (open a browser, market, contact, etc).</p>
<p>It also seems to be a popular way to distribute application links (as seen through this post). You however can use it to store contact information as well:</p>
<div id="attachment_882" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/cody-qr.png"><img class="size-full wp-image-882 " title="Cody QR" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/cody-qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Cody Robertson</p></div>
<p style="text-align: left;">
<div id="attachment_883" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/barcode_qr.png"><img class="size-full wp-image-883" title="Barcode Scanner" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/barcode_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Barcode Scanner</p></div>
<h3>Astrid Tasks</h3>
<p>Out of all of the to-do list applications this one is my favorite. It&#8217;s fast and simple but offers small features th at set it apart from the others. One neat feature is if you click on a task you can start a timer, tag support and integration with <a href="http://www.rememberthemilk.com/" target="_blank">Remember The Milk</a> for remote syncing / integration.</p>
<div id="attachment_884" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/astrid_qr.png"><img class="size-full wp-image-884" title="Astrid Tasks" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/astrid_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Astrid Tasks</p></div>
<h3>PayPal</h3>
<p>This is a simple application form PayPal to .. well do PayPal based things. It has a simple mobile friendly interface and allows you to perform basic operations such as sending money, withdrawing money, and a few other things.</p>
<p>You can also setup a &#8220;mobile PIN&#8221; to allow for fast logins via your phone &#8211; this is extremely useful for people who have very long passwords.</p>
<div id="attachment_885" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/paypal_qr.png"><img class="size-full wp-image-885" title="PayPal Mobile" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/paypal_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">PayPal Mobile</p></div>
<h3>Beautiful Widgets</h3>
<p>This is a paid application however I find it wonderful as it adds a handful of high quality widgets for your phone. The show stopper being the <a href="http://levelupstudio.com/widgets/weather" target="_blank">weather widget</a> which is very aesthetically pleasing however the others equally as useful allowing for toggling of ringer modes, WiFi, Bluetooth, GPS and a few others.</p>
<div id="attachment_886" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/bwidgets_qr.png"><img class="size-full wp-image-886" title="Beautiful Widgets" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/bwidgets_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Beautiful Widgets</p></div>
<h3>Twonky Server</h3>
<p>This application is mind numbingly simple. You start it and it scans your phone for music, pictures and videos. It then can starts a server and shares them using <a href="http://en.wikipedia.org/wiki/Dlna" target="_blank">DLNA</a>. This allows you to easily share content from your phone to most media centric devices such as the XBOX or PS3.</p>
<div id="attachment_887" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/twonky_qr.png"><img class="size-full wp-image-887" title="Twonky Server" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/twonky_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Twonky Server</p></div>
<h3>FTPserver</h3>
<p>This is a very simple application that allows you to start a FTP server on your phone. This allows you to easily transfer files between your computer and phone using simply a FTP client. It supports basic authentication and simple permission based rules (allow connections from what network(s)).</p>
<div id="attachment_888" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/ftp_qr.png"><img class="size-full wp-image-888" title="FTPServer" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/ftp_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">FTPServer</p></div>
<p>That wraps up some of my favorite uses / applications for the Android platform. If you have any suggestions please don&#8217;t hesitate to make a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hawk Host August 2010 News</title>
		<link>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=hawk-host-august-2010-news</link>
		<comments>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 01:41:45 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=856</guid>
		<description><![CDATA[I cannot believe that it&#8217;s already August it felt like just yesterday I was talking about how 2010 was finally here.  It&#8217;s about a good time to post about all the interesting things that have happened in July and what &#8230; <a href="http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I cannot believe that it&#8217;s already August it felt like just yesterday I was talking about how 2010 was finally here.  It&#8217;s about a good time to post about all the interesting things that have happened in July and what is coming in August.<span id="more-856"></span></p>
<p><strong>New Servers</strong></p>
<p>We&#8217;re constantly growing which means we&#8217;re always adding new servers and July and early August we added a bunch of machines compared to what we used to add a year ago.  We added Mirage on July 5th which is our first reseller only server and it&#8217;s based in Dallas.  We then added yet another reseller server this time Tornado which is in Seattle.  Then finally we added Lightning to increase our shared only fleet in Dallas.  We&#8217;ve been working towards having shared and reseller separated rather than being creative like we had in the past.  Due to our increasing size it is now possible to do this as we fill our high end servers much faster than we used to.  Along with these new servers to put customers on we&#8217;ve added a second development / test server.  This will allow us to continue to test new features and not slow down development of other features.  We now have a total of two servers for this function with one being for our VPS panel and another being for cPanel testing.  Of course we can change their purposes very fast thanks to Softlayer so it&#8217;s quick for us to reload a system to test something else.</p>
<p><strong>New cPanel Theme</strong></p>
<p>We&#8217;ve been talking about doing this for quite a while but it&#8217;s always been something that is along the lines of we&#8217;ll do it eventually.  Well that&#8217;s finally over we finally got around to working on it.  Right now it&#8217;s more cosmetic changes which you can see right here:<strong><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/new_theme.png"><img class="aligncenter size-medium wp-image-861" title="New Theme" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/new_theme-300x129.png" alt="" width="300" height="129" /></a></strong></p>
<p>We have other big plans for it though as this was just the start.  Right now it&#8217;s a nice fancy new logo up top.  Along with that a bunch of useful links to parts of our web site.  This is by no means the final version of the design it&#8217;s just a start.  Along with that more features will be coming to our theme.  Here&#8217;s just some sample idea&#8217;s we&#8217;ve been throwing around: quick mod_security enable / disable, easy way to change php values (register_globals, upload limits etc.), easily switch to using google apps for email.  So look out for new features showing up in your cPanel over the next few months.</p>
<p>As for what machines this theme is on well right now it&#8217;s on Mustang, Spitfire, Voodoo and Lightning and any other *.hawkhost.com servers we add.  The theme portion will never show up on any of our legacy servers unfortunately.  There are complications that are only resolved on our shared hosting only servers.  What will show up however is any plugins we add to our cPanel.  So if we add the ability to turn on/off mod_security it will show up on all our servers.</p>
<p><strong>CPU Usage Abuse Solution</strong></p>
<p>As we&#8217;ve grown one thing that has grown with us is the CPU abuse we deal with.  Unfortunately as we become more popular more people who think our web hosting can be used as their own personal dedicated server show up.  As it stands we currently act on them as we see them attempting to warn users when possible to get them to reduce usage.  In really bad cases we just disable their account on the spot and email them.  Now the problem with this system is a large majority either do not respond or when they do they don&#8217;t ever resolve the problem and they get their account disabled repeatedly.  Also of course depending on their usage they may be causing slow downs of our servers.  Like any web host in our price range we do not have the time to be optimizing user web sites.  In fact I doubt any shared web host would be willing to go through and attempt to optimize user made scripts or figure out which of the 50 plugins installed in wordpress is causing the problem.</p>
<p>On Frog Host we previously had our own system to report CPU usage to the users.  This was great or so we thought we had measured CPU and MySQL usage in units and reported it to the others.  Unfortunately though no users are actually using this data to possibly reduce their usage.  So we finally realized we either were going to need to make our own system more pro active or find software that would.  If we went our own route it would have been a system where a users site shows suspended for a period of time after using X amount of CPU for x amount of minutes.  This just did not seem ideal as we&#8217;ve read about providers doing this and all the complaints they received as a result.   So obviously we went looking for a much better solution and we found one.</p>
<p><a href="http://www.cloudlinux.com/">Cloud Linux</a> ended up being a solution people had started talking about.  We threw it up on our test server checked it out and it was really impressive.  It is now running on Frog Host and it&#8217;s been extremely impressive.  It has helped us stop users from abusing CPU while not giving them ugly suspended messages.  The idea is if you&#8217;re using a lot of CPU rather than slowing down the entire server you slow down just your site.  This is an excellent solution to CPU abuse we think and greatly reduces the amount of time we currently have to spend working with users on them using to much CPU.  It&#8217;s probably a bit away from showing up on Hawk Host servers but it is in the running as our solution for both Hawk Host and Frog Host considering how great it&#8217;s doing on Frog Host thus far.</p>
<p>If it does end up being our choice we will of course add useful features for users to help see what their usage is in real time.  So if your web site is slow you&#8217;ll be able to login to your cPanel and see how much CPU and memory you&#8217;re using.  You&#8217;ll also be able to hopefully bring up the process list and see which processes you have that are using all your resources.</p>
<p><strong>New VPS Panel</strong></p>
<p>It&#8217;s not vapor ware it&#8217;s still being worked on unfortunately never gets the priority it deserves.  We&#8217;re not a big VPS company we don&#8217;t have thousands of nodes so it&#8217;s a little tougher to justify spending a lot of time on it.  That being said I think we&#8217;re getting close with a lot of what needed to be done is done.  We&#8217;re working on adding some useful features and making it more user friendly.  So maybe later some posts will finally show up with some screen shots who knows.</p>
<p><strong>Misc Things</strong></p>
<p>Well our forum has a new logo that&#8217;s always good to have.  I personally got a new car and it&#8217;s not Hawk Host themed but instead red.  We added some banners for Hawk Host which can be found in our <a href="http://forums.hawkhost.com/topic/944-banners/">forums</a>.  We&#8217;ve switched the way we do stats processing on servers we now use piped logging.  This should help with having less frequent restarts of the web server even though they&#8217;re graceful you&#8217;d rather not have them at all!  We&#8217;re looking forward to the new version of the support software we use Kayako SupportSuite which is now called Kayako Fusion.  If it does what it promises it should improve how we handle support slightly.  Softlayer our provider was sold to the GI partners but it should not affect us in anyway but it is worth noting.  Then finally we&#8217;ve grown exponentially as always which I&#8217;ll talk about in September as our corporate year end is August 31st.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>TMUX – The Terminal Multiplexer (Part 2)</title>
		<link>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tmux-%25e2%2580%2593-the-terminal-multiplexer-part-2</link>
		<comments>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 20:03:05 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[tmux]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=798</guid>
		<description><![CDATA[In part 1 I went over the basics of tmux and how to utilize its basic features. In this portion I&#8217;m going to dive a bit more into customizing tmux to make it easier and prettier to work with. I&#8217;ll &#8230; <a href="http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In <a title="The Terminal Multiplexer Part 1" href="http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/" target="_blank">part 1</a> I went over the basics of <em>tmux</em> and how to utilize its basic features. In this portion I&#8217;m going to dive a bit more into customizing <em>tmux</em> to make it easier and prettier to work with. I&#8217;ll also give some examples on how to utilize the client/server model.</p>
<p><span id="more-798"></span></p>
<p>Since this part is less of a tutorial and more of a tips / reference I decided a table of contents based layout would be a bit easier to use:</p>
<p><strong>Note: If you have any tips, tricks or pre-made configurations you want to contribute to this post please do so in the comments and I&#8217;ll append them to this post.</strong></p>
<p><strong>Note**: You can type the commands into a live tmux session or place them in ~/.tmux.conf file which is automatically loaded when tmux is started.</strong></p>
<p><strong>Modify tmux bindings</strong></p>
<ul>
<li><a href="#rebinding-action-key">Rebinding the action key (Ctrl-b)</a></li>
<li><a href="#bind-last-window">Bind a key to switch between last active window</a></li>
<li><a href="#rebinding-pane-bindings">Rebinding pane splitting bindings</a></li>
</ul>
<p><strong>Modify tmux looks &amp; style</strong></p>
<ul>
<li><a href="#modifying-tab-color">Modifying tab color &amp; looks</a></li>
<li><a href="#adding-information">Adding information to your session</a></li>
</ul>
<p><strong>Misc tips &amp; tricks</strong></p>
<ul>
<li><a href="#tmux-shell-scripting">Setting up your tmux environment via shell scripting</a></li>
<li><span style="color: #000000;"><a href="#tmux-window-activity">Notify you when a window has activity</a></span></li>
<li><span style="color: #000000;"><a href="#tmux-window-rename">Have tmux rename window automatically on command run</a></span></li>
</ul>
<h3>Modify tmux bindings</h3>
<p>By default <em>tmux</em> has a decent default layout for hotkeys however there are a few keys that either made my fingers contort into ways they shouldn&#8217;t have or keys I simply always forgot. Luckily <em>tmux</em> offers a very simple syntax to rebind any key.</p>
<h4 id="rebinding-action-key" style="font-size: 18px;">Rebinding the Action Key</h4>
<p>Here is how you can rebind the <strong><em>Ctrl-b</em> </strong>prefix to be something a bit easier to type. I personally use <strong><em>Ctrl-a</em></strong> similar to screen:</p>
<blockquote><p>set-option -g prefix C-a</p></blockquote>
<p><strong><em>Note: The &#8220;-g&#8221; switch stands for global so the binding will affect every window. Alternatively the set-option command accepts arguments to specify the session and target of that particular binding if you like.</em></strong></p>
<p>Now every subsequent command will be prefixed with <strong><em>Ctrl-a</em><span style="font-weight: normal;"> instead of </span><em>Ctrl-b</em><span style="font-weight: normal;">.</span></strong></p>
<h4 id="bind-last-window" style="font-size: 18px;">Binding a key for &#8220;last-window&#8221;</h4>
<p>One of my favorite screen hotkeys is the last window hotkey which allows you to quickly switch between the current window and last window that was active. By default tmux doesn&#8217;t have a binding for this however it can easily be achieved by using the following:</p>
<blockquote><p>bind-key C-a last-window</p></blockquote>
<p>What this does is binds <strong><em>Ctrl-a</em></strong> to switch between the last active window. To use this binding you would hit <strong><em>Ctrl-a</em></strong> twice (since the prefix is set to <em><strong>Ctrl-a</strong></em> and the binding <em><strong>Ctrl-a</strong></em>).</p>
<h4 id="rebinding-pane-bindings" style="font-size: 18px;">Rebinding the pane splitting bindings</h4>
<p>One of the most powerful features of tmux is the ability to natively split your windows into several panes. Unfortunately the default bindings to achieve this are simply unintuitive. As a result I&#8217;ve rebound the splitting commands to something I could remember:</p>
<blockquote><p>unbind % # Remove default binding since we&#8217;re replacing<br />
bind | split-window -h<br />
bind &#8211; split-window -v</p></blockquote>
<p>At first this may look odd but for me it&#8217;s easier to remember that <em><strong>&#8220;|&#8221;</strong></em> splits the screen vertically while <em><strong>&#8220;-&#8221;</strong></em> splits the screen horizontally.  To achieve the below window structure you would type the following sequence:</p>
<blockquote><p>Ctrl-a |<br />
Ctrl-a -<br />
Ctrl-a -</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/splitting-panes.png"><img class="aligncenter size-medium wp-image-814" title="TMUX - Splitting Panes" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/splitting-panes-300x182.png" alt="" width="300" height="182" /></a></p>
<p>The first <em><strong>Ctrl-a |</strong></em>command splits the current window in half. The active window is the pane on the right so the subsequent <strong><em>Ctrl-a -</em></strong> splits that window into two vertically. Hitting <em><strong>Ctrl-a -</strong></em> once more now splits that active window into two more by splitting it vertically.</p>
<p><strong><em>Note: Depending on the active layout you&#8217;re using the behavior of how the windows split may be different.</em></strong></p>
<h3>Modify tmux look &amp; style</h3>
<p>The default colors and style of tmux isn&#8217;t awful however it&#8217;s somewhat bland for my liking. I personally only have modified tmux slightly however it allows you to do quite a bit. In this section I&#8217;ll go over some of tmux&#8217;s style features.</p>
<h4 id="modifying-tab-color" style="font-size: 18px;">Modifying tab color &amp; looks</h4>
<p>By default the tab colors are pretty bland and it makes it difficult to distinguish the active window from the other windows. Here is the default tmux tabs vs. the modified ones (snippet below):</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs.png"><img class="aligncenter size-full wp-image-822" title="tmux-tabs" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs.png" alt="" width="221" height="34" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs2.png"><img class="aligncenter size-full wp-image-823" title="tmux-tabs2" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs2.png" alt="" width="275" height="34" /></a>As you can see the latter version is much more clear and uses some variable expansions tmux provides (hostname, etc). You can achieve this output with the following:</p>
<blockquote><p># Set status bar<br />
set -g status-bg black<br />
set -g status-fg white<br />
set -g status-left &#8216;#[fg=green]#H&#8217;</p></blockquote>
<p>The first two commands set the background to black and the text to white. The third command is where the magic happens: the <strong>status-left </strong>command tells tmux to display the following text to the left of the terminal. The <strong><em>[fg=green]#H</em></strong> portion tells tmux to display the hostname of localhost and make it green. The <em><strong>#H</strong></em> portion is part of <em>tmux</em> variable expansion &#8211; please refer to the <a href="http://cheasy.de/tmux.pdf" target="_blank">man pages</a> for more information on other ones you can use.</p>
<p>That alone doesn&#8217;t account for highlighting the active window. If you want to do that use the following snippet:</p>
<blockquote><p># Highlight active window<br />
set-window-option -g window-status-current-bg red</p></blockquote>
<p>The <strong>set-window-option -g window-status-current-bg red </strong>command tells tmux to change the background of the current active window to red. The <strong>set-window-option </strong>command has several other options you can pass to it to achieve similar affects.</p>
<h4 id="adding-information" style="font-size: 18px;">Adding information to your session</h4>
<p>Sometimes it might be useful to add some information from your local machine to the <em>tmux</em> screen. Earlier we played with the <strong>status-left</strong> command which sets the left portion of the status bar. Let&#8217;s use the <strong>status-right</strong> command to add some information to the right side:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-right-status.png"><img class="aligncenter size-full wp-image-826" title="tmux-right-status" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-right-status.png" alt="" width="661" height="33" /></a></p>
<p>As you can see I&#8217;ve added the amount of users logged in and the current load average for my computer. This was achieved with the following snippet:</p>
<blockquote><p>set -g status-right &#8216;#[fg=yellow]#(uptime | cut -d &#8220;,&#8221; -f 2-)&#8217;</p></blockquote>
<p>Similar to before the <strong>#[fg=yellow]</strong> portion tells tmux to make the font yellow. The <strong>#(uptime | cut -d &#8220;,&#8221; -f 2-)</strong> portion tells tmux to run that cmd and output it on the right of the status bar.</p>
<p><strong>Note: If you&#8217;re not familiar with shell scripting this command is very simple. It runs the <em>uptime</em> command and then passes it to the <em>cut</em> command which splits it at the commas (,). The <em>-f 2-</em> portion says to print out everything from the second comma onward.</strong></p>
<p><strong>Note**: By default the status bar is redrawn every 15 seconds however you can modify this by setting the <em>status-interval</em> command.</strong></p>
<h3>Misc tips &amp; tricks</h3>
<h4 id="tmux-shell-scripting" style="font-size: 18px;">Using shell scripting to setup your tmux enviroment</h4>
<p>Tmux allows you to easily run commands for your different sessions through the command line without having to ever login to the session. This also allows us to make a simple bootstrap script which will setup your tmux environment and log you into it. Here is an example script I personally use:</p>
<pre class="brush: bash;">
#!/bin/sh
tmux new-session -d -s hawkhost

tmux new-window -t hawkhost:1 -n 'Server1' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:2 -n 'Server2' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:3 -n 'Server3' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:4 -n 'Server4' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:5 -n 'Server5' 'ssh root@10.x.x.x'

tmux select-window -t hawkhost:1
tmux -2 attach-session -t hawkhost
</pre>
<p>The command <strong>new-session</strong> <strong>-d -s hawkhost </strong>creates a new <em>tmux</em> session, detaches it (so it doesn&#8217;t open in your current terminal) and names it <em>hawkhost</em> in this case.</p>
<p>The following set of <strong>new-window </strong>commands create five new windows and executes the command at the end. The arguments are broken down as follows: <strong>-t hawkhost :1 </strong>tells tmux to &#8220;target&#8221; the session <em><strong>hawkhost</strong></em> and the window with the id of <em><strong>1</strong><span style="font-style: normal;">. The <strong>-n &#8216;Server1&#8242; &#8216;ssh root@10.x.x.x&#8217;</strong> portion tells tmux to name the window </span><strong>Server1</strong><span style="font-style: normal;"> and execute the <strong><em>ssh root@10.x.x.x</em></strong> command in it.</span></em></p>
<p><em><span style="font-style: normal;">The last two commands are pretty straight forward. The <strong>select-window -t hawkhost:1</strong> command tells tmux that you want the active window the session to be </span><span style="font-style: normal;"><strong>hawkhost</strong></span><span style="font-style: normal;"> and window </span><span style="font-style: normal;"><strong>1</strong></span><span style="font-style: normal;">. The <strong>-2 attach-session -t hawkhost</strong> tells tmux you want to attach the terminal with 256 colors and attach to the session </span><span style="font-style: normal;"><strong>hawkhost</strong></span><span style="font-style: normal;">.</span></em></p>
<p><strong>Note: This is the command that brings the tmux session to the foreground. If you recall earlier when the script created the session we specified the </strong><em><strong>-d</strong></em><strong> switch which prevents it from loading in your terminal.</strong></p>
<h4 id="tmux-window-activity" style="font-size: 18px;">Notify you when a window has activity</h4>
<p>This quick snippet will have tmux notify you in the status area when a window has activity:</p>
<blockquote><p># Set window notifications<br />
setw -g monitor-activity on<br />
set -g visual-activity on</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity.png"><img class="aligncenter size-full wp-image-839" title="tmux-window-activity" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity.png" alt="" width="410" height="59" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity2.png"><img class="aligncenter size-full wp-image-840" title="tmux-window-activity2" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity2.png" alt="" width="343" height="37" /></a>As you can see in the first image it lets me know that there was activity in window 0 (in this case <strong><em>sleep 10 &amp;&amp; echo &#8220;narwhal&#8221;</em></strong> and switching the window).</p>
<h4 id="tmux-window-rename" style="font-size: 18px;">Automatic window rename</h4>
<p>You can have <em>tmux</em> rename the window to the command that is currently running. This is useful when you load up something such as <em>irssi</em> and the window is labeled accordingly:</p>
<blockquote><p># Automatically set window title<br />
setw -g automatic-rename</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-rename.png"><img class="aligncenter size-full wp-image-846" title="tmux-window-rename" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-rename.png" alt="" width="301" height="43" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TMUX &#8211; The Terminal Multiplexer (Part 1)</title>
		<link>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tmux-the-terminal-multiplexer</link>
		<comments>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:31:05 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[tmux]]></category>
		<category><![CDATA[tmux tutorial]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=587</guid>
		<description><![CDATA[tmux is similar to screen as it lets you run numerous TTY&#8217;s in the same terminal window. It supports some very cool and intuitive features natively as well as a much more readable configuration syntax (ever looked at a .screenrc &#8230; <a href="http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/2.png"></a>tmux</em> is similar to <em>screen</em> as it lets you run numerous TTY&#8217;s in the same terminal window. It supports some very cool and intuitive features natively as well as a much more readable configuration syntax (ever looked at a .screenrc file?).</p>
<p><span id="more-587"></span></p>
<h3>Why TMUX over Screen?</h3>
<p>Well according to the FAQ for <em>tmux</em> it has the following advantages over screen:</p>
<ul>
<li>A clearly defined cilent/server model (windows are their own clients which allows flexibility on how you handle windows. You can attach and detach different windows in different sessions without any issues)</li>
<li>Consistent, well-documented command interface. (You can use the same commands interactively as in the .tmux.conf file, more on that later)</li>
<li>Easily scriptable</li>
<li>Multiple paste buffers</li>
<li>Vi &amp; Emacs keybindings</li>
<li>A more usable status line syntax (which also allows you to embed the output of a shell command, handy indeed.</li>
</ul>
<h3>Default keybindings &amp; Functionality</h3>
<p>The default keybindings for tmux are actually pretty intuitive, though if you&#8217;re used to screen you&#8217;ll likely get a little peeved with the default action binding of <em>C-b</em>, though this is easily changed to mimic screens behavior:</p>
<p><strong>*NOTE* </strong>If you&#8217;re like me the <em>Ctrl-b</em> binding isn&#8217;t horribly intuitive especially if you&#8217;re used to <em>screen</em>. You can rebind this by putting the following in <strong><em>~/.tmux.conf</em><span style="font-weight: normal;">:</span></strong></p>
<blockquote><p><strong><span style="font-weight: normal;">set -g prefix Ctrl-a</span></strong></p></blockquote>
<ul>
<li><strong><em>Ctrl-b c</em></strong> Create new window</li>
<li><strong><em>Ctrl-b d</em></strong> Detach current client</li>
<li><em><strong>Ctrl-b l</strong></em> Move to previously selected window</li>
<li><em><strong>Ctrl-b n</strong></em> Move to the next window</li>
<li><em><strong>Ctrl-b p</strong></em> Move to the previous window</li>
<li><em><strong>Ctrl-b &amp;</strong></em> Kill the current window</li>
<li><em><strong>Ctrl-b ,</strong></em> Rename the current window</li>
<li><em><strong>Ctrl-b %</strong></em> Split the current window into two panes</li>
<li><em><strong>Ctrl-b q</strong></em> Show pane numbers (used to switch between panes)</li>
<li><em><strong>Ctrl-b o</strong></em> Switch to the next pane</li>
<li><em><strong>Ctrl-b ?</strong></em> List all keybindings</li>
</ul>
<p>Now these are pretty self explanatory &#8211; the real magic (for me) of <em>tmux</em> is the ease of modifying the default behavior to do what <em>you</em> want, but first things first: let&#8217;s explore the default behavior of <em>tmux.</em></p>
<h3>Basic Window Handling</h3>
<p>Start up tmux with the tmux command and you should be greeted with a simplistic terminal window that resembles screen &#8211; the only difference is it has a default status bar which is nice (easily added to screen as well).</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/1.png"><img class="size-medium wp-image-753 aligncenter" title="TMUX" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/1-300x219.png" alt="Terminal Multiplexer" width="300" height="219" /></a></p>
<p>Now let&#8217;s create a couple of windows and go through them (we&#8217;ll be using the default bindings). Hit <em><strong>Ctrl-b c</strong></em> a few times to create a few windows, you should notice that there are more tabs in the status bar.</p>
<p>Now if you&#8217;re like me you like to have descriptive names of which each window is for, so let&#8217;s rename them by hitting <em><strong>Ctrl-b ,</strong></em>. It should prompt you to rename the current window &#8211; type anything you want and hit enter. Now the current window is renamed to what you specified. Now going forward I&#8217;m going to have two windows open respectively named &#8220;window1&#8243; and &#8220;window2&#8243;.</p>
<p>Once you rename your windows lets switch back and forth. We have several different ways of switching windows, so I&#8217;ll go over the ones I personally use:</p>
<ul>
<li><em><strong>Ctrl-b n</strong></em> (Move to the next window)</li>
<li><em><strong>Ctrl-b p</strong></em> (Move to the previous window)</li>
<li><em><strong>Ctrl-b l</strong></em> (Move to the previously selected window)</li>
<li><em><strong>Ctrl-b w</strong></em> (List all windows / window numbers)</li>
<li><em><strong>Ctrl-b &lt;window number&gt;</strong></em> (Move to the specified window number, the default bindings are from 0 &#8211; 9)</li>
</ul>
<p>Now these ones fairly self explanatory however they don&#8217;t really cater to a lot of different windows. What if you have 10+ windows open? It becomes quite tedious to find the window you want &#8211; but don&#8217;t fret! Tmux has a <em>find-window</em> option &amp; keybinding. Type <em><strong>Ctrl-b f</strong></em> and type in the window name you want (it actually searches for the window so you can type in only part of the name of the window you&#8217;re looking for).</p>
<p>You can also get a list of the windows in the current session by executing the <em>list-windows</em> command. To execute commands interactively you type <em><strong>Ctrl-b :</strong></em> which will bring up a text prompt. From there you can execute any command <em>tmux</em> supports interactively (tab completion is supported).</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/2.png"><img class="aligncenter size-medium wp-image-761" title="TMUX - Interactive Prompt" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/2-300x218.png" alt="Terminal Multiplexer - Interactive Prompt" width="300" height="218" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/3.png"><img class="aligncenter size-medium wp-image-759" title="TMUX - List Windows" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/3-300x218.png" alt="Terminal Multiplexer - List Windows" width="300" height="218" /></a></p>
<h3>Basic Pane Handling</h3>
<p>One of the most powerful features tmux offers is the ability to split up your current window into &#8220;panes&#8221;. Anyone whose familiar with tiling windows managers will feel quite at home. It&#8217;s a bit difficult to explain this in words so a simple screenshot will suffice:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/4.png"><img class="aligncenter size-medium wp-image-765" title="TMUX - Split Windows" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/4-300x219.png" alt="Terminal Multiplexer - Split Windows" width="300" height="219" /></a></p>
<p>Now here are some basic key bindings and commands to split the terminal window (vertically and horizontally) and to switch between them</p>
<ul>
<li><em><strong>Ctrl-b %</strong></em> (Split the window vertically)</li>
<li><em><strong>Ctrl-b : &#8220;split-window&#8221;</strong></em> (Split window horizontally)</li>
<li><em><strong>Ctrl-b o</strong></em> (Goto next pane)</li>
<li><em><strong>Ctrl-b q</strong></em> (Show pane numbers, when the numbers show up type the key to goto that pane)</li>
<li><em><strong>Ctrl-b {</strong></em> (Move the current pane left)</li>
<li><em><strong>Ctrl-b }</strong></em> (Move the current pane right)</li>
</ul>
<p>Now some obviously the default bindings don&#8217;t encompass some of features, such as splitting horizontally. I personally rebind the keys so &#8220;|&#8221; splits the current window vertically, and &#8220;-&#8221; splits it horizontally. Not the easiest things to type, though easy to remember.</p>
<p>You can achieve this by putting the following in <strong><em>~/.tmux.conf </em><span style="font-weight: normal;">or by typing it in the interactive prompt (</span><em>Ctrl-b :</em><span style="font-weight: normal;">). Keep in mind if you do the latter it will only be in effect for that session:</span></strong></p>
<blockquote><p><strong><span style="font-weight: normal;">unbind %<br />
bind | split-window -h<br />
bind &#8211; split-window -v </span></strong><strong><span style="font-weight: normal;"> </span></strong></p></blockquote>
<h3>Advanced Window Handling</h3>
<p>Now that we went over the basics lets dive a little deeper into some &#8220;advanced&#8221; features of <em>tmux</em>. This includes moving windows around, linking windows together, switching windows from different sessions and much more. By default <em>tmux</em> doesn&#8217;t have key bindings for these features, so we&#8217;ll be entering them in the interactive dialog (accessed by typing <em><strong>Ctrl-b :</strong></em>) &#8211; keep in mind <em>tmux</em> is very scriptable and you can easily create your own key bindings for all of these.</p>
<h3>Moving Windows</h3>
<p>Now if you want to move a window you can use the <strong><em>move-window</em></strong> command. The command to do this:</p>
<blockquote>
<div id="_mcePaste">move-window [ −d] [ −s src-window] [ −t dst-window]</div>
<div>swap-window [ -d] [ -s src-window] [ -t dst-window]</div>
</blockquote>
<p>Similar to the above command except both windows have to exist &#8211; if they both do the window with the ID source and destination windows will be swapped.</p>
<h3>Advanced Pane Handling</h3>
<p>When you split up a window into multiple smaller windows they&#8217;re referred to as panes. Tmux also offers &#8220;layouts&#8221; for the panes, or the default positioning and behavior when you create a new window. You can switch through the panes by using the key binding <em><strong>Ctrl-b &lt;space&gt;</strong></em> which will toggle through the different layouts. Each one has different behaviors such as <em><strong>main-vertical</strong></em> which means the current active pane will take up more space in the current window, or <strong><em>even-vertical</em></strong> which will split the panes equally. Since this is difficult to describe in text I believe a few screen shots are in order:</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/main-vertical.png"><img class="aligncenter size-medium wp-image-776" title="main-vertical" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/main-vertical-300x219.png" alt="" width="300" height="219" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-horizontal.png"><img class="aligncenter size-medium wp-image-774" title="even-horizontal" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-horizontal-300x218.png" alt="" width="300" height="218" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-vertical.png"><img class="size-medium wp-image-775 aligncenter" title="even-vertical" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-vertical-300x218.png" alt="" width="300" height="218" /></a></p>
<p>Now that you&#8217;ve seen the different layouts let&#8217;s see what we can do with these panes. As mentioned above in the &#8220;Pane Handling&#8221; section you can switch through panes by issuing the <em><strong>Ctrl-b o</strong></em> key combination (which is using the <em><strong>down-pane</strong></em> command) or by typing <em><strong>Ctrl-b q</strong></em> which will list the pane ID&#8217;s and you select the one you want.</p>
<h3>Make your pane into its own window</h3>
<p>If you want to take a pane and make it into its own window you do the following:</p>
<blockquote><p><strong>Ctrl-b : &#8220;break-pane&#8221;</strong></p></blockquote>
<p>Simple enough, you should now have the pane in its brand new window. If you don&#8217;t want it to automatically make the pane you just broke out as the active window issue the &#8220;-d&#8221; switch which will simply break the pane to a new window but keep you in the current window.</p>
<h3>Resizing Panes</h3>
<p>You can also resize panes if you don&#8217;t like the layout defaults. I personally rarely need to do this, though it&#8217;s handy to know how. Here is the basic syntax to resize panes:</p>
<blockquote><p><strong>Ctrl-b : resize-pane</strong> (By default it resizes the current pane down)<br />
<strong> Ctrl-b : resize-pane -U</strong> (Resizes the current pane upward)<br />
<strong> Ctrl-b : resize-pane -L</strong> (Resizes the current pane left)<br />
<strong> Ctrl-b : resize-pane -R</strong> (Resizes the current pane right)<br />
<strong> Ctrl-b : resize-pane 20</strong> (Resizes the current pane down by 20 cells)<br />
<strong> Ctrl-b : resize-pane -U 20</strong> (Resizes the current pane upward by 20 cells)<br />
<strong> Ctrl-b : resize-pane -L 20</strong> (Resizes the current pane left by 20 cells)<br />
<strong> Ctrl-b : resize-pane -R 20</strong> (Resizes the current pane right by 20 cells)<br />
<strong> Ctrl-b : resize-pane -t 2 20</strong> (Resizes the pane with the id of 2 down by 20 cells)<br />
<strong> Ctrl-b : resize-pane -t -L 20</strong> (Resizes the pane with the id of 2 left by 20 cells)<br />
&#8230; etc</p></blockquote>
<p>Hopefully you get the jist &#8211; don&#8217;t get confused! Simply load up a tmux session and split the window a couple of times and issue the above commands. It should become fairly evident how it behaves after fiddling with it for a bit.</p>
<h3>Utilizing the client / server model</h3>
<p>I&#8217;ve avoided mentioning that a lot of these commands can actually be applied to numerous tmux sessions which allows quite a bit of flexibility &#8211; the reason for avoiding it is it&#8217;s too much information all at once! An example of using this functionality is if you have two sessions open you can &#8220;link&#8221; or &#8220;move&#8221; windows across different sessions &#8211; unfortunately the actual &#8220;how-to&#8221; will be in Part 2.</p>
<h3>Conclusion</h3>
<p>Tmux may be a bit confusing however it&#8217;s worth putting in a few minutes to check it out and see what it has to offer &#8211; quick easy and intuitive.</p>
<h3>Upcoming in Part 2</h3>
<p>I&#8217;ll be going over several tips and tricks for tmux including:</p>
<ul>
<li>Custom hotkeys</li>
<li>Custom window styles &amp; colors</li>
<li>Scripting with <em>tmux</em> (bash, sh)</li>
<li>How to use the server / client model further</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Medal of Honor Beta</title>
		<link>http://blog.hawkhost.com/2010/06/21/medal-of-honor-beta/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=medal-of-honor-beta</link>
		<comments>http://blog.hawkhost.com/2010/06/21/medal-of-honor-beta/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 23:18:23 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=720</guid>
		<description><![CDATA[If you&#8217;re a gamer and you haven&#8217;t been living under a rock you&#8217;d know the new Medal of Honor is coming out October 12th 2010.  Something more right now is the fact the multiplayer beta has started and yours truly &#8230; <a href="http://blog.hawkhost.com/2010/06/21/medal-of-honor-beta/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a gamer and you haven&#8217;t been living under a rock you&#8217;d know the new Medal of Honor is coming out October 12th 2010.  Something more right now is the fact the multiplayer beta has started and yours truly has the beta.  I suppose a large majority of people have the beta as I believe you just need Battlefield Bad Company 2 as well as a pre-order of Medal of Honor.  So I&#8217;m not really that special but I figured I&#8217;d talk about the game since I know what I&#8217;m talking about.</p>
<p><span id="more-720"></span>First things first I&#8217;ll just talk about what the game is about.  You&#8217;re suppose to be a tier one operator during the 2001 war in Afghanistan.  Although the tier one aspect really is not there in the multiplayer it just looks like you&#8217;re a normal coalition forces solider.  It doesn&#8217;t really matter though it wouldn&#8217;t play a part of the multiplayer aspect anyways.</p>
<p>The multiplayer you&#8217;re either part of the coalition forces or an insurgent  Right now the muliplayer contains team assault and combat mission.  Team assault is just team deathmatch like you&#8217;d see in any other first person shooter.  You spawn in a few random points on one side of the map and you attempt to kill the other team.  The team with the most points or hits the point limit wins.</p>
<p>Combat mission is the one I&#8217;m enjoying a bit more as it&#8217;s more along the lines of battle field bad company 2 but the objectives are much more defined.  In BF:BC2 you&#8217;d just be blowing up the mcom&#8217;s via rocket fire or whatever or basically planting a bomb on them.  There were no changes between stages it always came down to that.  In Medal of Honor&#8217;s combat mission you are actually doing objectives that seem reasonable.  So there is a barrier in the way you need to blow it up by planting a bomb.  Another case you need to secure a position where heavy machine guns were located.  Or finally you were planting bombs to destroy anti aircraft guns.  In each case there is an accompanying audio briefing to help immerse you in the situation.</p>
<p>One thing that is great is they did not drop dedicated servers like call of duty modern warfare 2 did.  So I&#8217;m once again enjoying the fact I&#8217;m not disconnecting finding a new host constantly or dealing with small player amounts.  That is the big thing that annoyed me about that game along with all the other unbalanced aspects that kept cropping up.</p>
<p>Now onto the game itself.  So we load the game itself and the first thing I&#8217;d say is the user interface feels a little strange to me.  I&#8217;m not sure why see for yourself:</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/mainscreen.png" target="_blank"><img class="aligncenter size-medium wp-image-722" title="Main Screen" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/mainscreen-300x175.png" alt="" width="300" height="175" /></a></p>
<p style="text-align: left;">The first strange aspect is the select is on every thing even though click suffices.  So it&#8217;s just very strange but it may have to do with the fact it&#8217;s a beta.  There are other pages though I did not take pictures of where there is a save button but I don&#8217;t think you actually need to use it.  It gives me the option of save or back but if I click back it saves anyways.  In some cases save is not even an option but it&#8217;s always there.  Though this could all be from being a beta so I&#8217;ll let that slide.</p>
<p style="text-align: left;">The game modes give you quick briefings about what is going on.  So the one combat mission level you get this screen before joining:</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/helmandvalley.png" target="_blank"><img class="aligncenter size-medium wp-image-730" title="Helmand Valley" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/helmandvalley-300x174.png" alt="" width="300" height="174" /></a>So just trying to get you into the game a bit.  Make it a tad bit more realistic and not just you&#8217;re going somewhere for no particular reason and you should do it no questions asked and complete this mission.  So in this case you&#8217;re helping clear the way to go after high value targets.  This area contains anti air guns which need taken out so the coalition forces can have air superiority.</p>
<p style="text-align: left;">So for the game itself you have the choice of three classes; Rifleman, Special Ops and Sniper.  Rifleman as you&#8217;d expect has a rifle of some kind with a grenade launcher attachment.  The Special Ops has a rifle as it&#8217;s first weapon along with a rocket launcher which is used to take out tanks as well as infantry.  The sniper obviously gets the sniper rifles as well as C4.  Although a nice touch on the sniper when you&#8217;re an insurgent it&#8217;s not called C4 but instead an improvised explosive device which you throw then you detonate with a cell phone.  Here&#8217;s pictures of the selection screens for both sides:</p>
<p style="text-align: left;"><strong>Coalition Forces</strong></p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/coalitionforces.png" target="_blank"><img class="aligncenter size-medium wp-image-726" title="Coalition Forces" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/coalitionforces-300x174.png" alt="" width="300" height="174" /></a></p>
<p style="text-align: left;"><strong>Insurgents:</strong></p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/insurgents.png" target="_blank"><img class="aligncenter size-medium wp-image-727" title="Insurgents" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/insurgents-300x173.png" alt="" width="300" height="173" /></a></p>
<p style="text-align: left;">Now each class you have unlockable and modifiable weapons similar to what you see in Call of Duty Modern Warfare 2 or Battlefield Bad Company 2.  So you play as a class and as you gain more points you unlock levels which give you access to new weapons or items for them.  So for example I have red sights on my guns and extra ammo.</p>
<p style="text-align: left;">For the general feel of the game itself there are some things I&#8217;ve picked up on.  The first one being there does not seem to be any recoil on the rifles.  Whether it&#8217;s an ak47 or m16 as far as I can tell there is no recoil.  The same can be said about the special ops weapons as well.  If you unlock a machine gun though there appears to be a bit of recoil on them for whatever reason.  I&#8217;m not sure if this is intended or not it&#8217;s really tough to say.  For the guns themselves I really cannot tell the difference between the Rifleman and Special Ops weapons.  I figured you&#8217;d suffer with issues with range with the Special Ops but as far as I can tell you really do not.  Their damage may be slightly different it&#8217;s tough to tell but not really that noticable.  This could be due to the fact you die very quickly so it only takes a few hits and you&#8217;re dead.  The sniper rifles from my limited play since I&#8217;m unlocked the bolt action sniper rifles I just don&#8217;t see the point.  They are only 1 shot one kill if it&#8217;s a head shot.  It&#8217;s just as easy to use another one and hit a person enough times to get the kill and not deal with reload times.  This might be due to the map played I&#8217;m not sure but for me I&#8217;d question the point of using the bolt action sniper rifles.  If it was in fact one shot one kill on the chest as well as the head it might be more useful to me.  The grenades in the game do not seem to do a heck of a lot of damage for whatever reason.  I&#8217;d expect a grenade reasonably close to someone to kill them but that is not the case at all.  The same can be said about the grenade launcher on the riflemen it&#8217;s basically a useless add-on.  The rocket launcher however on Special Ops does seem to do a bit more damage but it&#8217;s tough to say if it&#8217;s really that much more.  I just have not had a chance to hit enough infantry with it yet to really give a definitive answer.  This is a beta though so balancing some of these aspects may still be coming down the pipeline.</p>
<p style="text-align: left;">There is a tank on the combat mission map which I really don&#8217;t think  adds much to the game.  It is mostly used as cover then when it gets  blown up still stays there as a form of cover.  The weapons on it  especially the machine gun just do not do much damage at all when you  think it would.  It also for me anyways feels very strange controlling  it in comparison to battlefield bad company 2.  This I&#8217;m sure will get  some refinement before the final release though.</p>
<p style="text-align: left;">The game adds onto the audio aspect similar to that of Battlefield Bad Company 2 where a sniper just misses you your guy yells out sniper.  The same idea here as well as having added many other automatic audio aspects to add to the atmosphere and gives you that extra element of situational awareness.  It also helps with the team aspect as a lot of the time in random servers people are not talking.  So the game itself yelling out some aspects helps with this problem.</p>
<p style="text-align: left;">The netcode right now I&#8217;d say needs a bit of work.  I&#8217;m not sure if it was just me but I got shot from behind walls pretty frequently.  For any game this happens due to the interpolation going on and the person on the other end shooting you on their screen before you&#8217;re behind the wall.  For me though I noticed it was happening a lot more and seemed more dramatic then I would expect.  This could be an aspect they&#8217;re still trying to fix up though with the type of guns being used.  So it may be a little more refined by the time of the full release.</p>
<p style="text-align: left;">There is some attention to detail aspects of the game I thought were very cool.  The first being the improvised explosive device used by the insurgents.  It&#8217;s actually just the counter to coalition forces C4 explosives.  I just thought it was cool that I throw down this bomb and then rather than your typical remote detonator you get a cell phone as the remote.  The other neat aspect is when using the mortar perk if you point it to close you get a danger close warning.  I thought that as very cool I hadn&#8217;t seen any game talk about anything like that before.  They could improve on it even more when a target is selected and you have team mates close to the target zone your person says danger close.  Here&#8217;s a quick screenshot I took of the danger close:</p>
<p style="text-align: left;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/dangerclose.png" target="_blank"><img class="aligncenter size-medium wp-image-729" title="Danger Close" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/dangerclose-300x174.png" alt="" width="300" height="174" /></a><br />
Now you cannot see it but the orange there actually flashes danger close.  I just took a screenshot at the wrong point in time.</p>
<p style="text-align: left;">For other aspects unlike battle field bad company 2 the majority of the maps are not destructible.  There is the odd crate here or there and I believe some walls that go away but nothing major.  What you see is what you get basically no blowing up a wall to get at someone.  I hope though that maybe there are maps where that is the case.  I would think it make more sense that they use the terrain to create aspects that are non destructible.  Then other area&#8217;s where obviously the walls are weak they can be blown up to add a new element to the game.</p>
<p style="text-align: left;">My opinion right now of the game is obviously a beta has many aspects that need improvement.  It definitely has promise though and I&#8217;m looking forward to it coming out in October.  I&#8217;m sure it&#8217;ll have a much more lasting effect on me when there is more than one map to play.</p>
<p style="text-align: left;">Now onto the bugs I&#8217;ve found on the beta thus far for those who are curious:</p>
<ul>
<li>Every time I load the game up my sensitivity resets.  I join the game and my sensitivity is set as the default in game even though in my options it says otherwise.  In order to fix that I have to move it then move it back in order to actually have my correct sensitivity.</li>
<li>The key to switch to the pistol does not actually work.  Instead my button for switching to the rifle switches to my pistol.  If I press it again when I am on my pistol it switches to my rifle.  It&#8217;s very strange</li>
<li>I&#8217;ve become caught in several windows in maps in some sort of limbo mode.  I jump through and I then I run a bit forward and cannot move anymore.  I&#8217;m not sure where I am on the other persons screen exactly.  I might be stuck in the window or maybe I am in and they see me sort of glide running.</li>
<li>There are various clipping on parts of some of the maps.  You go a certain way and you can see through the walls.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/21/medal-of-honor-beta/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New Blog Theme Twenty Ten</title>
		<link>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-blog-theme-twenty-ten</link>
		<comments>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:08:13 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=717</guid>
		<description><![CDATA[You may have noticed if you visit our blog once in a while the theme has just changed.  I noticed the release of wordpress 3.0 included a new theme so I wanted to check it out.  To my surprise I &#8230; <a href="http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may have noticed if you visit our blog once in a while the theme has just changed.  I noticed the release of wordpress 3.0 included a new theme so I wanted to check it out.  To my surprise I actually like it for it&#8217;s simplicity plus supporting some of the new features.  Like you may notice right now we have the &#8220;New&#8221; Hawk Host logo displayed on the header of the blog rather than some generic picture one.  So right there it is more Hawk Host like then our previous theme.  You can do a lot more than that apparently as well</p>
<p><span id="more-717"></span>You have the ability to change the background color very easily which we might do in the future when someone with a sense of design feels like working on that.  So along with the header image you can make a wordpress blog that matches your site relatively easy now.  So for people like us no need at least at this point to even look at using another theme.</p>
<p>For example that header image we&#8217;re using right now I just looked at some of our PNG drawing previews for our logo and mascot and uploaded it.  Then on the next page it sent me to an easy to use interface to crop the image.  So anyone could make a decent looking header image for their site with relative ease now.  I&#8217;m sure for most it was easy before but for those of us even to lazy to open paint to crop an image it&#8217;s great!</p>
<p>Along with all the design aspects I guess there is a new menu creation system as well.  It looks like your typical drag and drop page like you have on widget pages and things like that.  So very easy to build a nice usable menu to fit your site.</p>
<p>Overall I think it&#8217;s a great theme for those of us to lazy to find a theme we like to design one around our web site.  So it fits great for us and I&#8217;m sure a lot of other users!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>It&#8217;s been a while</title>
		<link>http://blog.hawkhost.com/2010/06/09/its-been-a-while/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=its-been-a-while</link>
		<comments>http://blog.hawkhost.com/2010/06/09/its-been-a-while/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 00:18:09 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=710</guid>
		<description><![CDATA[It has been a while since we&#8217;ve had a blog post about anything so I thought it would be a good idea to just talk about what is going on.  Obviously we&#8217;ve been very busy keeping up with our growth &#8230; <a href="http://blog.hawkhost.com/2010/06/09/its-been-a-while/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It has been a while since we&#8217;ve had a blog post about anything so I thought it would be a good idea to just talk about what is going on.  Obviously we&#8217;ve been very busy keeping up with our growth along with improving our internal tools and other backend systems.</p>
<p>I last talked about our servers at the start of March so I figured I&#8217;d update on what has happened.  The first one being we do not use SATA disks for our web or VPS servers anymore as our Marlin server was upgraded some time ago.  We&#8217;re 100% 300GB SAS 15K RPM drives which means improved reliability across the board.  We have seen a big drop in the number of drive failures and when a drive does fail we&#8217;re no longer see raid array problems which we would see in 25% of cases previously.  We added our first shared web hosting only server in February and since then we&#8217;ve added 2 additional servers to that fleet to cover all locations.  We&#8217;ve also added our first of hopefully many 5600 series CPU&#8217;s to our server fleet.  For web servers though CPU is generally not the issue so we may not use them depending on availability.  We just like having the newest hardware so if it&#8217;s there we&#8217;re going to use it.  I&#8217;d say the best news on the server front is the introduction of an upgraded Bosco server (Our backup server).  This machine is a beast being a Dual Xeon 5520, 12GB ram and 24x1TB drives in a Raid-10 with a Adaptec 52445 raid card.  Raid-10 may seem silly seeing as how we lose half the disks in the process but for us we need high performance writes which raid-5 would not be able to provide for us.  Also even if we had used raid-5 and had more space we&#8217;d run out of I/O on the disks before we&#8217;d ever come close to filling the disks.  So we have about 11TB of space at our disposal for our backup machine and it should handle 35-40 servers for us hopefully so it&#8217;s quite a lot.</p>
<p>So on the internal aspects side of things we&#8217;ve been working on fixing bugs in our systems.  For example with the introduction of our Xeon servers with hyper threading we had to adjust our monitoring systems for CPU usage and load due to having twice as many CPU&#8217;s showing up on the systems.  Unfortunately a mistake was made resulting in older machines without HT (Xeon 5400 servers) not having the warnings on their systems set properly.  They were set to be as high as servers with twice as many CPU&#8217;s which in one instance resulted in higher than acceptable usage on a machine.  We promptly fixed it once we were aware but it&#8217;s things like this we&#8217;re attempting to fix.  We&#8217;re also working on expanding the features available to technicians to quickly find systems and identify issues.  While currently only available to our higher level technicians some of this information is valuable to everyone.  So we&#8217;re working to have the systems in place to have it available to all technicians in hopes it&#8217;ll result in quicker resolutions and less ticket escalations.</p>
<p>We&#8217;ve been silently working on our own VPS panel to replace our current one.  It&#8217;s work in progress though and we hope to have something substantial near the end of this month.  It totally depends on how testing goes and if we feel it&#8217;s ready for actual user use and not strictly as an internal system of ours.</p>
<p>Finally we&#8217;ve ended some major coupons as the reason for those promotions have ended.  While they helped us grow at a great rate at the same time we cannot run a coupon forever or it loses it&#8217;s meaning.  Our whts50 coupon which was for our sticky topic on webhostingtalk has ended due to the fact the sticky topic is gone.  Near the end it was posted all over the internet and our most popular coupon which was meant at the time to target a specific user base.  We won&#8217;t have another 50% coupon like this most likely until we have another sticky topic like it which means probably not until September as that&#8217;s when our next sticky topic will start.  Of course it will be a new coupon to in order to avoid the same coupon being used all over again from everywhere.  Along with the shared coupon being gone our long time reseller coupon has expired which was r25percent.  We&#8217;re attempting to control the market a bit on our reseller plans right now so discounts for those just do not make sense.  When we&#8217;re ready to start pushing reseller accounts I&#8217;m sure a new coupon will show up similar to it.</p>
<p>So that&#8217;s about it what&#8217;s going on so tons of growth as always and lots of things going in the background to improve our services.  We hope things continue to be that way so we can continue to improve our services as we grow as a company.  Also as we grow maybe we&#8217;ll get more blog posts in but we&#8217;ll see it&#8217;s difficult to come up with topics of interest all the time.  As much as we enjoy writing about nothing it tends to not interest many people.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/09/its-been-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Softaculous Praise</title>
		<link>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quick-softaculous-praise</link>
		<comments>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 18:43:57 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=707</guid>
		<description><![CDATA[I talked about Softaculous before but I wanted to just praise them yet again and what an excellent choice we made adding them and promoting it over Fantastico whenever we can.  Obviously we cannot remove Fantastico for marketing reasons but &#8230; <a href="http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I talked about Softaculous before but I wanted to just praise them yet again and what an excellent choice we made adding them and promoting it over Fantastico whenever we can.  Obviously we cannot remove Fantastico for marketing reasons but Softaculous is always what we recommend the users use.</p>
<p>So they released 2.8 recently which added a nice new backup utility as well as adding a search feature.  Although that&#8217;s not all though:</p>
<ol>
<li>A Backup utility has been added into Softaculous. Users can now create and download backups from the Softaculous Panel.</li>
<li>A cool new Search feature has been added in Softaculous. This search feature is available throughout Softaculous. Users can type in the script name and they will be redirected to the script itself. A suggestion will also be made as you type in the search box!</li>
<li>Users will be shown a message on the Softaculous Index if there is any outdated installations.</li>
<li>Ability to choose &#8216;http://&#8217;, &#8216;https://&#8217;, &#8216;http://www&#8217;, &#8216;https://www&#8217; while installing scripts has been added.</li>
<li>The CRON jobs will email users if there is any newer version of scripts available.</li>
<li>A new feature which will enable the Admin to email users having Outdated Installations has been added.</li>
<li>The Fantastico importer at the Admin Level has been improved.</li>
<li>The Softaculous CORE has been improved for better perfomance.</li>
</ol>
<p>So quite a few updates to the core of the system in 2.8 which was released on the 20th.  Though this is not what I wanted to make the post it&#8217;s because of the most recent script updates we saw come through the pipeline.  Here&#8217;s the list:</p>
<p>Here are all the scripts most recently updated:</p>
<blockquote><p>Zikula 1.2.2 &#8211; Successful<br />
Coppermine 1.4.26 &#8211; Successful<br />
TinyWebGallery 1.8 &#8211; Successful<br />
b2evolution 3.3.3 &#8211; Successful<br />
LifeType 1.2.10 &#8211; Successful<br />
Dotclear 2.1.6 &#8211; Successful<br />
Textpattern 4.2.0 &#8211; Successful<br />
Geeklog 1.6.1 &#8211; Successful<br />
Drupal 6.16 &#8211; Successful<br />
Mambo 4.6.5 &#8211; Successful<br />
PHP-Nuke 8.0 &#8211; Successful<br />
Nucleus 3.51 &#8211; Successful<br />
XMB 1.9.11 &#8211; Successful<br />
Gallery 2.3.1 &#8211; Successful<br />
LinPHA 1.3.4 &#8211; Successful<br />
MyBB 1.4.13 &#8211; Successful<br />
Phorum 5.2.15a &#8211; Successful<br />
PunBB 1.3.4 &#8211; Successful<br />
Piwigo 2.0.9 &#8211; Successful<br />
Pixelpost 1.7.3 &#8211; Successful<br />
ZenPhoto 1.2.9 &#8211; Successful<br />
PhpWiki 1.2.11 &#8211; Successful<br />
PmWiki 2.2.15 &#8211; Successful<br />
Serendipity 1.5.2 &#8211; Successful<br />
Open Blog 1.2.1 &#8211; Successful<br />
Website Baker 2.8.1 &#8211; Successful<br />
sNews 1.7 &#8211; Successful<br />
UseBB 1.0.10 &#8211; Successful<br />
Pligg 1.0.4 &#8211; Successful<br />
MODx 1.0.3 &#8211; Successful<br />
eggBlog 4.1.2 &#8211; Successful<br />
phpAlbum 0.4.1.14.6 &#8211; Successful<br />
Shutter 0.1.4 &#8211; Successful<br />
Pixie 1.04 &#8211; Successful<br />
Xoops 2.4.4 &#8211; Successful<br />
FluxBB 1.2.22 &#8211; Successful<br />
4images 1.7.7 &#8211; Successful<br />
Typo3 4.3.2 &#8211; Successful</p></blockquote>
<p>Now that&#8217;s a big list of updates I imagine a few were a little bit out of date but this is still very impressive.  This is pretty close to the total number of scripts Fantastico has in total.  It just shows you if you&#8217;re not using Softaculous with us you should be!  Great news is it can take your Fantastico install and manage it so no major time consuming work to get it switched on your part.  Hopefully Softaculous continues to  release quick updates which I&#8217;m sure they will as their system just seems better designed than what Fantastico is as far as having updates released.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install and Configure Litespeed for cPanel</title>
		<link>http://blog.hawkhost.com/2010/04/23/how-to-install-configure-litespeed-for-cpanel/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-install-configure-litespeed-for-cpanel</link>
		<comments>http://blog.hawkhost.com/2010/04/23/how-to-install-configure-litespeed-for-cpanel/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:36:38 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=691</guid>
		<description><![CDATA[Unless you&#8217;ve been living under a rock you know we run Litespeed and have so for a year now.  I&#8217;ve noticed since we&#8217;ve been using Litespeed the installation information and tutorials as far as setting it up in a cPanel &#8230; <a href="http://blog.hawkhost.com/2010/04/23/how-to-install-configure-litespeed-for-cpanel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Unless you&#8217;ve been living under a rock you know we run Litespeed and have so for a year now.  I&#8217;ve noticed since we&#8217;ve been using Litespeed the installation information and tutorials as far as setting it up in a cPanel environment have become really out of date.  This could be my fault with asking for fixes and features to be added to cater to cPanel and solve various problems.  Obviously I don&#8217;t know if that&#8217;s correct it&#8217;s me causing it but since we started using it seems like we&#8217;ve found a lot of issues relating to cPanel integration with have been fixed.  Unfortunately though the wiki entries Litespeed has on their site still reference things not necessary anymore.  So I&#8217;m going to quickly run by how to install and setup Litespeed on a cPanel server.<span id="more-691"></span></p>
<p>So first of all obviously you&#8217;ll want to have a license then go and download Litespeed from their <a href="http://www.litespeedtech.com/litespeed-web-server-downloads.html">download page</a>.</p>
<p>You&#8217;ll extract the archive and run through the installer picking cPanel as your control panel then everything else should be fine as the defaults.  I&#8217;m avoiding talking about these early steps as really if you cannot download a file then run the installer then you should have a system admin.</p>
<p>So now we&#8217;ve got Litespeed installed but now is where you need to start configuring things.  By default Litespeed is not configured to be exactly like Apache in some ways so could cause issues for some users.  The first thing I do is login to the control panel which would be http://yourip:7080/</p>
<p>So you&#8217;ll be greeted with a page like this:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_mainpage.png"><img class="aligncenter size-medium wp-image-692" title="Litespeed Main Page" src="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_mainpage-300x145.png" alt="" width="300" height="145" /></a></p>
<p>So from here you&#8217;ll want to go to configuration so you&#8217;ll be sent to the following page:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_configuration_page.png"><img class="aligncenter size-medium wp-image-693" title="lsws_configuration_page" src="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_configuration_page-300x221.png" alt="" width="300" height="221" /></a></p>
<p>The first step is to go to the log page and change the debug level to none and and log level to INFO.  So like the picture below</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_log.png"><img class="aligncenter size-medium wp-image-696" title="LSWS Log Page" src="http://blog.hawkhost.com/wp-content/uploads/2010/04/lsws_log-300x59.png" alt="" width="300" height="59" /></a></p>
<p>Obviously in your case you&#8217;ll click the edit button then save it rather than looking at just the text version like the screen shot.</p>
<p>So now you&#8217;ve set the logs next you need to change the auto index which you do back on the general configuration page you at the index files portion.  You&#8217;ll want to set it as follows:</p>
<blockquote><p>Auto Index =&gt; Yes<br />
Auto Index URI =&gt; /_autoindex/default.php</p></blockquote>
<p>Then as root you&#8217;ll want to run</p>
<blockquote><p>ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex</p></blockquote>
<p>Now finally on the same general configuration page if you plan on supporting frontpage extensions you&#8217;ll want to turn it on.  You do this under the Using Apache Configuration File portion of the general configuration page.</p>
<p>Once you&#8217;ve done all of this restart Litespeed as it&#8217;ll be asking you to and all your changes will take effect.</p>
<p>You&#8217;ve now setup Litespeed from the panel side it should act pretty much the same as Apache as far as the users are concerned.  They&#8217;ll have the error log portions working in cPanel and nothing extra confusing for them.  The auto index when no index file is found will work as expected no weird errors there.  Then finally if you choose to support frontpage extensions they should work fine with no changes from your end.  This is one portion the wiki is out of date on now none of the commands it says to run are actually necessary.</p>
<p>We&#8217;re not done yet though we still have to configure PHP which is very easy to do.  Login to your WHM and go to plugins on the left menu and you&#8217;ll see a LiteSpeed Web Server link.  Your page should look something like this:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/04/litespeed_whm_plugin.png"><img class="aligncenter size-medium wp-image-698" title="Litespeed WHM Plugin" src="http://blog.hawkhost.com/wp-content/uploads/2010/04/litespeed_whm_plugin-300x102.png" alt="" width="300" height="102" /></a></p>
<p>The first step on this page is to get the same PHP version on Litespeed as you have on Apache.  What you want to select is the Build Matching PHP Binary option which will look at your current PHP version in Apache.  What it will attempt to do is use the source from /home/cpeasyapache/src if available to build it&#8217;s PHP identical to cPanel as it would use the cPanel PHP source.  If it&#8217;s not available then it will download it&#8217;s own copy from php.net and build the same options in from there.</p>
<p>You give that 10 minutes and now you just need to switch to Litespeed which you do from the switch to LiteSpeed option from the WHM plugin.  It will turn off Apache and turn on Litespeed and have it read the httpd.conf file.  Then you just need to check make sure everything is still working as it should.  If it&#8217;s a production server you can also access Litespeed from an alternate port when Apache is still running which typically is 2080.  So you could go to http://somesite.com:2080/ and make sure it&#8217;s PHP works fine and such.</p>
<p>Well I hope that was helpful to anyone out there trying to configure Litespeed and are not sure what portions of their wiki are up to date and which are not.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/04/23/how-to-install-configure-litespeed-for-cpanel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cPanel Broken Bandwidth Tracking</title>
		<link>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cpanel-broken-bandwidth-tracking</link>
		<comments>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:12:09 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=686</guid>
		<description><![CDATA[If you haven&#8217;t noticed yet on a lot of our servers specific accounts on each server do not have any bandwidth tracking what so ever.  If you&#8217;re on a shared hosting account you would only realize if your bandwidth usage &#8230; <a href="http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t noticed yet on a lot of our servers specific accounts on each server do not have any bandwidth tracking what so ever.  If you&#8217;re on a shared hosting account you would only realize if your bandwidth usage has been zero.  For a reseller it&#8217;s highly likely at least one of your accounts is not tracking any bandwidth.  As it stands anyone affected by this is just being given a free ride as far as bandwidth and we&#8217;ll deal with any extra cost due to bandwidth usage not being available.  If you&#8217;re curious about the bandwidth usage of a specific site you can still retrieve this via web statistics like awstats or webalizer.  This post though is to actually talk about why it&#8217;s happening and what steps we&#8217;ve attempted to get it resolved.</p>
<p>We have strong reason to believe this started around 2010-02-19 or around then when we updated our cPanel servers to release build 43472.  This build addressed the following problem:</p>
<p>Updated bandwidth algorithms to address an issue calculating the bandwidth total for accounts with high traffic sub domains.</p>
<p>This was a pretty big deal as some users were experiencing this.  We figured an easy quick fix by cPanel no problem we&#8217;ll have everyone with proper bandwidth usage again.  It did resolve over calculation of bandwidth for high traffic sub domains it just messed up bandwidth tracking in general for a lot of accounts.</p>
<p>We discovered this problem in early March and to our surprise found a post on the cPanel forums with lots of other users complaining about it: <a href="http://forums.cpanel.net/f5/bandwidth-not-calculating-149637.html">http://forums.cpanel.net/f5/bandwidth-not-calculating-149637.html</a> There was a similar topic when bandwidth was over calculating and a cPanel representative was quick to respond saying they&#8217;re working on a fix.  This topic though started March 1st and now into the second page has not received any response from cPanel themselves confirming there is an issue.  Typically with cases like that they would respond back saying yes we&#8217;re working on it.</p>
<p>Based on the lack of response from cPanel to the topic itself I gave them the benefit of the doubt and decided to make a support ticket which I tend to avoid doing.  The ticket was opened on March 22nd and eventually on March 23rd they said our issue was load average.  Of course this being an insane excuse for a small percentage of accounts to have broken bandwidth usage.  I said fine we&#8217;ll let stats run with a higher load average and see what happens.  I gave it 24 hours and no surprise as I told them at the time it would not solve the problem and we still have sites without bandwidth usage unless we force ran it via /scripts/runweblogs which processes web stats as well as updates a users bandwidth usage.  Typically cPanel does this for you a few times a day for the bandwidth usage which it was not doing.</p>
<p>We had now been passed off to a level3 technician at cPanel suggesting yet another miracle fix late March 23rd.  The fix was the following:</p>
<p style="padding-left: 30px;">/scripts/autorepair repair_bwsummary<br />
/usr/local/cpanel/bin/repair_bwsummary<br />
/usr/local/cpanel/bin/repair_bwsummary brokenusername</p>
<p>I had some hope for this fix as it was using an autorepair script from cPanel.  We ran the same command across a few servers and their affected users.  We gave it 24 hours to see if bandwidth usage was tracked over that 24 hour period.  Unfortunately it was not the case and once again back to cPanel asking for help.  This time we were told development has been informed and they&#8217;d get back to us most likely Monday since it was Friday night already. To our surprise development was a little quicker and the level3 technician helping us said the developer working on the issue had a manual patch fix that may work.  They offered to apply it to the servers at which point we declined.  The reason being we have a lot of servers and having cPanel attempting to repair all these users seemed to not be a wise solution.  This especially true when there was no guarantee and there was an official fix being worked on that would be passed through quality assurance then released.  This news came on March 24th and it&#8217;s now and it&#8217;s been over a week without this officially being pushed out to all cPanel builds as far as I can tell.</p>
<p>I was surprised at the time people were not complaining more so but then recently topics have started to show up on webhostingtalk as well.  This topic <a href="http://www.webhostingtalk.com/showthread.php?t=936718">http://www.webhostingtalk.com/showthread.php?t=936718</a> outlines web hosts seeing this and a some opening tickets.  Assuming they&#8217;re telling the truth about the tickets cPanel is being slow to admit there is even an issue.</p>
<p>So unfortunately for us we&#8217;re going to continue to deal with this problem.  A fix being anywhere in sight?  I doubt it at this point based on how long this has been and the fact you cannot get a response on their forums about it and their support people are taking a long time to admit there is even a problem.  If I was big on conspiracies I&#8217;d say it&#8217;s some big provider paying cPanel to do this as this provider is probably unlimited bandwidth.  So broken stats for them is not bad but for other hosts it&#8217;s a costly matter when they bill for bandwidth.  Although that&#8217;s highly unlikely and the more likely cause is just part of the steady decline of the cPanel product.  This is not just my opinion either as far as decline people have been disappointed in the quality of releases as of late with bugs and other problems.  Bug fixes to issues have been slow and simple usability enhancements to make certain sections of the panel as friendly as others have been ignored for years.  Even usability features added in one release have been then removed in newer versions with forum posts and tickets be ignored.  I suppose we should have all seen this coming with the removal of their bug tracker and being forced to file bug reports via ticket and features now having to be requested via forum.  Granted they were not maintaining the bug tracker but maybe they should have done that so they could construct roadmaps of bug fixes and features they were adding as that is typically what&#8217;s done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
