<?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>Trylinux.org &#187; linux</title>
	<atom:link href="http://trylinux.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://trylinux.org</link>
	<description>Linux tips and advocacy</description>
	<lastBuildDate>Thu, 27 May 2010 14:51:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sending email from the command line and specifying the from</title>
		<link>http://trylinux.org/2010/05/27/sending-email-from-the-command-line-and-specifying-the-from/</link>
		<comments>http://trylinux.org/2010/05/27/sending-email-from-the-command-line-and-specifying-the-from/#comments</comments>
		<pubDate>Thu, 27 May 2010 14:51:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://trylinux.org/?p=90</guid>
		<description><![CDATA[The easiest way to send an email from a Linux command line is this:
mail -s subject me@here.com < /dev/null
Sometimes you need to specify the from address, but I'm always forgetting the syntax.
echo "The message" &#124; mail -s "The subject" me@here.com -- -f sender@someplace.com  
]]></description>
			<content:encoded><![CDATA[<p>The easiest way to send an email from a Linux command line is this:<br />
<code>mail -s subject me@here.com < /dev/null</code></p>
<p>Sometimes you need to specify the from address, but I'm always forgetting the syntax.<br />
<code>echo "The message" | mail -s "The subject" me@here.com -- -f sender@someplace.com</code>  </p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2010/05/27/sending-email-from-the-command-line-and-specifying-the-from/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>glTail</title>
		<link>http://trylinux.org/2010/03/31/gltail/</link>
		<comments>http://trylinux.org/2010/03/31/gltail/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:49:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://trylinux.org/?p=87</guid>
		<description><![CDATA[Very cool way to visualize you web traffic.  It takes a little work to get installed, but it is definitely cool.  Check out the video to see it in action.
http://www.fudgie.org/
]]></description>
			<content:encoded><![CDATA[<p>Very cool way to visualize you web traffic.  It takes a little work to get installed, but it is definitely cool.  Check out the video to see it in action.</p>
<p><a href="http://www.fudgie.org/" target="_blank">http://www.fudgie.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2010/03/31/gltail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling ArcEMU on Fedora</title>
		<link>http://trylinux.org/2009/10/09/compiling-arcemu-on-fedora/</link>
		<comments>http://trylinux.org/2009/10/09/compiling-arcemu-on-fedora/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 23:41:47 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[warcraft]]></category>
		<category><![CDATA[wow]]></category>
		<category><![CDATA[arcemu]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://trylinux.org/?p=85</guid>
		<description><![CDATA[I was trying to compile ArcEMU on Fedora and I kept geting the following error:
configure: error: Couldn&#8217;t find pcre library. Make sure your pcre path is correct.
Turns out if you don&#8217;t have the mysql-devel packages installed you get this error.  That makes a lot of sense.  After an hour of searching the web and building [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to compile ArcEMU on Fedora and I kept geting the following error:</p>
<p><strong>configure: error: Couldn&#8217;t find pcre library. Make sure your pcre path is correct.</strong></p>
<p>Turns out if you don&#8217;t have the mysql-devel packages installed you get this error.  That makes a lot of sense.  After an hour of searching the web and building pcre over from scratch a dozen times, I finally found a post that mentioned a problem with using mysql-devel 64bit packages.  I checked and didn&#8217;t have mysql-devel installed, so I installed it and it compiles just fine now.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2009/10/09/compiling-arcemu-on-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lack of posts recently</title>
		<link>http://trylinux.org/2008/07/28/lack-of-posts-recently/</link>
		<comments>http://trylinux.org/2008/07/28/lack-of-posts-recently/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 02:09:38 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[postgres]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/07/28/lack-of-posts-recently/</guid>
		<description><![CDATA[I&#8217;ve been slacking on the posts recently.  There has been a lot going on.  I&#8217;ve switched jobs and I&#8217;m now working for E.W. Scripps&#8217; Online Division.  E.W. Scripps is newspaper company based in Knoxville and also formally part of HGTV, FOOD Networ, etc.  I was brought on to help split out the web servers during [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been slacking on the posts recently.  There has been a lot going on.  I&#8217;ve switched jobs and I&#8217;m now working for E.W. Scripps&#8217; Online Division.  E.W. Scripps is newspaper company based in Knoxville and also formally part of HGTV, FOOD Networ, etc.  I was brought on to help split out the web servers during the company split.</p>
<p>We&#8217;ve made a lot of progress on getting things running more effeciently.  We&#8217;ve recently upgraded from Postgres 8.1.3 to 8.3.3 which made a huge improvement.  Even though Postgres claims that writes don&#8217;t block reads and reads don&#8217;t block writes, we were seeing a lot of processes getting hung waiting on a commit to finish.  I think that it was having problems starting a new transaction while a transaction was commiting.  Postgres 8.3 introduced asyncronous commits, so that we no longer have to wait for everything to be flushed to disk before we received the commited status.  Now we immediately get a commited status and transactions are written to disk as they can be.</p>
<p>This has been a HUGE performance gain for out database.  Before we had seem the database hit loads over 300 while getting Drudged.  Now we never see the database get above a load of 10, they ususally over around 3 to 4.</p>
<p>Next we will be working on clustering Postgres.  I have evaluated CyberCluster, PGCluster, Slony, PGPoolII and Sequoia.  The only one that seems to be reliable and meet our needs has been Sequoia, so we will see how that goes.</p>
<p>Oh, and I&#8217;ve also got a new MacBook Pro.  More on that latter.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/07/28/lack-of-posts-recently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Task_Killable in 2.6.26 kernel</title>
		<link>http://trylinux.org/2008/07/28/task_killable-in-2626-kernel/</link>
		<comments>http://trylinux.org/2008/07/28/task_killable-in-2626-kernel/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 01:55:40 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/07/28/task_killable-in-2626-kernel/</guid>
		<description><![CDATA[Ever been frustrated by a processes that you could not kill on a Linux box?  I know I have, especially working with Samba and NFS.  Good news, there is a new sleep state that will help eliminate the problem and more code makes use of it.  In fact most of the NFS code has already [...]]]></description>
			<content:encoded><![CDATA[<p>Ever been frustrated by a processes that you could not kill on a Linux box?  I know I have, especially working with Samba and NFS.  Good news, there is a new sleep state that will help eliminate the problem and more code makes use of it.  In fact most of the NFS code has already been converted.  Check out the link here and read more about it:  http://lwn.net/Articles/288056/</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/07/28/task_killable-in-2626-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huge fonts and toolbar in firefox 3</title>
		<link>http://trylinux.org/2008/04/18/huge-fonts-and-toolbar-in-firefox-3/</link>
		<comments>http://trylinux.org/2008/04/18/huge-fonts-and-toolbar-in-firefox-3/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 14:18:11 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/04/18/huge-fonts-and-toolbar-in-firefox-3/</guid>
		<description><![CDATA[I&#8217;ve tried the firefox 3 beta a couple times on my linux box.  Every time I try it the fonts and toolbars are obnoxiously big.  I couldn&#8217;t find any help on this.  It seemed like a dpi issue, so I went to about:config and searched for dpi.  There it was layout.css.dpi.  Mine was set to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried the firefox 3 beta a couple times on my linux box.  Every time I try it the fonts and toolbars are obnoxiously big.  I couldn&#8217;t find any help on this.  It seemed like a dpi issue, so I went to about:config and searched for dpi.  There it was layout.css.dpi.  Mine was set to -1, I changed it to 150 which seemed about right.</p>
<p>Type about:config in you browser window.  Then type dpi in the filter text box and double click the layout.css.dpi to change the value.  I changed mine to 150.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/04/18/huge-fonts-and-toolbar-in-firefox-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting tools.</title>
		<link>http://trylinux.org/2008/04/17/interesting-tools/</link>
		<comments>http://trylinux.org/2008/04/17/interesting-tools/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 14:14:31 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[reminder]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/04/17/interesting-tools/</guid>
		<description><![CDATA[Two things I ran across today that I need to look further into.
http://latencytop.org/   &#8211; This shows what processes are waiting on and looks very interesting.
The other is Group Scheduling in Linux 2.6.24 and above.  This allows you to put processes in a group so that one set of processes can share the same resources.  For [...]]]></description>
			<content:encoded><![CDATA[<p>Two things I ran across today that I need to look further into.</p>
<p>http://latencytop.org/   &#8211; This shows what processes are waiting on and looks very interesting.</p>
<p>The other is Group Scheduling in Linux 2.6.24 and above.  This allows you to put processes in a group so that one set of processes can share the same resources.  For example, you can assign two different users 50% of the processor and one use could be running 50 compiles but should not affect the performance of the second user.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/04/17/interesting-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting a loop in bash and other possibilites</title>
		<link>http://trylinux.org/2008/04/04/sorting-a-loop-in-bash-and-other-possibilites/</link>
		<comments>http://trylinux.org/2008/04/04/sorting-a-loop-in-bash-and-other-possibilites/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 21:15:32 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/04/04/sorting-a-loop-in-bash-and-other-possibilites/</guid>
		<description><![CDATA[As I said in my previous post, I learned a couple things about bash today.  I had a nice for loop that outputted the info I wanted, but not in the right order.  I thought to myself, man if this were php I would just put it in an array and sort it [...]]]></description>
			<content:encoded><![CDATA[<p>As I said in my previous post, I learned a couple things about bash today.  I had a nice for loop that outputted the info I wanted, but not in the right order.  I thought to myself, man if this were php I would just put it in an array and sort it before looping across it.  I bet this will be a pain in bash.</p>
<p>BUT, I was pleasantly surprised to find out how simple this really was.  If you want to perform an action the output of a loop in bash then you just pipe done into the fuction you want performed.  See the example below.</p>
<pre>for VAR in $VARS; do
{someaction}
done | sort -n</pre>
<p>Cool, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/04/04/sorting-a-loop-in-bash-and-other-possibilites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lineing up fields with BASH (or other programming languages)</title>
		<link>http://trylinux.org/2008/04/04/lineing-up-fields-with-bash-or-other-programming-languages/</link>
		<comments>http://trylinux.org/2008/04/04/lineing-up-fields-with-bash-or-other-programming-languages/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 21:08:59 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/04/04/lineing-up-fields-with-bash-or-other-programming-languages/</guid>
		<description><![CDATA[Learned a couple things about bash today.  I was wanting to print something out nicely, so I was using tabs to separate fields.  As you know, nothing ever lines up if you do not have values very similar in size.  So I was about to search Google for the problem when I [...]]]></description>
			<content:encoded><![CDATA[<p>Learned a couple things about bash today.  I was wanting to print something out nicely, so I was using tabs to separate fields.  As you know, nothing ever lines up if you do not have values very similar in size.  So I was about to search Google for the problem when I had a moment of sheer brilliance. <img src='http://trylinux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I thought I&#8217;ll just concatenate a bunch of spaces on the end of the variable and then use cut to grab how many characters I want.  I was very proud of myself, but then bash quickly humbled me by condensing all my spaces I had added to the variable.</p>
<p>So, back to the all knowing Google.  Turns out you have to quote your variable when you use it if you don&#8217;t want bash to truncate the spaces.  So I quoted my variable when using it and all is good.</p>
<pre>BUFFER="$VAR                                                                "
NICE_VAR=`echo "$VAR" | cut -c -15`
echo "$VAR $VAR2"</pre>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/04/04/lineing-up-fields-with-bash-or-other-programming-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Corruption error when trying to install older JRE</title>
		<link>http://trylinux.org/2008/02/08/corruption-error-when-trying-to-install-older-jre/</link>
		<comments>http://trylinux.org/2008/02/08/corruption-error-when-trying-to-install-older-jre/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 03:34:15 +0000</pubDate>
		<dc:creator>tip</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/02/08/corruption-error-when-trying-to-install-older-jre/</guid>
		<description><![CDATA[When trying to install an older version of the JRE on a newer Linux distro I was getting the following error:
Unpacking...
tail: cannot open `+480' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to install an older version of the JRE on a newer Linux distro I was getting the following error:</p>
<p><code>Unpacking...<br />
tail: cannot open `+480' for reading: No such file or directory<br />
Checksumming...<br />
1<br />
The download file appears to be corrupted.  Please refer<br />
to the Troubleshooting section of the Installation<br />
Instructions on the download page for more information.<br />
Please do not attempt to install this archive file.<br />
</code></p>
<p>This is because tail has changed in the newer Linux distros.  the +{number of lines} does not work unless you proceed it with a -n.  So, edit the .bin file you downloaded make the following changes:</p>
<p><code><br />
<strong><font color="#ff0000"> Replace:</font> </strong> tail +480 $0 &gt; $outname<br />
<font color="#ff0000"><strong> With:</strong></font>  tail -n +480 $0 &gt; $outname<br />
<font color="#ff0000"><strong> Replace:</strong></font><br />
if expr $sum1 != 22444 || expr $sum2 != 13542  ; then<br />
echo "The download file appears to be corrupted.  Please refer"<br />
echo "to the Troubleshooting section of the Installation"<br />
echo "Instructions on the download page for more information."<br />
echo "Please do not attempt to install this archive file."<br />
exit 1<br />
fi<br />
<font color="#ff0000"><strong> With:</strong></font><br />
#    if expr $sum1 != 22444 || expr $sum2 != 13542  ; then<br />
#       echo "The download file appears to be corrupted.  Please refer"<br />
#       echo "to the Troubleshooting section of the Installation"<br />
#       echo "Instructions on the download page for more information."<br />
#       echo "Please do not attempt to install this archive file."<br />
#       exit 1<br />
#    fi<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/02/08/corruption-error-when-trying-to-install-older-jre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
