<?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>grep life by Jeremy Glover &#187; Linux</title>
	<atom:link href="http://www.jeremyglover.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeremyglover.com/blog</link>
	<description>God has an awesome plan for your life.</description>
	<lastBuildDate>Fri, 30 Jul 2010 11:28:02 +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>How to backup your website</title>
		<link>http://www.jeremyglover.com/blog/2009/06/16/how-to-backup-your-website/</link>
		<comments>http://www.jeremyglover.com/blog/2009/06/16/how-to-backup-your-website/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:08:50 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jeremyglover.com/blog/?p=465</guid>
		<description><![CDATA[Everyone knows (or should by now) that cheap web hosts (Bluehost, Dreamhost, MediaTemple, etc.) don&#8217;t backup your data for you. So you&#8217;d better do it yourself. If you&#8217;re on any respectable host, you should have ssh access to the box. Connect to your box via ssh and run the following commands to create a backup [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.jeremyglover.com/blog/wp-content/uploads/2009/06/hard-drive-flames.jpg" alt="Hard Drive in Flames" title="Hard Drive in Flames" width="248" height="257" class="alignleft size-full wp-image-469" style="margin-right:25px; margin-bottom:25px;" /></p>
<div style="font-size:1.3em; line-height:1.7em; padding-top:90px;">Everyone knows (or should by now) that cheap web hosts (<a href="http://www.bluehost.com/">Bluehost</a>, <a href="http://www.dreamhost.com/">Dreamhost</a>, <a href="http://www.mediatemple.net/">MediaTemple</a>, etc.) don&#8217;t backup your data for you. So you&#8217;d better do it yourself. If you&#8217;re on any respectable host, you should have ssh access to the box.</div>
<div style="clear:both;"></div>
<p>Connect to your box via ssh and run the following commands to create a backup of your site.</p>
<p><code><br />
cd ~<br />
mkdir Backup<br />
nohup zip -r Backup/YYYY-MM-DD-HHMM.zip www/ > backup_log.txt &#038;<br />
</code><br />
(Replace YYYY with the 4-digit year, MM with the 2-digit month, HH with the 24-hour format of the hour, and MM with the 2-digit minute)</p>
<p><strong>cd ~</strong> navigates to your home folder</p>
<p><strong>mkdir Backup</strong> creates the backup directory in which the backups will be stored</p>
<p><strong>nohup</strong> is short for no hangup and allows processes started by users at the terminal to continue running even after the user logs out</p>
<p><strong>zip</strong> is a program which combines many files into one and compresses them to make the end result even more portable</p>
<p><strong>-r</strong> tells zip to burrow into all subdirectories in order to grab all of the files</p>
<p><strong>Backup/YYYY-MM-DD-HHMM.zip</strong> is the path to the backup file</p>
<p><strong>www/</strong> is the directory to backup (it may be html, htdocs, httpdocs, etc. on your box)</p>
<p><strong>> backup_log.txt</strong> redirects all output from zip to the backup_log.txt file so you can review the file later</p>
<p><strong>&#038;</strong> tells linux to run the zip program in the background so that you can logout or perform other tasks without killing the process</p>
<div style="height:20px;"></div>
<p>Now all you need to do is download that zipped file. Use your favorite SFTP client to login to your box and snag it. I recommend <a href="http://filezilla-project.org/download.php">FileZilla Client</a> for all platforms. If you&#8217;re looking for an FTP server, <a href="http://filezilla-project.org/download.php?type=server">FileZilla Server</a> is perfect.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeremyglover.com/blog/2009/06/16/how-to-backup-your-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Software RAID 1 Performance on Ubuntu Server 8.04</title>
		<link>http://www.jeremyglover.com/blog/2008/10/30/software-raid-1-performance-on-ubuntu-server-804/</link>
		<comments>http://www.jeremyglover.com/blog/2008/10/30/software-raid-1-performance-on-ubuntu-server-804/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 00:29:11 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Amazing]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ridiculous]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jeremyglover.com/blog/?p=312</guid>
		<description><![CDATA[A generous gift was bestowed upon me last week &#8212; Dell&#8217;s PowerEdge SC420 server. It came with two (2) 80GB hard drives which I have since replaced with two (2) 1TB hard drives. I decided to mirror these drives for the sake of redundancy using Linux&#8217;s built-in software RAID drivers. While synchronizing the drives, I [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.jeremyglover.com/blog/wp-content/uploads/2008/10/harddrive.jpg" alt="" title="Hard Drive" width="300" height="224" class="alignright size-full wp-image-313" /><br />
A generous gift was bestowed upon me last week &#8212; <a href="http://www.dell.com/html/us/products/demos/pedge_sc420/pedge_sc420.html">Dell&#8217;s PowerEdge SC420 server</a>.  It came with two (2) 80GB hard drives which I have since replaced with <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822152102">two (2) 1TB hard drives</a>.  I decided to <a href="http://blogama.org/?q=node/8">mirror these drives for the sake of redundancy using Linux&#8217;s built-in software RAID drivers</a>.</p>
<p>While synchronizing the drives, I decided to monitor the progress.  What I saw was truly amazing.</p>
<p><code><br />
jeremy@fileserver1:~$ cat /proc/mdstat<br />
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] </p>
<p>md0 : active raid1 sda1[0] sdb1[1]<br />
      879084736 blocks [2/2] [UU]<br />
      [=>...................]  resync =  8.1% (71688192/879084736) finish=116.2min speed=<strong>115709K/sec</strong><br />
</code></p>
<p>Holy cow!  116MB/s!</p>
<p>That means the <a href="http://en.wikipedia.org/wiki/Sata">SATA bus</a> is processing at least 332MB/s since it has to read the data from one drive and then write the data to the other drive.  That&#8217;s 2,656Mb/s or 2,656,000,000 bits per second which equates to 2.7 bits per picosecond!  I&#8217;d like to see anyone do anything 2.7 times in one picosecond.</p>
<p>I figured with this much throughput the CPU would be chugging away.  Nope.  4%.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeremyglover.com/blog/2008/10/30/software-raid-1-performance-on-ubuntu-server-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install SSH Server on Ubuntu</title>
		<link>http://www.jeremyglover.com/blog/2008/10/25/install-ssh-server-on-ubuntu/</link>
		<comments>http://www.jeremyglover.com/blog/2008/10/25/install-ssh-server-on-ubuntu/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 16:52:03 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Amazing]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jeremyglover.com/blog/?p=309</guid>
		<description><![CDATA[It really couldn&#8217;t be any easier than this: sudo apt-get install openssh-server You&#8217;re done. Now you can use ssh to remotely connect to your Ubuntu box. No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>It really couldn&#8217;t be any easier than this:</p>
<p><code>sudo apt-get install openssh-server</code></p>
<p>You&#8217;re done.  Now you can use ssh to remotely connect to your <a href="http://www.ubuntu.com/">Ubuntu</a> box.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeremyglover.com/blog/2008/10/25/install-ssh-server-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Is tracert in Ubuntu?</title>
		<link>http://www.jeremyglover.com/blog/2008/06/20/where-is-tracert-in-ubuntu/</link>
		<comments>http://www.jeremyglover.com/blog/2008/06/20/where-is-tracert-in-ubuntu/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 04:55:08 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Annoying]]></category>
		<category><![CDATA[Depressing]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ridiculous]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jeremyglover.com/blog/2008/06/20/where-is-tracert-in-ubuntu/</guid>
		<description><![CDATA[It turns out traceroute (or tracert for Windows users) is not bundled with Ubuntu; you have to manually install it. If you&#8217;re looking for an alternative, simply use tracepath although it looks like there are some complaints. Apparently tracepath doesn&#8217;t deal with NAT properly but traceroute does so you might be better off installing it: [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>It turns out traceroute (or tracert for Windows users) is not bundled with Ubuntu; you have to manually install it.  If you&#8217;re looking for an alternative, simply use tracepath although it looks like there are <a href="http://geek00l.blogspot.com/2006/08/ubuntu-where-is-my-traceroute.html">some complaints</a>.  Apparently tracepath doesn&#8217;t deal with NAT properly but traceroute does so you might be better off installing it:</p>
<p>From the shell type &#8220;apt-get install traceroute&#8221;.</p>
<p>Voila.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jeremyglover.com/blog/2008/06/20/where-is-tracert-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
