<?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>benwatts.ca &#187; vps</title>
	<atom:link href="http://benwatts.ca/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>http://benwatts.ca</link>
	<description>Designer and Frontend Developer in Ottawa, Canada</description>
	<lastBuildDate>Fri, 22 Jul 2011 19:00:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changing the Time Zone in Ubuntu Gutsy</title>
		<link>http://benwatts.ca/2008/changing-the-time-zone-in-ubuntu-gutsy/</link>
		<comments>http://benwatts.ca/2008/changing-the-time-zone-in-ubuntu-gutsy/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 15:42:59 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=53</guid>
		<description><![CDATA[EDIT: Okay. Ignore this entire post because as it turns out it&#8217;s outrageously easy with sudo dpkg-reconfigure tzdata . Kudos to soundray. I&#8217;m hosted with Slicehost &#8212; they&#8217;re cool cats that offer very affordable VPS hosting. This is my first venture into server administration so I imagine sometime in the next two weeks the whole [...]]]></description>
			<content:encoded><![CDATA[<p>EDIT: Okay. Ignore this entire post because as it turns out it&#8217;s outrageously easy with</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo dpkg-reconfigure tzdata</div></div>
<p>. <em>Kudos to soundray</em>.</p>
<p>I&#8217;m hosted with Slicehost &#8212; they&#8217;re cool cats that offer very affordable <acronym title="Virtual Private Server">VPS</acronym> hosting. This is my first venture into server administration so I imagine sometime in the next two weeks the whole thing is going to come crashing down and the datacentre will catch on fire.</p>
<p>It&#8217;s been going pretty smooth, actually. Slicehost has amazing documentation and a lovely wiki. I recently noticed however, that my server&#8217;s time zone was set to UTC and not my beloved EST &#8230;<br />
<span id="more-53"></span><br />
<strong>I can triumphantly say I figured out how to change the time zone</strong>! Victory! It took a surprising amount of googling; that&#8217;s probably because you would normally chose the time zone when you&#8217;re installing Ubuntu or something &#8212; but I think in the case of VPS hosts your setup is based off of a pre-installed image? Who knows &#8230;</p>
<p>In any case, here&#8217;s how I did it:</p>
<ol>
<li>Check out the current date/time to see what it&#8217;s set to:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">date</div></div>
</li>
<li>I backed up the file currently setting the timezone:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo mv /etc/localtime ~/localtime-bk</div></div>
</li>
<li>Check out the folder/subfolders containing all the time zones:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;cd /usr/share/zoneinfo</div></div>
<p>. It&#8217;ll give you a list of folder names for locations. In my case I&#8217;m looking for something close to EST. So I opened up the &#8220;America&#8221; folder.</li>
<li>Then I created a link between the time zone file I want and the file setting the time zone:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime</div></div>
</li>
<li>I checked out the time again (
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">date</div></div>
<p>) and it had magically gone from UTC to EST. YAY!</li>
</ol>
<p>After I bring down my server (it will inevitably happen) I&#8217;m sure this will come in handy. Haha. Honestly after changing the timezone I&#8217;m afraid that the system won&#8217;t reboot. Hah, so I&#8217;m going to avoid doing that for a while &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://benwatts.ca/2008/changing-the-time-zone-in-ubuntu-gutsy/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

