<?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"
	>

<channel>
	<title>Trylinux.org</title>
	<atom:link href="http://trylinux.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://trylinux.org</link>
	<description>Linux tips and advocacy</description>
	<pubDate>Mon, 29 Dec 2008 07:48:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>World of Warcraft Text to Speech</title>
		<link>http://trylinux.org/2008/12/29/world-of-warcraft-text-to-speech/</link>
		<comments>http://trylinux.org/2008/12/29/world-of-warcraft-text-to-speech/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 07:48:39 +0000</pubDate>
		<dc:creator>tip</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[warcraft]]></category>

		<category><![CDATA[text to speech]]></category>

		<category><![CDATA[world of warcraft]]></category>

		<guid isPermaLink="false">http://trylinux.org/?p=77</guid>
		<description><![CDATA[During my Christmas break I&#8217;ve been working on another project.  I was playing World of Warcraft and was checking out some of the add-ons.  I noticed there wasn&#8217;t any text to speech add-ons, so I thought I bet I could make it work.   Check out the site here:  WoWSpeech.net
]]></description>
			<content:encoded><![CDATA[<p>During my Christmas break I&#8217;ve been working on another project.  I was playing World of Warcraft and was checking out some of the add-ons.  I noticed there wasn&#8217;t any text to speech add-ons, so I thought I bet I could make it work.   Check out the site here:  <a title="World of Warcraft Text to Speech" href="http://WoWSpeech.net" target="_blank">WoWSpeech.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/12/29/world-of-warcraft-text-to-speech/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wordbook</title>
		<link>http://trylinux.org/2008/09/03/wordbook/</link>
		<comments>http://trylinux.org/2008/09/03/wordbook/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 03:21:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://trylinux.org/?p=72</guid>
		<description><![CDATA[I just installed the wordbook plugin for my wordpress blog.  Hopefully this will help me add some content to my facebook page which I have seriously neglected.  It seems like a nice plugin, let&#8217;s hope it works.
]]></description>
			<content:encoded><![CDATA[<p>I just installed the <a title="wordbook" href="http://wordpress.org/extend/plugins/wordbook/" target="_blank">wordbook</a> plugin for my wordpress blog.  Hopefully this will help me add some content to <a title="my facebook page" href="http://www.facebook.com/home.php?ref=logo#/profile.php?id=1314701990" target="_blank">my facebook page</a> which I have seriously neglected.  It seems like a nice plugin, let&#8217;s hope it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/09/03/wordbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenDNS.org and issues with Mac OSX</title>
		<link>http://trylinux.org/2008/08/26/opendnsorg-and-issues-with-mac-osx/</link>
		<comments>http://trylinux.org/2008/08/26/opendnsorg-and-issues-with-mac-osx/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 03:19:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/08/26/opendnsorg-and-issues-with-mac-osx/</guid>
		<description><![CDATA[I ran across a great site today for people with kids or just want to filter traffic on their network.  I have 3 kids and I just bought my 5 and 3 year old a macbook to share.  When I ran across http://OpenDNS.org I thought wow this would be a great time to do some [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across a great site today for people with kids or just want to filter traffic on their network.  I have 3 kids and I just bought my 5 and 3 year old a macbook to share.  When I ran across <a title="OpenDNS.org" href="http://OpenDNS.org" target="_blank">http://OpenDNS.org</a> I thought wow this would be a great time to do some filtering to keep them from coming across something they shouldn&#8217;t.<br />
<!-- OpenDNS button --><br />
<a title="Use OpenDNS to make your Internet faster, safer, and smarter." href="http://www.opendns.com/share/"><img style="border: 0pt none " src="http://images.opendns.com/buttons/use_opendns_155x52.gif" alt="Use OpenDNS" width="155" height="52" /></a><br />
<!-- / end OpenDNS button --><br />
It&#8217;s very simple to create an account and set it up since it is based on DNS.  Since it is based on DNS it is easy to work around, but I figure it will be a few years before my kids get to that point.</p>
<p>One issue I ran into though is their documentation for the Mac is based on a wired ethernet connection.  Who uses patch cables at home anymore?  Luckily I found a link to a site that shows how to get around this on the Mac.  You can read about hit here: <a title="DNS DHCP fix for Mac OSX" href="http://qmail.jms1.net/djbdns/osx.shtml#dhcp-nameserver" target="_blank">http://qmail.jms1.net/djbdns/osx.shtml#dhcp-nameserver</a></p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/08/26/opendnsorg-and-issues-with-mac-osx/feed/</wfw:commentRss>
		</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>
		</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>
		</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>
		</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/   - 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/   - 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>
		</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>
		</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>
		</item>
		<item>
		<title>Move Oracle data files</title>
		<link>http://trylinux.org/2008/03/29/move-oracle-data-files/</link>
		<comments>http://trylinux.org/2008/03/29/move-oracle-data-files/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 23:06:15 +0000</pubDate>
		<dc:creator>tip</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[oracle]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://trylinux.org/2008/03/29/move-oracle-data-files/</guid>
		<description><![CDATA[The procedure below will allow you to move Oracle data and redo files.
1. It is a good idea to make a backup of the directory you are moving just in case something goes horribly wrong.  
# cp -rp {data_dir} {backup_dir}
2. log in as the oracle user
# su -l oracle
3. move the database files
# mv [...]]]></description>
			<content:encoded><![CDATA[<p>The procedure below will allow you to move Oracle data and redo files.</p>
<p>1. It is a good idea to make a backup of the directory you are moving just in case something goes horribly wrong.  <img src='http://trylinux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
# cp -rp {data_dir} {backup_dir}</p>
<p>2. log in as the oracle user<br />
# su -l oracle</p>
<p>3. move the database files<br />
# mv {data_dir} {new_data_dir}</p>
<p>4. Set SID, log into database.<br />
# export ORACLE_SID={ORACLE_SID}<br />
# sqlplus /nolog<br />
SQL&gt; connect /as sysdba;</p>
<p>5. Create pfile from spfile<br />
SQL&gt; create pfile from spfile;</p>
<p>6. In another terminal, modify the newly created pfile.  It is usually called init{SID}.ora and can be in different directories.  Look in udump, dbs, and other directories until you find the newly created pfile.  Check the date to make sure it is the one you are looking for.  Now, fix the directories for the control_files variable.</p>
<p>7. Go back to the original terminal and create spfile from pfile;<br />
SQL&gt; create spfile from pfile;</p>
<p>8. Mount database.<br />
SQL&gt; startup mount;</p>
<p>9. Alter the database to look in the new location for the data files and redo logs.  Below is an example. (Do this for all data and redo logs.)<br />
SQL&gt; alter database rename file &#8216;/home/oracle/oradata/{SID}/sysaux01.dbf&#8217; to &#8216;/usr/local/app/oracle/oradata/{SID}/sysaux01.dbf&#8217;<br />
SQL&gt; alter database rename file &#8216;/home/oracle/oradata/{SID}/redo01.log&#8217; to &#8216;/usr/local/app/oracle/oradata/{SID}/redo01.log&#8217;</p>
<p>10. Open database.<br />
SQL&gt; alter database open;</p>
<p>Now it should hopefully come up properly.  You man want to shut it down and bring it up once more to make sure everything is working properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://trylinux.org/2008/03/29/move-oracle-data-files/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
