<?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>Avinesh's Blog &#187; ssh</title>
	<atom:link href="http://www.avinesh.com/blog/index.php/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.avinesh.com/blog</link>
	<description>Life. Technology. Cars.</description>
	<lastBuildDate>Thu, 01 Oct 2009 20:08:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Now Running Ubuntu Server 7.04</title>
		<link>http://www.avinesh.com/blog/index.php/2007/05/11/now-running-ubuntu-server-704/</link>
		<comments>http://www.avinesh.com/blog/index.php/2007/05/11/now-running-ubuntu-server-704/#comments</comments>
		<pubDate>Fri, 11 May 2007 17:53:06 +0000</pubDate>
		<dc:creator>Avinesh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.avinesh.com/blog/?p=70</guid>
		<description><![CDATA[I finally decided to upgrade my Ubuntu Server 6.10 install to the latest version, 7.04 (Feisty Fawn). Out of habit, I now wait a few weeks before upgrading to the latest version of anything to ensure any last minute bugs get worked out. Best of all, I upgraded the entire OS remotely using SSH. Upgrading [...]]]></description>
			<content:encoded><![CDATA[<p>I finally decided to upgrade my Ubuntu Server 6.10 install to the latest version, 7.04 (Feisty Fawn).  Out of habit, I now wait a few weeks before upgrading to the latest version of anything to ensure any last minute bugs get worked out.</p>
<p>Best of all, I upgraded the entire OS remotely using SSH.  Upgrading your OS remotely is usually not a good idea, but if you know what you&#8217;re doing, go for it!  Ensure you backup any custom/modified configuration files just in case you press a wrong key during the upgrade! <img src='http://www.avinesh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   The upgrade worked well, with the exception of recompiling eAccelerator (to work with PHP 5.2.2) and updating a line (see below) of code in WordPress to make everything work smoothly.</p>
<p>Immediately following the upgrade, I noticed that my WordPress blog was loading very slowly and I also noticed random strings of hexadecimal characters at the top of the main blog page.</p>
<p>If you upgrade your server to Ubuntu Server 7.04 and run WordPress 2.1.x, ensure that you change line 832 in wp-includes/functions.php to the following (all on one line):</p>
<blockquote><p>
@header($_SERVER["SERVER_PROTOCOL"].&#8221; &#8220;.$header.&#8221; &#8220;.$text, true, $header);
</p></blockquote>
<p>Once you make the above change, your blog should load normally.</p>
<p><strong>Update (5.15.2007):</strong></p>
<p>With WordPress 2.2 (released today), the aforementioned WordPress fix is now irrelevant.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.avinesh.com/blog/index.php/2007/05/11/now-running-ubuntu-server-704/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Ubuntu &#8211; Part 1</title>
		<link>http://www.avinesh.com/blog/index.php/2006/09/20/optimizing-ubuntu-part-1/</link>
		<comments>http://www.avinesh.com/blog/index.php/2006/09/20/optimizing-ubuntu-part-1/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 05:08:22 +0000</pubDate>
		<dc:creator>Avinesh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.avinesh.com/blog/?p=54</guid>
		<description><![CDATA[Once I had Ubuntu Server 6.06.1 installed on my new web server, I quickly realized it needed several changes before I could put it online. Hence, this is the first installment in a series of blog entries to help others configure their systems. If you installed from a CD-ROM and have a working network connection [...]]]></description>
			<content:encoded><![CDATA[<p>Once I had Ubuntu Server 6.06.1 installed on my new web server, I quickly realized it needed several changes before I could put it online. Hence, this is the first installment in a series of blog entries to help others configure their systems.</p>
<p>If you installed from a CD-ROM and have a working network connection to your Ubuntu system, you should update the <em>sources.list</em> file used by <em>apt-get</em> so that your system won&#8217;t prompt you to insert the Ubuntu CD-ROM each time you install a new package:</p>
<p>1. Log in to your system via the console.<br />
2. Run the following command: <em>sudo vi /etc/apt/sources.list</em><br />
3. Add a # before the following line (use cursor keys to put cursor in front of the line and then press i, followed by #) :</p>
<blockquote><p>deb cdrom:[Ubuntu-Server 6.06.1 _Dapper &#8230; restricted</p></blockquote>
<p>4. Save <em>sources.list </em>by pressing &#8216;Esc&#8217;, followed by the following sequence of characters to write the file and exit: :wq</p>
<p><span id="more-54"></span></p>
<p>Next, update your system with the latest Ubuntu packages.  Having the latest packages ensures that your system remains secure.</p>
<p>Run <em>sudo apt-get update</em>, followed by <em>sudo apt-get upgrade</em>.  It may take awhile to download updated packages for your installation, depending on your Internet connection.</p>
<p>If you want to admin your server remotely, or via another box on your home network, type the following to install SSH: <em>sudo apt-get install ssh.</em></p>
<p>Ensure that the date on your server is correct by running <em>date</em>:</p>
<blockquote><p>you@yourserver:~$ date<br />
Wed Sep 20 14:12:54 PDT 2006</p></blockquote>
<p>Correct time zone, wrong time.  If the time zone is incorrect, you will need to run the <em>tzconfig</em> utility.</p>
<p>Check to see if the system is set to use UTC or not.</p>
<blockquote><p>you@yourserver:~$ cat /etc/default/rcS | grep &#8220;UTC&#8221;<br />
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.<br />
UTC=yes</p></blockquote>
<p>Since you probably want the server to return the time in your local time zone, change the line to read: <em>UTC=no</em></p>
<p>One more step. You&#8217;ll probably want to synchronize the system clock using an official source, provided that your time zone was set during installation.  If so, simply execute the following:</p>
<blockquote><p>you@yourserver:~$ sudo apt-get install ntp-simple ntp-server</p></blockquote>
<p>Ensure that your firewall permits communication over UDP port 123 and you&#8217;re set!</p>
<p>Check back in a couple of days for some more tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avinesh.com/blog/index.php/2006/09/20/optimizing-ubuntu-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
