<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>mylinuxnotes</title>
	<atom:link href="http://mylinuxnotes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mylinuxnotes.wordpress.com</link>
	<description>ubuntu linux things worth noting cuz i may need to look up again</description>
	<lastBuildDate>Thu, 17 Feb 2011 11:59:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mylinuxnotes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>mylinuxnotes</title>
		<link>http://mylinuxnotes.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mylinuxnotes.wordpress.com/osd.xml" title="mylinuxnotes" />
	<atom:link rel='hub' href='http://mylinuxnotes.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing ARB in Ubuntu Hardy LTS</title>
		<link>http://mylinuxnotes.wordpress.com/2009/06/17/installing-arb-in-ubuntu-hardy-lts/</link>
		<comments>http://mylinuxnotes.wordpress.com/2009/06/17/installing-arb-in-ubuntu-hardy-lts/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 21:47:33 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[ARB]]></category>
		<category><![CDATA[bioinformatics]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Hardy]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/?p=17</guid>
		<description><![CDATA[How to install ARB on Ubuntu Hardy LTS.  These are my notes of what worked on my system, and depending on what you already have installed, you may have additional requirements.  (Please feel free to make note of your experience in the comments, if you&#8217;d like to share!) This is a modified copy from my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=17&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to install ARB on Ubuntu Hardy LTS.  These are my notes of what worked on my system, and depending on what you already have installed, you may have additional requirements.  (Please feel free to make note of your experience in the comments, if you&#8217;d like to share!) This is a modified copy from my <a title="Installing ARB in Feisty" href="http://mylinuxnotes.wordpress.com/2007/09/25/howto-install-arb-in-ubuntu-feisty/" target="_blank">previous post</a> for installing in Feisty Fawn.</p>
<p>Make sure you have the prerequisite packages installed:</p>
<ul>
<li><span style="color:#000000;">transfig</span></li>
<li><span style="color:#000000;">xfig</span></li>
<li><span style="color:#000000;">xviewg</span></li>
<li><span style="color:#000000;">gv</span></li>
<li>libmotif3</li>
</ul>
<p>Download the latest ARB for linux at <a title="The ARB home page" href="http://www.arb-home.de" target="_blank">www.arb-home.de</a>.  The download directory contains three files; you need to put all of them in the same place: <span style="color:#800000;">arb_install.sh</span>, <span style="color:#800000;">arb.tgz</span> and <span style="color:#800000;">zcat</span>. No need to untar anything.</p>
<p>In the directory where you put these downloads,</p>
<blockquote><p>$ sudo sh arb_install.sh</p></blockquote>
<p>The script asks a bunch of installation questions, and it&#8217;s pretty self-explanatory about what it&#8217;s asking, so go nuts.  I used all the defaults for a stand-alone computer, except I used <span style="color:#800000;">/opt/arb</span> as the install directory instead of <span style="color:#800000;">/usr/arb</span>.</p>
<p>When the script exits, it mentions editing something in /etc (but it doesn&#8217;t say what).  In Feisty, you need to add the following lines to the <span style="color:#800000;">/etc/bash.bashrc</span> file (assuming you used <span style="color:#800000;">/opt/arb</span> as the installation directory like me&#8211;otherwise, you may have to replace &#8220;opt&#8221; below with &#8220;usr&#8221;):</p>
<blockquote><p>ARBHOME=/<span style="color:#800080;">opt</span>/arb;export ARBHOME<br />
LD_LIBRARY_PATH=${ARBHOME}/lib:${LD_LIBRARY_PATH}<br />
export LD_LIBRARY_PATH<br />
PATH=${ARBHOME}/bin:${PATH}<br />
export PATH<br />
alias arb=/<span style="color:#800080;">opt</span>/arb/bin/arb<br />
echo &#8220;This shell is ARB-enabled.&#8221;  #Not necessary.  Just for fun.</p></blockquote>
<p>It now seems to work!  You can delete the installation files.  Or, you can change your current installation by running arb_install.sh again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=17&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2009/06/17/installing-arb-in-ubuntu-hardy-lts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto: Turn &#8220;Visual effects&#8221; (Compiz) on and off with a simple button</title>
		<link>http://mylinuxnotes.wordpress.com/2008/03/14/howto-turn-visual-effects-compiz-on-and-off-with-a-simple-button/</link>
		<comments>http://mylinuxnotes.wordpress.com/2008/03/14/howto-turn-visual-effects-compiz-on-and-off-with-a-simple-button/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 19:39:04 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[compiz]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/?p=16</guid>
		<description><![CDATA[Sometimes (ie when I&#8217;m using firefox in full-screen mode) I need to turn off compiz. It&#8217;s nice to be able to do it quickly, with a single button. Here&#8217;s how: http://forlong.blogage.de/article/pages/Compiz-Switch and get the deb package. Install it with dpkg -i.  All done!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=16&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes (ie when I&#8217;m using firefox in full-screen mode) I need to turn off compiz. It&#8217;s nice to be able to do it quickly, with a single button. Here&#8217;s how:</p>
<p><a href="http://forlong.blogage.de/article/pages/Compiz-Switch" target="_blank">http://forlong.blogage.de/article/pages/Compiz-Switch</a></p>
<p>and get the deb package. Install it with dpkg -i.  All done!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=16&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2008/03/14/howto-turn-visual-effects-compiz-on-and-off-with-a-simple-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto: Get Free eBooks Sized Right for the ASUS Eee PC 701</title>
		<link>http://mylinuxnotes.wordpress.com/2008/02/28/howto-get-free-ebooks-sized-right-for-the-asus-eee-pc/</link>
		<comments>http://mylinuxnotes.wordpress.com/2008/02/28/howto-get-free-ebooks-sized-right-for-the-asus-eee-pc/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 20:33:33 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[eee pc]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/?p=15</guid>
		<description><![CDATA[There are a lot of good places to get ebooks, like Project Gutenburg, etc, but their formatting is ugly and difficult to read. As far as I can tell, there aren&#8217;t any great ebook readers for linux. Also, I have an Eee PC, which has a special size that makes it easy to hold sideways, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=15&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a lot of good places to get ebooks, like Project Gutenburg, etc, but their formatting is ugly and difficult to read. As far as I can tell, there aren&#8217;t any great ebook readers for linux. Also, I have an Eee PC, which has a special size that makes it easy to hold sideways, like a book.  PDF readers, like Acrobat, rotate pages and display them fullscreen, which is nice.  A lot of eBooks are available in custom pdf format at manybooks.net.</p>
<p>Here&#8217;s the secret to combining manybooks.net with your Eee PC 701: Find a good book, and for the download format, select &#8220;custom pdf&#8221; from the pulldown menu. When you hit &#8220;download&#8221; you&#8217;ll get a bunch of options for customizing the output pdf file. I&#8217;ve found that these options work really well for me:</p>
<p>Size: <strong>90</strong> x <strong>152</strong> millimeters</p>
<p>Body Font: Times New Roman</p>
<p>Heading Font: Helvetica</p>
<p>Font size: 13 (I like anyway, 11 is definitely too small)</p>
<p>Spacing: 1.5 lines</p>
<p>Margins: set them all to 4 mm</p>
<p>And download!  It&#8217;s amazingly fast. Instantaneous on my low-end DSL connection.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=15&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2008/02/28/howto-get-free-ebooks-sized-right-for-the-asus-eee-pc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>Dell A920 Printer (aka Lexmark Z600) in Ubuntu Gutsy</title>
		<link>http://mylinuxnotes.wordpress.com/2007/10/26/dell-a920-printer-aka-lexmark-z600-in-ubuntu-gutsy/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/10/26/dell-a920-printer-aka-lexmark-z600-in-ubuntu-gutsy/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 13:51:37 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Dell A920]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/10/26/dell-a920-printer-aka-lexmark-z600-in-ubuntu-gutsy/</guid>
		<description><![CDATA[After a fresh install of Gutsy, I don&#8217;t have the correct printer driver for our closed-piece-of-junk Dell A920 &#8220;All-In-One&#8221; printer (which is actually a Lexmark Z600-something with the dell logo stamped on it). If I remember correctly, in previous Ubuntus I just selected the Lexmark Z600 driver and everything worked fine. Now the driver is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=14&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a fresh install of Gutsy, I don&#8217;t have the correct printer driver for our closed-piece-of-junk Dell A920 &#8220;All-In-One&#8221; printer (which is actually a Lexmark Z600-something with the dell logo stamped on it).  If I remember correctly, in previous Ubuntus I just selected the Lexmark Z600 driver and everything worked fine.  Now the driver is not there, and there are no easy point-and-click solutions.  So, I googled the problem and found about twenty slightly different variants of the same solution.  Many of them did not work in Gutsy, but<a href="http://finebushpeople.net/LexmarkZ600" title="The Dell A920 solution that works in Gusty" target="_blank"> this one</a> did.  This was my experience:</p>
<p>1. Installed <strong>alien</strong> (will need it to convert the .rpm drivers)</p>
<blockquote><p>$ sudo aptitude install alien</p></blockquote>
<p>2. Downloaded Lexmark&#8217;s RedHat <a href="http://downloads.lexmark.com/cgi-perl/downloads.cgi?ccs=229:1:0:390:0:0&amp;emeaframe=&amp;fileID=1151" target="_blank">CJLZ600LE-CUPS-1.0-1.TAR.gz driver</a> for the Z600 series. Made a directory to put the tar.gz file in.</p>
<p>3. Used <strong>gksudo</strong> to run <strong>xterm</strong> (so I don&#8217;t have to keep typing sudo), and navigated to the directory containing the new file.</p>
<p>4. Ran the script with an option specifying the target directory (for some bizarre reason it doesn&#8217;t work if you don&#8217;t specify the target; the script made the target directory on its own):</p>
<blockquote><p># sh z600cups-1.0-1.gz.sh -target rpms</p>
<p># cd rpms</p>
<p># ls</p></blockquote>
<p>5. Used alien to turn the rpms into debs</p>
<blockquote><p># alien z600cups-1.0-1.i386.rpm</p>
<p># alien z600llpddk-2.0-1.i386.rpm</p>
<p># ls</p></blockquote>
<p>6.  Installed the debs with <strong>dpkg</strong>.  Note: For some reason the names of the .deb files are slightly different from the names of the rpm files (an underscore instead of a dash, and a 2 instead of a 1 on the end of the version numbers!)  This confused me for a second, because I was cut-and-pasting file names from previous commands.</p>
<blockquote><p># dpkg -i z600cups_1.0-2.i386.deb</p>
<p>#  dpkg -i z600llpddk_2.0-2_i386.deb</p></blockquote>
<p>7. Done with the terminal, it&#8217;s GUI from here on in!!  My printer was plugged into the USB port and was recognized by Gutsy as a Dell A920, but no working driver was assigned to it yet.  To do this, I clicked on <strong>System</strong> &gt; <strong>Administration</strong> &gt; <strong>Printing</strong> to bring up the <em>Printer configuration</em> window.  On the left, there was an item called <em>A920</em> under <em>Local Printers</em>.  Selected the <em>A920</em> and then clicked the &#8220;<strong>Change</strong>&#8221; button to the right of <em>Make and Model</em>.  Selected <em>Lexmark</em>, and clicked <strong>Forward&gt;</strong>; then selected the new <em>Z600</em> driver that was now available in the list and clicked <strong>Forward&gt;</strong>; then clicked <strong>Forward&gt;</strong> again, leaving the <em>Copy settings over</em> option checked, and tada it works!  I also clicked the <strong>Make Default</strong> button to make this my default printer. Printed test page and it worked flawlessly.</p>
<p>I haven&#8217;t tried the built-in scanner in Gutsy yet but I&#8217;m assuming it will not work.  Never has.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=14&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/10/26/dell-a920-printer-aka-lexmark-z600-in-ubuntu-gutsy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>LAMP Before Lunch</title>
		<link>http://mylinuxnotes.wordpress.com/2007/10/18/lamp-before-lunch/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/10/18/lamp-before-lunch/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 15:31:00 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MediaWiki]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/10/18/lamp-before-lunch/</guid>
		<description><![CDATA[I got a lab server up and running in a couple of hours. Ubuntu is awesome! The functionality includes: LAMP, a Drupal website on the front end, a MediaWiki site for organizing the lab&#8217;s SOPs and other documents, and an SSH server so lab members can use linux bioinformatics software remotely, and stream X onto [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=12&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got a lab server up and running in a couple of hours. Ubuntu is awesome!  The functionality includes: LAMP, a Drupal website on the front end, a MediaWiki site for organizing the lab&#8217;s SOPs and other documents, and an SSH server so lab members can use linux bioinformatics software remotely, and stream X onto their Windoze and Mac desktops.   I&#8217;m recording this here because there were a lot of unnecessary or contradictory instructions available online.</p>
<p>All you need: Static IP/domain name assigned (thanks to the department&#8217;s IT support), an old otherwise-useless desktop PC (a 400 MHz Dell with 256 Mb memory), and the Ubuntu (Feisty) Desktop CD (I wanted X off the bat, so didn&#8217;t use the server CD).</p>
<p>1. Install and update Ubuntu (took ~30 minutes)</p>
<p><font color="#008000"><font color="#000000">2. Install the server software<br />
</font></font></p>
<blockquote><p><font color="#008000"><font color="#000000">$ sudo aptitude install apache2 firestarter openssh-server php5-mysql libapache2-mod-php5 mysql-server</font></font></p></blockquote>
<p><font color="#000000">3. Set up the firewall </font></p>
<blockquote><p><font color="#000000">$ sudo firestarter</font></p></blockquote>
<p>Use the GUI wizard to set up iptables to allow incoming traffic on ports 22 and 80 (before you run firestarter, ALL of your ports are open by default).</p>
<p>4. Set up mysql to have a root password (don&#8217;t forget the semicolon at the end of every line when you are in the <font color="#800080">mysql&gt;</font> prompt):</p>
<blockquote><p>$ sudo mysql -u root<br />
mysql&gt; UPDATE mysql.user SET Password=PASSWORD(&#8216;<font color="#800080">your_new_password</font>&#8216;) WHERE User=&#8217;root&#8217;;<br />
mysql&gt; FLUSH PRIVILEGES;<br />
mysql&gt; quit</p></blockquote>
<p>5. Install MediaWiki and Drupal.</p>
<blockquote><p>$ sudo aptitude install mediawiki drupal-5.1</p></blockquote>
<p>The installation will take care of all the basic database configuration. You will be asked to provide the install scripts with the mysql administrative password that you just created, and you will also be asked to create some new passwords. The email server will ask you how to set it up.  Do as you wish, but personally I left email unconfigured (ie broken).  This breaks the email-confirmation features of Drupal and MediaWiki, but it also is a safeguard against unwanted external users having access to an email server.  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now you can setup mediawiki at http://localhost/mediawiki  and Drupal at http://localhost/drupal</p>
<p>The first thing I did was disable anonymous user account creation in both systems, since we have a small group and it&#8217;s okay if an administrator has to set up an account for new people.</p>
<p>Also, when someone visits the URL, at the moment they see an ugly Apache default blank screen.  Yuck.  To automatically forward visitors to the drupal homepage, create this file:</p>
<blockquote><p>$ sudo gedit /var/www/index.html</p></blockquote>
<p>And put the following code into the file:</p>
<blockquote><p><font color="#800000">&lt;html&gt;<br />
</font><font color="#800000">&lt;head&gt;</font><br />
<font color="#800000">&lt;META</font> <font color="#339966">http-equiv=</font><font color="#ff00ff">&#8220;refresh&#8221;</font> <font color="#339966">content=</font><font color="#ff00ff">&#8220;0; URL=drupal&#8221;</font><font color="#800000">&gt;<br />
</font><font color="#800000">&lt;/head&gt;<br />
</font><font color="#800000">&lt;/html&gt;</font></p></blockquote>
<p>Now, when a browser visits <font color="#800000">http://<font color="#800080">YOUR.SERVER</font>/</font> it will be redirected to <font color="#800000">http://<font color="#993366">YOUR.SERVER</font>/drupal</font>.  And, of-course, if you want someone visiting your site to know how to get to the wiki, you can provide them with a link to <font color="#800000">http://<font color="#800080">YOUR.SERVER</font>/mediawiki</font> in your Drupal website.</p>
<p>Configuring and customizing Drupal is cake using your web browser. For MediaWiki, you will have to delve into the <font color="#800000">LocalSettings.php</font> file (located in the <font color="#800000">/usr/share/mediawiki<font color="#800080">X</font>.<font color="#800080">X</font></font> directory), unless you&#8217;re okay with the default settings.</p>
<blockquote></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=12&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/10/18/lamp-before-lunch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>howto: install ARB in Ubuntu Feisty</title>
		<link>http://mylinuxnotes.wordpress.com/2007/09/25/howto-install-arb-in-ubuntu-feisty/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/09/25/howto-install-arb-in-ubuntu-feisty/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 15:48:44 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[ARB]]></category>
		<category><![CDATA[bioinformatics]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/09/25/howto-install-arb-in-ubuntu-feisty/</guid>
		<description><![CDATA[Make sure you have the prerequisites (most notably, in Feisty, the libstdc++2.10-glibc2.2 package, which I had to do some digging to figure out): transfig xfig xviewg gv libstdc++2.10-glibc2.2 (in the universe repository) Download the latest ARB for linux at www.arb-home.de.  The download directory contains three files; you need to put all of them in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=11&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Make sure you have the prerequisites (most notably, in Feisty, the libstdc++2.10-glibc2.2 package, which I had to do some digging to figure out):</p>
<ul>
<li><font color="#000000">transfig</font></li>
<li><font color="#000000">xfig</font></li>
<li><font color="#000000">xviewg</font></li>
<li><font color="#000000">gv</font></li>
<li>libstdc++2.10-glibc2.2 <em>(in the universe repository)</em></li>
</ul>
<p>Download the latest ARB for linux at <a href="http://www.arb-home.de" title="The ARB home page" target="_blank">www.arb-home.de</a>.  The download directory contains three files; you need to put all of them in the same place: <font color="#800000">arb_install.sh</font>, <font color="#800000">arb.tgz</font> and <font color="#800000">zcat</font>. No need to untar anything.</p>
<p>In the directory where you put these downloads,</p>
<blockquote><p>$ sudo sh arb_install.sh</p></blockquote>
<p>The script asks a bunch of installation questions, and it&#8217;s pretty self-explanatory about what it&#8217;s asking, so go nuts.  I used all the defaults for a stand-alone computer, except I used <font color="#800000">/opt/arb</font> as the install directory instead of <font color="#800000">/usr/arb</font>.</p>
<p>When the script exits, it mentions editing something in /etc (but it doesn&#8217;t say what).  In Feisty, you need to add the following lines to the <font color="#800000">/etc/bash.bashrc</font> file (assuming you used <font color="#800000">/opt/arb</font> as the installation directory like me&#8211;otherwise, you may have to replace &#8220;opt&#8221; below with &#8220;usr&#8221;):</p>
<blockquote><p>ARBHOME=/<font color="#800080">opt</font>/arb;export ARBHOME<br />
LD_LIBRARY_PATH=${ARBHOME}/lib:${LD_LIBRARY_PATH}<br />
export LD_LIBRARY_PATH<br />
PATH=${ARBHOME}/bin:${PATH}<br />
export PATH<br />
alias arb=/<font color="#800080">opt</font>/arb/bin/arb<br />
echo &#8220;This shell is ARB-enabled.&#8221;  #Not necessary.  Just for fun.</p></blockquote>
<p>It now seems to work!  You can delete the installation files.  Or, you can change your current installation by running arb_install.sh again.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=11&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/09/25/howto-install-arb-in-ubuntu-feisty/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>Adobe Acrobat in Feisty</title>
		<link>http://mylinuxnotes.wordpress.com/2007/09/19/adobe-acrobat-in-feisty/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/09/19/adobe-acrobat-in-feisty/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 18:07:11 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[adobe acrobat]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/09/19/adobe-acrobat-in-feisty/</guid>
		<description><![CDATA[&#8230; is gone. (?) I just went to adobe.com to get it, instead, and the installation was a breeze. Strange that there couldn&#8217;t be a script to run the install through apt, like there is for Flash. I don&#8217;t mind looking for one program when I set up a computer, but if too many other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=9&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230; is gone.  (?)  I just went to adobe.com to get it, instead, and the installation was a breeze.  Strange that there couldn&#8217;t be a script to run the install through apt, like there is for Flash.  I don&#8217;t mind looking for one program when I set up a computer, but if too many other common programs become like this, ubuntu will start to be more and more of a pain in the butt.  Plus, it&#8217;s messy to have to install and update programs myself, instead of letting apt handle it.  Linux has me so spoiled.  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=9&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/09/19/adobe-acrobat-in-feisty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>howto backup to a usb drive, and sync two computers, w rsync</title>
		<link>http://mylinuxnotes.wordpress.com/2007/09/19/howto-backup-to-a-usb-drive-and-sync-two-computers-w-rsync/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/09/19/howto-backup-to-a-usb-drive-and-sync-two-computers-w-rsync/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 15:36:43 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[usb drive]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/09/19/howto-backup-to-a-usb-drive-and-sync-two-computers-w-rsync/</guid>
		<description><![CDATA[Step 1.) Know where the usb drive is mounted. I used gparted to format mine with one big ext3 partition named &#8220;LinuxBackup&#8221; so it gets automounted at /media/LinuxBackup (in Ubuntu). Step 2.) Create a folder on your usb drive where you want the backup to go. Step 3.) Install the required program: rsync Ready to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=8&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Step 1.) Know where the usb drive is mounted. I used gparted to format mine with one big ext3 partition named &#8220;LinuxBackup&#8221; so it gets automounted at <font color="#800000">/media/LinuxBackup</font> (in Ubuntu).</p>
<p>Step 2.) Create a folder on your usb drive where you want the backup to go.</p>
<p>Step 3.) Install the required program: <font color="#800000">rsync</font></p>
<p>Ready to go:</p>
<blockquote><p>$ rsync -rupogt &#8211;delete <font color="#800080">/SOURCE/DATA/DIRECTORY/</font> /media/<font color="#800080">DRIVENAME/SUBFOLDER</font></p></blockquote>
<p>Note: the SUBFOLDER on the drive must exist.  Also, if I remember correctly there is some significance to there being a following &#8220;/&#8221; at the end of the source folder name. Your own needs may vary from mine, so look up the rsync options and adjust accordingly.  For example, I use the <font color="#800000">&#8211;delete</font> option, which deletes all files and folders on the destination which do not exist in the source.  If you don&#8217;t use this option, and you rename or move a directory on your computer, you will end up with two copies of the same files, one of them under the old name!  BEWARE: the <font color="#800000">&#8211;delete</font> option will also destroy previously backed-up files that you have since deleted on your source computer, and they will be lost forever.  Always think before doing this.  There is little chance of recovering deleted files from the destination.  This is especially pertinent when going the other way, from drive-to-computer.  If the destination computer folder contains newer files that aren&#8217;t on the usb drive source, the <font color="#800000">&#8211;delete</font> option will destroy them!</p>
<p>For my system, I have a usb drive named LinuxBackup, and two computers: one at work, and one at home.  When I&#8217;m done working at home I put in the usb drive and run</p>
<blockquote><p>$ rsync -rupogt &#8211;del<font color="#000000">ete </font><font color="#000000">~/Documents/ /media/</font><font color="#000000">LinuxBackup/Documents</font></p></blockquote>
<p>to put the newest copy of my <font color="#800000">Documents</font> folder on my usb drive.  Then, when I get to work, I load the newest copy of the Documents onto my work computer by running</p>
<blockquote><p>$ rsync -rupogt &#8211;delete /media<font color="#000000">/</font><font color="#000000">LinuxBackup/Documents/ ~/Documents</font></p></blockquote>
<p>This would be much easier if I wasn&#8217;t firewalled on both ends, since rsync is <em>designed</em> to do this over the internet using ssh.  Oh well, the usb drive works well enough.  And I have three copies of the data instead of two, which is 50% safer, right?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=8&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/09/19/howto-backup-to-a-usb-drive-and-sync-two-computers-w-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>howto BLAST</title>
		<link>http://mylinuxnotes.wordpress.com/2007/09/19/howto-blast/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/09/19/howto-blast/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 15:11:27 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[bioinformatics]]></category>
		<category><![CDATA[blast]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/09/19/howto-blast/</guid>
		<description><![CDATA[In ubuntu, the BLAST package is called blast2 sudo aptitude install blast2 This installs a whole bunch of blast commands for local and remote searching.  For example, you can search NCBI with a list of fasta entries as queries (sequentially) using the remote NCBI server to do the work: blastcl3 -p blastp -m 3 -v [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=5&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In ubuntu, the BLAST package is called blast2</p>
<blockquote><p>sudo aptitude install blast2</p></blockquote>
<p>This installs a whole bunch of blast commands for local and remote searching.  For example, you can search NCBI with a list of fasta entries as queries (sequentially) using the remote NCBI server to do the work:</p>
<blockquote><p>blastcl3 -p blastp -m 3 -v 10 -b 10 -i infile.fasta -o outfile.txt</p></blockquote>
<p>Where, here I&#8217;m just looking for a few quick top hits.  -p is the important option, where you define the search engine.  In this example I&#8217;m using blastp to search protein.  I think the default database is ncbi nr.</p>
<p>And here&#8217;s an example of searching a local database using your own cpu:</p>
<blockquote><p>blast2 -p blastp -m 3 -v 10 -b 10 -i infile.fasta</p></blockquote>
<p align="left">and an outfile isn&#8217;t defined, so it just goes to standard out, ready for pipes.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=5&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/09/19/howto-blast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
		<item>
		<title>howto join pdf files</title>
		<link>http://mylinuxnotes.wordpress.com/2007/09/19/howto-join-pdf-files/</link>
		<comments>http://mylinuxnotes.wordpress.com/2007/09/19/howto-join-pdf-files/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 14:32:19 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[ghostscript]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://mylinuxnotes.wordpress.com/2007/09/19/howto-join-pdf-files/</guid>
		<description><![CDATA[from an article at newsforge This command line combines file1.pdf with file2.pdf, to create finished.pdf.  One additional bonus is that if files 1 and 2 weren&#8217;t compressed properly, the final finished file will be and it&#8217;s always nice to save disk space. gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf kthxbie<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=4&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="right"><em>from <a href="http://www.newsforge.com/article.pl?sid=04/06/09/1844259" target="_blank">an article at newsforge</a></em></p>
<p>This command line combines file1.pdf with file2.pdf, to create finished.pdf.  One additional bonus is that if files 1 and 2 weren&#8217;t compressed properly, the final finished file will be and it&#8217;s always nice to save disk space.</p>
<blockquote><p>gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf</p></blockquote>
<p>kthxbie</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mylinuxnotes.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mylinuxnotes.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mylinuxnotes.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mylinuxnotes.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mylinuxnotes.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mylinuxnotes.wordpress.com&amp;blog=1750344&amp;post=4&amp;subd=mylinuxnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mylinuxnotes.wordpress.com/2007/09/19/howto-join-pdf-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3eb46006a4f62226b93d5f66feccc30?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeff</media:title>
		</media:content>
	</item>
	</channel>
</rss>
