<?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>BlueScripts &#187; linux</title>
	<atom:link href="http://bluescripts.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluescripts.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 07 Jul 2010 16:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>BlueFault &#8211; error dump for random problems (http://bluefault.com/)</title>
		<link>http://bluescripts.net/2010/04/bluefault-error-dump-for-random-problems-httpbluefault-com/</link>
		<comments>http://bluescripts.net/2010/04/bluefault-error-dump-for-random-problems-httpbluefault-com/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 10:53:11 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[free scripts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=320</guid>
		<description><![CDATA[I just made a quick rails app to store problems/solutions and index them for later on http://bluefault.com/ Simply add a problem/solution and choose a type and hit submit!]]></description>
			<content:encoded><![CDATA[<p>I just made a quick rails app to store problems/solutions and index them for later on <a href="http://bluefault.com/">http://bluefault.com/</a></p>
<p>Simply add a problem/solution and choose a type and hit submit!</p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2010/04/bluefault-error-dump-for-random-problems-httpbluefault-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small Updates</title>
		<link>http://bluescripts.net/2009/10/small-updates/</link>
		<comments>http://bluescripts.net/2009/10/small-updates/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 19:20:59 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[free scripts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=287</guid>
		<description><![CDATA[Let me know if you notice anything broken or borked&#8230; just moved the blog to a new server. Since my last post I&#8217;ve added a few new things to my github account&#8230; one is a mmorpg rails plugin and another is a server automator for fresh installs to get them production/development ready. Server Setup Fu [...]]]></description>
			<content:encoded><![CDATA[<p>Let me know if you notice anything broken or borked&#8230; just moved the blog to a new server.</p>
<p>Since my last post I&#8217;ve added a few new things to my github account&#8230; one is a mmorpg rails plugin and another is a server automator for fresh installs to get them production/development ready.</p>
<div><img id="lang" src="../images/script.png" alt="" /> <a href="../apps/server-setup-fu/">Server Setup Fu</a></p>
<div>A collection of shell scripts that you run once to setup a bare metal server for development or production.</div>
</div>
<div>
<div><img id="lang" src="../images/ror.png" alt="" width="16" height="16" /> <a href="../apps/mmo_fo/">mmo_fu</a></p>
<div>A rails plugin to interact with MMO websites like: wow armory, lotro armory, etc.</div>
</div>
<div>
<p>Servly is also still chugging a long and is going to be offered as SaaS &#8212; I&#8217;ll post more information about how to sign up once we get closer to launching it.</p></div>
</div>
<div>And I&#8217;ll leave on this note:</div>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VHqD2W0T8wU&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/VHqD2W0T8wU&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/10/small-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lighttpd + mod_magnet on CentOS (64 bit)</title>
		<link>http://bluescripts.net/2009/08/lighttpd-mod_magnet-on-centos-64-bit/</link>
		<comments>http://bluescripts.net/2009/08/lighttpd-mod_magnet-on-centos-64-bit/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 15:20:17 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[mod_magnet]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=238</guid>
		<description><![CDATA[After about an hour of tinkering around on google and in the terminal here is what you need to do: wget http://www.lua.org/ftp/lua-5.1.2.tar.gz tar xfz lua-5.1.2.tar.gz cd lua-5.1.2 nano src/Makefile Replace: CFLAGS= -O2 -Wall $(MYCFLAGS) With: CFLAGS= -O2 -Wall -fPIC $(MYCFLAGS) make linux install wget http://luaforge.net/frs/download.php/2384/md5-1.0.2.tar.gz tar xfz md5-1.0.2.tar.gz cd md5-1.0.2 make make install cd .. [...]]]></description>
			<content:encoded><![CDATA[<p>After about an hour of tinkering around on google and in the terminal here is what you need to do:</p>
<pre>
wget http://www.lua.org/ftp/lua-5.1.2.tar.gz
tar xfz lua-5.1.2.tar.gz
cd lua-5.1.2
nano src/Makefile
</pre>
<p>Replace:</p>
<pre> CFLAGS= -O2 -Wall $(MYCFLAGS) </pre>
<p>With:</p>
<pre> CFLAGS= -O2 -Wall -fPIC $(MYCFLAGS) </pre>
<pre>
make linux install

wget http://luaforge.net/frs/download.php/2384/md5-1.0.2.tar.gz
tar xfz md5-1.0.2.tar.gz
cd md5-1.0.2
make
make install
cd ..
wget http://luaforge.net/frs/download.php/1678/luazlib-0.0.1.rar

wget wget http://www.rarlab.com/rar/unrar-3.7.7-centos.gz
gunzip unrar-3.7.7-centos.gz
chmod +x unrar-3.7.7-centos
./unrar-3.7.7-centos x luazlib-0.0.1.rar
cd luazlib-0.0.1
make
make install

export LUA_CFLAGS="-I/usr/local/include"
export LUA_LIBS="-L/usr/local/lib -llua"

cd LIGHTTPD_DIRECTORY
./configure -with-lua
make
make install
</pre>
<p>All done!</p>
<p>Thanks to:<br />
<a href="http://gadelkareem.com/2007/09/17/dynamic-content-caching-using-lighty-mod_magnet-lua/">http://gadelkareem.com/2007/09/17/dynamic-content-caching-using-lighty-mod_magnet-lua/</a> &#038;&#038; <a href="http://www.verlihub-project.org/doku.phpid=howto_install_lua_library_on_64_bit">http://www.verlihub-project.org/doku.phpid=howto_install_lua_library_on_64_bit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/08/lighttpd-mod_magnet-on-centos-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BlueBug 1.2 Released</title>
		<link>http://bluescripts.net/2008/10/bluebug-12-released/</link>
		<comments>http://bluescripts.net/2008/10/bluebug-12-released/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 20:47:51 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[bluebug]]></category>
		<category><![CDATA[free scripts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=99</guid>
		<description><![CDATA[v1.2 &#8211; 10/27/2008 &#8211; RELEASED Fixed all short tags (if you still get an error let me know, I&#8217;m 99.9% sure I got them all) Script now works properly in sub directories &#8211; see demo for in-action.]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>v1.2</strong> &#8211; <em>10/27/2008 &#8211; RELEASED</em>
<ol>
<li>Fixed all short tags (if you still get an error let me know, I&#8217;m 99.9% sure I got them all)</li>
<li>Script now works properly in sub directories &#8211; see demo for in-action.</li>
</ol>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2008/10/bluebug-12-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS w/out Yum</title>
		<link>http://bluescripts.net/2008/09/centos-wout-yum/</link>
		<comments>http://bluescripts.net/2008/09/centos-wout-yum/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 15:34:26 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=75</guid>
		<description><![CDATA[Took me about 20 minutes to figure out why this wasn&#8217;t working when installing yum: After you follow the instructions atÂ http://wiki.centos.org/TipsAndTricks/BrokenVserver You get to the part where your trying to install rpm-python. This doesn&#8217;t work quite as you&#8217;d hoped.Â Error: # rpm -Uvh rpm-python-4.4.2-48.el5.i386.rpm warning: rpm-python-4.4.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 [...]]]></description>
			<content:encoded><![CDATA[<p>Took me about 20 minutes to figure out why this wasn&#8217;t working when installing yum:</p>
<p>After you follow the instructions atÂ <a href="http://wiki.centos.org/TipsAndTricks/BrokenVserver">http://wiki.centos.org/TipsAndTricks/BrokenVserver</a><br />
You get to the part where your trying to install rpm-python. This doesn&#8217;t work quite as you&#8217;d hoped.Â </p>
<p>Error:</p>
<pre>
# rpm -Uvh rpm-python-4.4.2-48.el5.i386.rpm

warning: rpm-python-4.4.2-48.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897

error: Failed dependencies:

Â Â  Â  Â  Â rpm = 4.4.2-48.el5 is needed by rpm-python-4.4.2-48.el5.i386
</pre>
<p>So clear all the other RPM&#8217;s you installed, download these three from the repository (varies if your using 64 bit or i386)</p>
<p>rpm-4.4.2-48.el5.i386.rpm Â  Â  Â  rpm-python-4.4.2-48.el5.i386.rpm</p>
<p>rpm-libs-4.4.2-48.el5.i386.rpm Â </p>
<p>Make sure all these are present then run:</p>
<pre>rpm -Uvh *.rpm</pre>
<p>Â This will install the libs and the RPM update at the same time so the error isn&#8217;t thrown.</pre>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2008/09/centos-wout-yum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>`sar` command</title>
		<link>http://bluescripts.net/2008/09/sar-command/</link>
		<comments>http://bluescripts.net/2008/09/sar-command/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 12:34:52 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[sar]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=72</guid>
		<description><![CDATA[I&#8217;m always trying to find a good method of monitoring system performance and logging it, but today I ran into a rather strange issue that I couldn&#8217;t find on google. sar 0 was returning high idle percentages: # sar -u 0 08:17:29 AM Â Â Â CPU Â Â %user Â Â %nice Â %system [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always trying to find a good method of monitoring system performance and logging it, but today I ran into a rather strange issue that I couldn&#8217;t find on google.</p>
<p>sar 0 was returning high idle percentages:</p>
<pre>
# sar -u 0

08:17:29 AM Â  Â  Â  CPU Â  Â  %user Â  Â  %nice Â  %system Â  %iowait Â  Â  %idle

08:17:29 AM Â  Â  Â  all Â  Â  18.11 Â  Â  Â 0.01 Â  Â  11.66 Â  Â  70.22 Â  Â 3549.42
<div>running top didn't produce 3.5k % idle and in fact the system was nearly 98% idle.Â </div>
<div>The quick fix is to simply run</div>
<div></div>
<pre>yum update sysstat</pre>
<div>That fixed the problem immediately on the box I was using.</div>
<div></div>
<div>Hope this helps someone else.</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2008/09/sar-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
