<?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>Nimal&#039;s Weblog &#187; Linux</title>
	<atom:link href="http://nimal.info/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://nimal.info/blog</link>
	<description>Nimal blogs here</description>
	<lastBuildDate>Sat, 07 Jan 2012 08:44:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Text to Image in PHP with GD</title>
		<link>http://nimal.info/blog/2009/text-to-image-in-php-with-gd/</link>
		<comments>http://nimal.info/blog/2009/text-to-image-in-php-with-gd/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 17:03:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=132</guid>
		<description><![CDATA[<p>This is simple script to demonstrate the capabilities of PHP with the GD library, which provides a lot of image functions that can be useful in many applications. <a href="http://nimal.info/blog/2009/text-to-image-in-php-with-gd/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2009/text-to-image-in-php-with-gd/">Text to Image in PHP with GD</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>This is simple script to demonstrate the capabilities of <a href="../">PHP</a> with the <a href="http://us2.php.net/manual/en/book.image.php"><acronym title="Graphics Draw">GD</acronym> library</a>, which provides a lot of image    functions that can be useful in many applications. GD provides a rich set of functions. For a complete list of these functions, check the <a href="http://us2.php.net/manual/en/ref.image.php">PHP manual</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Type: image/png'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Text to be converted to image</span>
<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Hello World'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Font to use, give accessible path from script</span>
<span style="color: #000088;">$font</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'./arial.ttf'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Convert HTML entities into ISO-8859-1</span>
<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">html_entity_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">ENT_NOQUOTES</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;ISO-8859-1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create the image</span>
<span style="color: #000088;">$im</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecreatetruecolor</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">160</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">160</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$white</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecolorallocate</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$black</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecolorallocate</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create some colors</span>
<span style="color: #990000;">imagefilledrectangle</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">160</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">80</span><span style="color: #339933;">,</span> <span style="color: #000088;">$white</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Add the text</span>
<span style="color: #990000;">imagettftext</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">12</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">20</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">20</span><span style="color: #339933;">,</span> <span style="color: #000088;">$black</span><span style="color: #339933;">,</span> <span style="color: #000088;">$font</span><span style="color: #339933;">,</span> <span style="color: #000088;">$out</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">imagepng</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">imagedestroy</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">exit</span><span style="color: #339933;">;</span></pre></div></div>

<p>GD can also be used to create and manipulate image files in a variety of different image formats, including <a href="http://us2.php.net/manual/en/function.imagegif.php"><acronym title="Graphic Interchange Format">GIF</acronym></a>, <a href="http://us2.php.net/manual/en/function.imagepng.php"><acronym title="Portable Network Graphics">PNG</acronym></a>,    <a href="http://us2.php.net/manual/en/function.imagejpeg.php"><acronym title="Joint Photographic Experts Group">JPEG</acronym></a>, <a href="http://us2.php.net/manual/en/function.imagewbmp.php"><acronym title="Wireless Bitmap">WBMP</acronym></a>, and <acronym>XPM</acronym>.</p>
<p><em><strong>Limitations:</strong></em></p>
<ul>
<li>Though GD supports Unicode text inputs, it doesn&#8217;t support <strong> </strong><a href="http://en.wikipedia.org/wiki/Complex_text_layout"><strong>complex text rendering</strong></a></li>
<li> Complex Text Rendering is required for properly displaying many language texts, such as the <a title="Arabic alphabet" href="http://en.wikipedia.org/wiki/Arabic_alphabet">Arabic alphabet</a> and scripts of the <a class="mw-redirect" title="Brahmic family" href="http://en.wikipedia.org/wiki/Brahmic_family">Brahmic family</a>, which includes Tamil and many other Indic scripts.</li>
</ul>
<p><em><strong>There is a alternative for this using <a title="Pango" href="http://en.wikipedia.org/wiki/Pango">Pango</a> and <a href="http://cairographics.org/">Cairo</a> in PHP. I&#8217;ll post a detailed update on that in my next post.</strong></em></p>
<p><a href="http://nimal.info/blog/2009/text-to-image-in-php-with-gd/">Text to Image in PHP with GD</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2009/text-to-image-in-php-with-gd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Activate Oracle on XAMPP for Windows</title>
		<link>http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/</link>
		<comments>http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 04:30:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=131</guid>
		<description><![CDATA[<p>PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions. <a href="http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/">Activate Oracle on XAMPP for Windows</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p><a style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" href="http://1.bp.blogspot.com/_QU2k3YoKpNc/SpBSHpW4wRI/AAAAAAAACyY/FU8GSbpeVK0/s1600-h/php-med-trans-light.gif"><img src="http://1.bp.blogspot.com/_QU2k3YoKpNc/SpBSHpW4wRI/AAAAAAAACyY/FU8GSbpeVK0/s320/php-med-trans-light.gif" border="0" alt="" /></a>With the default installation of <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP for Windows</a>, we don&#8217;t get <a href="http://www.php.net/">PHP</a> <a href="http://www.oracle.com/">Oracle</a> connectivity enabled. This can be enabled easily when you need to connect to a <a href="http://en.wikipedia.org/wiki/Oracle_Database">Oracle Database</a> from your PHP application/script. <a href="http://en.wikipedia.org/wiki/PHP">PHP</a> has got the <a href="http://www.php.net/oci8">OCI8</a> extension, which provides Oracle connectivity to PHP application, and OCI8 uses <a href="http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html">Oracle Instant Client Package</a> to get Oracle specific functions.<br />
<a style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" href="http://2.bp.blogspot.com/_QU2k3YoKpNc/SpBSNPGLzAI/AAAAAAAACyg/yYTx4wuz39E/s1600-h/database_clr.gif"><img src="http://2.bp.blogspot.com/_QU2k3YoKpNc/SpBSNPGLzAI/AAAAAAAACyg/yYTx4wuz39E/s320/database_clr.gif" border="0" alt="" /></a><br />
I had the need to connect to a Oracle Database from a PHP script in one of my recent projects, the following is what I did to enable Oracle connectivity in XAMPP for Windows.</p>
<ol>
<li>In your XAMPP Start Page, go to <strong>phpinfo, </strong>look for string <strong>oci8</strong>. If string found it indicate that connection to oracle is available, otherwise to activate connection do the following steps:</li>
<li>Open the currently used <strong>php.ini</strong> file by looking at the <strong>phpinfo</strong>, from the XAMPP folder.</li>
<li>Find string <strong>;extension=php_oci8.dll</strong>. Remove the semicolon (<strong>;</strong>) ahead of the string to activate the oracle extension.</li>
<li>Save the <strong>php.ini </strong>file.</li>
<li>Download the &#8220;Instant Client Package &#8211; Basic&#8221; for Windows from the <a href="http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html" target="_blank">OTN Instant Client page</a>. Unzip it to c:\instantclient_11_1</li>
<li>Edit the PATH environment setting and add c:\instantclient_11_1 before any other Oracle directories. For example, on Windows XP, follow <strong>Start -&gt; Control Panel -&gt; System -&gt; Advanced -&gt; Environment Variables</strong> and edit PATH in the System variables list.</li>
<li>Set desired Oracle globalization language environment variables such as NLS_LANG. If nothing is set, a default local environment will be assumed. See <a href="http://www.oracle.com/technology/tech/php/pdf/globalizing_oracle_php_applications.pdf" target="_blank">An Overview on Globalizing Oracle PHP Applications</a> for more details.</li>
<li>Unset Oracle variables such as ORACLE_HOME and ORACLE_SID, which are unnecessary with Instant Client (if they are set previously).</li>
<li>Restart XAMPP (or Start if its not already started).</li>
<li>To make sure that connection to oracle database has successfully activated, go to phpinfo. Find string: oci8. If found, then XAMPP can now communicate with Oracle Database.</li>
</ol>
<p>The steps to do the same in a Linux box are almost similar, except there you will use the Linux versions of the packages and setting PATH variables would be different.</p>
<p>You can ping me back with a comment if you run into any issues, I might be able to help you or I can learn from you.</p>
<p><strong><em>Reference:</em></strong></p>
<ul>
<li><a href="http://www.oracle.com/technetwork/articles/dsl/technote-php-instant-084410.html" target="_blank">http://www.oracle.com/technology/pub/notes/technote_php_instant.html</a></li>
</ul>
<p><a href="http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/">Activate Oracle on XAMPP for Windows</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2009/activate-oracle-on-xampp-for-windows/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using the &#8216;exclude&#8217; option with &#8216;tar&#8217;</title>
		<link>http://nimal.info/blog/2009/using-the-exclude-option-with-tar/</link>
		<comments>http://nimal.info/blog/2009/using-the-exclude-option-with-tar/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 07:15:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=128</guid>
		<description><![CDATA[<p>The meanings of --exclude and --exclude-from are always confusing to me. I'm always confused with the use of 'exclude' options with 'tar'. <a href="http://nimal.info/blog/2009/using-the-exclude-option-with-tar/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2009/using-the-exclude-option-with-tar/">Using the &#8216;exclude&#8217; option with &#8216;tar&#8217;</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always confused with the use of &#8216;exclude&#8217; options with &#8216;tar&#8217;. Here I&#8217;m sharing a few tips I found online, just in case it might help you. The meanings of &#8211;exclude and &#8211;exclude-from are always confusing:</p>
<ul>
<li>Use <strong>&#8211;exclude</strong> when files to be excluded are given as a pattern on the command line.</li>
<li>Use <strong>&#8211;exclude-from</strong> to introduce the name of a file which contains a list of patterns, one per line; each of these patterns can exclude zero, one, or many files.</li>
</ul>
<p>When using &#8211;exclude=<em>pattern</em>, be sure to quote the <em>pattern</em> parameter, so GNU tar sees wildcard characters like &#8216;*&#8217;.</p>
<p>For example, write:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>archive.tar<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'*.o'</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>directory<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><em></em>tar does not act on a path name explicitly listed on the command line if one of its file name components is excluded. If files that end with &#8216;*.o&#8217; are excluded when creating an archive, but explicitly name the file &#8216;dir.o/foo&#8217; after all the options have been listed, &#8216;dir.o/foo&#8217; will be excluded from the archive.<br />
Only shell syntax, or globbing will work with exclude options in tar. The command might fail if regexp syntax is used to describe files to be excluded in the command.</p>
<p><strong><em>Reference:</em></strong></p>
<ul>
<li><a href="http://www.linuxtopia.org/online_books/linux_tool_guides/tar_user_guide/problems-with-exclude.html" target="_blank">GNU tar User Guide &#8211; problems with exclude</a></li>
</ul>
<p><a href="http://nimal.info/blog/2009/using-the-exclude-option-with-tar/">Using the &#8216;exclude&#8217; option with &#8216;tar&#8217;</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2009/using-the-exclude-option-with-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Being Nice on a Linux Box &#8211; Process priority with &#8216;nice&#8217; &amp; &#8216;renice&#8217;</title>
		<link>http://nimal.info/blog/2009/process-priority-with-nice-renice/</link>
		<comments>http://nimal.info/blog/2009/process-priority-with-nice-renice/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 04:48:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=125</guid>
		<description><![CDATA[<p>VirtualBox can be given higher priority using nice command. Also renice command can be used to change the priority of a running process. <a href="http://nimal.info/blog/2009/process-priority-with-nice-renice/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2009/process-priority-with-nice-renice/">Being Nice on a Linux Box &#8211; Process priority with &#8216;nice&#8217; &#038; &#8216;renice&#8217;</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Problem (I had): </strong></em>Wanted to run a VirtualBox on a RHEL 4.7 Linux server which is shared by someothers. But as some other processes took more CPU, the VirtualBox performance was bad. So I wanted to increase the priority given to VirtualBox.</p>
<p><em><strong>Solution (I found):</strong></em> VirtualBox can be given higher priority using <strong><tt>nice</tt></strong> command. Also <strong><tt>renice</tt></strong> command can be used to change the priority of a running process, which will also be useful.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nice</span> <span style="color: #660033;">-10</span> VBoxHeadless</pre></div></div>

<p>Gives the VBoxHeadless process 1.5 times priority than the normal process, calculated as (20 &#8211; -10)/20 = 1.5</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nice</span> <span style="color: #660033;">-20</span> <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>Executes <em>make</em> at maximum priority.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">renice +<span style="color: #000000;">20</span> <span style="color: #000000;">2222</span></pre></div></div>

<p>Changes the priority of process 2222 to +20 (minimum priority).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">renice <span style="color: #660033;">-10</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">13013</span></pre></div></div>

<p>Changes the priority of a running process by specifying its process ID, where priority can be,</p>
<ul>
<li>1 to 20 :Â Runs the specified processes slower than the base priority.</li>
<li>0 :Â Sets priority of the specified processes to the base scheduling priority.</li>
<li>-20 to -1 :Â Runs the specified processes quicker than the base priority.</li>
</ul>
<h3>References and further reading:</h3>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Nice_%28Unix%29" target="_blank">nice (Unix)</a></li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=n/nice" target="_blank">Linux Command Directory: nice</a></li>
<li> <a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=r/renice" target="_blank">Linux Command Directory: renice</a></li>
</ul>
<p><a href="http://nimal.info/blog/2009/process-priority-with-nice-renice/">Being Nice on a Linux Box &#8211; Process priority with &#8216;nice&#8217; &#038; &#8216;renice&#8217;</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2009/process-priority-with-nice-renice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell &#8211; How to get surrounding lines of grep result?</title>
		<link>http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/</link>
		<comments>http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 06:52:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=121</guid>
		<description><![CDATA[<p>Problem:I&#39;m using grep to search for an error and want to display the surrounding lines also as they contain related information. How to do that? Solution:Using grep -C &#60;# of lines to show above and below&#62; &#60;search&#62; &#60;file&#62; The following &#8230; <a href="http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/">Shell &#8211; How to get surrounding lines of grep result?</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p><u><b>Problem:</b></u><br />I&#39;m using grep to search for an error and want to display the surrounding lines also as they contain related information. How to do that?</p>
<p><u><b>Solution:</b></u><br />Using <b>grep -C &lt;# of lines to show above and below&gt; &lt;search&gt; &lt;file&gt;</b></p>
<p>The following prints the matched line, along with the 5 lines surrounding it.
<pre>$ grep -C 5 &quot;search&quot; sample_text</pre>
<p>Also we can use grep -A or -B to display number of lines above or below the matched line.</p>
<p>The following prints the matched line, along with the 5 lines after it.
<pre>$ grep -A 5 &quot;search&quot; sample_text</pre>
<p>The following prints the matched line, along with the 5 lines before it.
<pre>$ grep -B 5 &quot;search&quot; sample_text</pre>
<p><u><i>Reference:</i></u>
<ul>
<li style="font-family: courier new,monospace;">man grep</li>
<li><a href="http://www.commandlinefu.com/commands/view/279/live-filter-a-log-file-using-grep-and-show-x-of-lines-above-and-below"> Live filter a log file using grep and show x# of lines above and below</a></li>
</ul>
<p><a href="http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/">Shell &#8211; How to get surrounding lines of grep result?</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2009/shell-how-to-get-surrounding-lines-of-grep-result/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VLC Media Player says Merry Christmas</title>
		<link>http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/</link>
		<comments>http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 20:01:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=104</guid>
		<description><![CDATA[<p>The popular multiplatform media player VLC Media Player says Merry Christmas to all users this festive season by putting a red Christmas hat icon. This is an Easter egg in the latest version of VLC media player, and those who &#8230; <a href="http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/">VLC Media Player says Merry Christmas</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://nimal.info/uploads/vlc-christmas-cap.png"><img class="size-full wp-image-381 aligncenter" title="VLC Christmas Cap" src="http://nimal.info/uploads/vlc-christmas-cap.png" alt="VLC Christmas Cap" width="81" height="90" /></a> The popular multiplatform media player <strong>VLC Media Player</strong> says Merry Christmas to all users this festive season by putting a <strong><em>red Christmas hat</em></strong> icon. This is an <em><strong>Easter egg</strong></em> in the latest version of VLC media player, and those who have the updated version will notice this at use.</p>
<p><a href="http://www.renjusblog.com/2008/12/vlc-player-puts-up-red-christmas-hat.html">renjus blog</a> reports that,</p>
<blockquote class="gmail_quote" style="border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>If you are a VLC addict then you will have noticed this change as of Midnight 18 December.It seems as the developers from VLC decided to included this Easter egg on their later version 0.9+.</p></blockquote>
<div style="text-align: center;"><a style="text-decoration: none;" href="http://nimal.info/uploads/vlc-christmas.jpg"><img class="aligncenter size-medium wp-image-382" title="VLC Player for Christmas" src="http://nimal.info/uploads/vlc-christmas-300x187.jpg" alt="VLC Player for Christmas" width="300" height="187" /></a> <span style="font-size: x-small;"><em>Image source: <a href="http://www.jbkempf.com/blog/post/2008/12/19/VLC-dresses-up-for-christmas">jb</a> [Kinnda lazy to take a screenshot <img src='http://nimal.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ]</em></span></div>
<p><a href="http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/">VLC Media Player says Merry Christmas</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2008/vlc-media-player-says-merry-christmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notepad++: Its and IDE</title>
		<link>http://nimal.info/blog/2008/notepad-its-and-ide/</link>
		<comments>http://nimal.info/blog/2008/notepad-its-and-ide/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 16:15:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=98</guid>
		<description><![CDATA[<p>Most of my friends know me as a person advocating for Linux and FOSS&#160;. But most of them get surpurised to see me using Vista half the time. There are few reason I have for that, but this post is &#8230; <a href="http://nimal.info/blog/2008/notepad-its-and-ide/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2008/notepad-its-and-ide/">Notepad++: Its and IDE</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>Most of my friends know me as a person advocating for <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> and <a href="http://en.wikipedia.org/wiki/Free_and_open_source_software">FOSS</a>&nbsp;. But most of them get surpurised to see me using <a href="http://badvista.fsf.org/">Vista</a> half the time. There are few reason I have for that, but this post is not about that.</p>
<p>While I&#8217;m on Linux I really enjoy the text editors such as <a href="http://en.wikipedia.org/wiki/Kate_(text_editor)">Kate</a> and <a href="http://en.wikipedia.org/wiki/Gedit">gedit</a>&nbsp;,&nbsp;<span class="Apple-style-span" style="font-style: italic;">(I&#8217;m not a big fan of <a href="http://en.wikipedia.org/wiki/Vi">vi</a> and <a href="http://www.vim.org/">vim</a>&nbsp;).</span> But when it comes to Windows I missed them with the default Notepad. Then only I found <span class="Apple-style-span" style="font-weight: bold;"><a href="http://notepad-plus.sourceforge.net/">Notepad++</a>&nbsp;</span>. A cool feature to Notepad++ that was available not in the Windows Notepad is a spell checker feature. This feature is not automatically installed with the initial installation of Notepad++, but we just have to install GNU Aspell&nbsp;, a pre-compiled dictionary. Once you download and install the&nbsp;latest version of Aspell, and a dictionary from for your language of choice <span class="Apple-style-span" style="font-style: italic;">(English in my case)</span>, from the&nbsp;<a href="http://aspell.net/win32/">GNU ASpell site</a> you are ready to use this is a cool feature, and this helps me a lot for sure.</p>
<p>Notepad++ also has many more&nbsp;plug-ins, which make it more like a full&nbsp;fledged&nbsp;IDE, specially FTP browser,&nbsp;Syntax highlighting,&nbsp;Auto-completion&nbsp;and others will help any developer have a great time coding. Here are some of the features it offers with the default install of Notepad++:</p>
<p>
<ul>
<li>Syntax highlighting (and brace and indent highlighting)</li>
<li>Regular expression find and replace</li>
<li>Split screen editing</li>
<li>Zooming</li>
<li>Spell checker (built in but requires Aspell)</li>
<li>Tabbed document interface</li>
<li>FTP Browser (plug-in included in standard installation)</li>
<li>Support for various file formats including&nbsp;Unicode.</li>
<li>File Status Auto-detection</li>
<li>Zoom in and zoom out</li>
<li>Auto-completion (language and file)</li>
</ul>
<div>Notepad++ is available only for the Microsoft Windows operating system. However, users can still get Notepad++ to work on other platforms, like Linux and Mac OS X, using software such as <a href="http://en.wikipedia.org/wiki/Wine_(software)">Wine</a>&nbsp;.</div>
<div></div>
<div>Official&nbsp;site:&nbsp;<a href="http://notepad-plus.sourceforge.net/">http://notepad-plus.sourceforge.net/</a>&nbsp;</div>
<div>Download:&nbsp;<a href="http://notepad-plus.sourceforge.net/uk/download.php">http://notepad-plus.sourceforge.net/uk/download.php</a></div>
<p><a href="http://nimal.info/blog/2008/notepad-its-and-ide/">Notepad++: Its and IDE</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2008/notepad-its-and-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Matrix Runs on Windows</title>
		<link>http://nimal.info/blog/2008/the-matrix-runs-on-windows/</link>
		<comments>http://nimal.info/blog/2008/the-matrix-runs-on-windows/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 06:15:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=95</guid>
		<description><![CDATA[<p>Take the red pill. Get the blue screen. &#8220;The Matrix Runs on Windows&#8221; is a hilarious video that describes some of the &#8220;great featues&#8221; we get with Windows and other Microsoft products. The video ends with a BSOD (Blue Screen &#8230; <a href="http://nimal.info/blog/2008/the-matrix-runs-on-windows/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2008/the-matrix-runs-on-windows/">The Matrix Runs on Windows</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>Take the red pill. Get the blue screen.</p>
<p>&#8220;The Matrix Runs on Windows&#8221; is a hilarious video that describes some of the &#8220;great featues&#8221; we get with Windows and other Microsoft products. </p>
<p><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/yX8yrOAjfKM&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yX8yrOAjfKM&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>The video ends with a BSOD (<a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death">Blue Screen of Death</a>&nbsp;) and finally saying &#8220;Ubuntu, I&#8217;m going to learn <a href="http://en.wikipedia.org/wiki/Ubuntu">Ubuntu</a>&#8220;.</p>
<p>Video by:&nbsp;<a href="http://www.collegehumor.com/chtv">http://www.collegehumor.com/chtv</a></p>
<p><a href="http://nimal.info/blog/2008/the-matrix-runs-on-windows/">The Matrix Runs on Windows</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2008/the-matrix-runs-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Luntbuild : Installation</title>
		<link>http://nimal.info/blog/2008/luntbuild-installation/</link>
		<comments>http://nimal.info/blog/2008/luntbuild-installation/#comments</comments>
		<pubDate>Tue, 13 May 2008 14:49:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Luntbuild]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=77</guid>
		<description><![CDATA[<p>This is the second part of the little notes about Luntbuild. This gives some basic installation steps of Luntbuild. For an introduction on Luntbuild refer this post. Using zip distribution (without GUI), in Linux Download the Luntbuild zip distribution from &#8230; <a href="http://nimal.info/blog/2008/luntbuild-installation/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2008/luntbuild-installation/">Luntbuild : Installation</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>This is the second part of the little notes about Luntbuild. This gives some basic installation steps of Luntbuild. For an introduction on Luntbuild <a href="http://thetalkouttrojans.blogspot.com/2008/05/luntbuild-introduction.html">refer this post</a>.<br />
<h4>Using zip distribution (without GUI), <i>in Linux</i></h4>
<ol>
<li>Download the Luntbuild zip distribution from Luntbuild Sourceforge site, or from Luntbuid Javaforge site. This file is normally named luntbuild-xxx.zip, where xxx denotes the current version. </li>
</ol>
<ol start="2">
<li>Extract the zip file into the directory where you want to install Luntbuild, say /opt/luntbuild. Edit the following files with your text editor:
<ul>
<li>Edit file /opt/luntbuild/web/WEB-INF/web.xml: </li>
<li>Replace $INSTALL_PATH with your Luntbuild installation path (/opt/luntbuild here). </li>
<li>Optinally edit file /opt/luntbuild/web/WEB-INF/users.properties: </li>
<li>Replace luntbuild=luntbuild with your desired site administrator password in the format luntbuild=youradminpassword. NOTE, that admin user HAS to be luntbuild </li>
<li>If you use LDAP, edit file /opt/luntbuild/web/WEB-INF/ldap.properties and follow Luntbuild documentation to configure LDAP. </li>
</ul>
</li>
</ol>
<ol start="3">
<li>If you plan to run Luntbuild in standalone mode (without servlet container), just start Luntbuild as described in standalone section. Else copy all the contents under /opt/luntbuild/web directory, and deploy it as a web application to your application server, or servlet container. For example, if you are using Tomcat servlet container:
<ul>
<li>Make sure Tomcat has been stopped </li>
<li>Change to Tomcat install dir: &gt; cd &lt;tomcat install dir&gt;/webapps </li>
<li>Make luntbuild directory: &gt; mkdir luntbuild </li>
<li>Copy luntbuild/web to webapps: &gt; cp -r /opt/luntbuild/web/* &lt;tomcat install dir&gt;/webapps/luntbuild </li>
<li>Start Tomcat </li>
</ul>
</li>
</ol>
<p>Note: Do not create luntbuild.war file, just copy the contents under /opt/luntbuild/web directory to the luntbuild directory in the appropriate web application directory of your application server, or servlet container. </p>
<ol start="4">
<li>To launch Luntbuild in standalone mode run the following lines, where &#8216;localhost&#8217; is the target host and 8080 is the port we need to run the Luntbuild service. <i>(Instead of &#8216;localhost&#8217; we can also use something like 172.16.7.107)</i>
<pre>cd /opt/luntbuild-1.5.2/./luntbuild-standalone.jar localhost 8080</pre>
</li>
</ol>
<ol start="5">
<li>Now the Luntbuild server is up and running. </li>
<li>But if we need to access the server from outside, we need to open the service port which is 8080, on the host. To open a port in Redhat we can use the command <b>lokkit</b>.  </li>
<li>The current installation of Luntbuild server can be accessed via <span>http://localhost:8080/luntbuild/luntbuild-login.html</span> </li>
</ol>
<h4>Using Luntbuild installer (with GUI), <i>in Linux</i></h4>
<ol>
<li>Make sure you have JDK installed. </li>
<li>Get the &#8216;luntbuild-xxx-installer.jar&#8217; installer file. </li>
<li>Make it executable by running the following command while you are in the directory it is in.
<pre>chmod +x luntbuild-xxx-installer.jar</pre>
</li>
<li>Run the installer by running the following line.
<pre>./luntbuild-xxx-installer.jar</pre>
</li>
<li>While installing I went on with the default parameters, except the installation path. I selected the install path as &#8216;/opt/luntbuild-1.5.2/&#8217; </li>
<li>To launch Luntbuild in standalone mode run the following lines, where &#8216;localhost&#8217; is the target host and 8080 is the port we need to run the Luntbuild service. <i>(Instead of &#8216;localhost&#8217; we can also use something like 172.16.7.107)</i>
<pre>cd /opt/luntbuild-1.5.2/./luntbuild-standalone.jar localhost 8080</pre>
</li>
<li>Now the Luntbuild server is up and running. </li>
<li>But if we need to access the server from outside, we need to open the service port which is 8080, on the host. To open a port in Redhat we can use the command <i>lokkit</i>.  </li>
<li>The current installation of Luntbuild server can be accessed via <span>http://localhost:8080/luntbuild/luntbuild-login.html</span> </li>
</ol>
<h4>Using Luntbuild installer (with GUI), <i>in Windows</i></h4>
<ol>
<li>Have jdk1.4 or jdk1.5 installed, and add the directory which contains the java and jar executable into your system path </li>
</ol>
<ol start="2">
<li>Make sure you get one of Luntbuild supported servlet containers or application servers installed (Servlet2.3 and JSP1.2 support are required), and make sure it has been stopped. Alternatively you can run Luntbuild in standalone mode. </li>
</ol>
<ol start="3">
<li>Download Luntbuild installer from Luntbuild Sourceforge site, or from Luntbuid Javaforge site. This file is normally named as luntbuild-xxx-installer.jar, where xxx denotes current version. </li>
</ol>
<ol start="4">
<li>Run command java -jar luntbuild-xxx-installer.jar. A GUI will display to guide you through the installation, and Luntbuild will install into the selected directory, let&#8217;s say /opt/luntbuild. </li>
</ol>
<ol start="5">
<li>Deploy luntbuild.war (located in /opt/luntbuild directory) into your servlet container or application server. Note, that if you selected the deployment directory of your servlet container or application server during installation, the installer will deploy luntbuild.war for you. If you plan to run Luntbuild in standalone mode (without servlet container), just start Luntbuild as described in standalone section.</li>
</ol>
<p>Access the Luntbuild web application through <span>http://localhost:8080/luntbuild/luntbuild-login.html</span> (Username/Password by default is luntbuild/luntbuild)  <br />For more detailed installation steps, just refer to the original doc.
<ul>
<li>Ref : <a href="http://luntbuild.javaforge.com/doc/installguide/installguide.html" target="_blank"><span>http://luntbuild.javaforge.com/doc/installguide/installguide.html</span></a>   </li>
</ul>
<p><a href="http://nimal.info/blog/2008/luntbuild-installation/">Luntbuild : Installation</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2008/luntbuild-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Luntbuild : Introduction</title>
		<link>http://nimal.info/blog/2008/luntbuild-introduction/</link>
		<comments>http://nimal.info/blog/2008/luntbuild-introduction/#comments</comments>
		<pubDate>Tue, 06 May 2008 18:02:00 +0000</pubDate>
		<dc:creator>Nimal</dc:creator>
				<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Luntbuild]]></category>

		<guid isPermaLink="false">http://nimal.info/blog/?p=75</guid>
		<description><![CDATA[<p>This is going to be another short series (2-3 posts) about a build automation tool. I got using this during my internship at WaveNET. I don&#8217;t this this is going to be a very useful post to many ( I &#8230; <a href="http://nimal.info/blog/2008/luntbuild-introduction/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p><a href="http://nimal.info/blog/2008/luntbuild-introduction/">Luntbuild : Introduction</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></description>
			<content:encoded><![CDATA[<p>This is going to be another short series (2-3 posts) about a build automation tool. I got using this during my internship at WaveNET. I don&#8217;t this this is going to be a very useful post to many <i>( I here some one saying when I write useful posts </i> <img src='http://nimal.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <i> )</i>, but it could be at least a reference for some one out there or to me some day.<br />
<h4>Introduction</h4>
<p> Luntbuild is a powerful build automation and management tool. Continuous Integration or nightly builds can be easily set using a clean web interface. Executed builds are well managed using functions such as search, categorization, promotion, patching, deletion, etc. It also acts as a central build artifacts repository and download area for your whole team. </p>
<h4>Why Luntbuild?</h4>
<p>You may ask why Luntbuild, while there are already many good build automation tools such as Cruise Control, Anthill, and others. Our answer is: </p>
<ul>
<li>Luntbuild aims at not only being build automation, but also build management system. Executed builds can be categorized, promoted, searched, patched, deleted, etc. This is very important for a nightly builds or Continuous Integration builds, which generate many builds over time. </li>
<li>Luntbuild utilizes the project/schedule concept to easily provide build support for parallel development. </li>
<li>No configuration files, all jobs are done using web interface. You can set your Luntbuild system in less than thirty minutes.</li>
</ul>
<p> Luntbuild makes advantage of quite a few open source libraries and frameworks listed here.</p>
<p>Luntbuild homepage <a href="http://luntbuild.javaforge.com/" target="_blank"><span>http://luntbuild.javaforge.com/</span></a> </p>
<h4>What Luntbuild does?</h4>
<p>Basic unit of work in Luntbuild is a build. Build execution is triggered either by a schedule or it can be started manually. A build in Luntbuild performs following steps: </p>
<ol>
<li>Checks out source code from the Version Control System(s) (VCS). </li>
<li>Labels the current source code based on the current build version. </li>
<li>Runs an Ant/Maven/Command/Rake build script in the source tree. </li>
<li>Runs an Ant/Maven/Command/Rake post build script in the source tree. </li>
<li>Publishes the build log and other build artifacts. </li>
</ol>
<p>Build configuration, monitoring, and access to the build artifacts are all done using an intuitive web interface. Development and testing teams will have a central area to access the build information.</p>
<p>We shall see basic installation steps in the next post.</p>
<p><a href="http://nimal.info/blog/2008/luntbuild-introduction/">Luntbuild : Introduction</a> is a post from: <a href="http://nimal.info/blog">Nimal&#039;s Weblog</a> <br/><br/>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.</p>]]></content:encoded>
			<wfw:commentRss>http://nimal.info/blog/2008/luntbuild-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

