<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ruwinda&#039;s techie guide</title>
	<atom:link href="http://nixtaste.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nixtaste.wordpress.com</link>
	<description>&#34;Sharing knowledge on UNIX, Linux and nonspecific&#34;</description>
	<lastBuildDate>Wed, 25 Jan 2012 04:37:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nixtaste.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ruwinda&#039;s techie guide</title>
		<link>http://nixtaste.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nixtaste.wordpress.com/osd.xml" title="ruwinda&#039;s techie guide" />
	<atom:link rel='hub' href='http://nixtaste.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Centralizing user shell history files (.sh_history)</title>
		<link>http://nixtaste.wordpress.com/2012/01/08/centralizing-user-shell-history-files-sh_history/</link>
		<comments>http://nixtaste.wordpress.com/2012/01/08/centralizing-user-shell-history-files-sh_history/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 03:39:38 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
		
		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=137</guid>
		<description><![CDATA[Centralizing user shell history files (.sh_history) and enabling Date/Time Stamp on user shell history. Detail Description of change: 1. Add the following entry to /etc/profile to save all users history file in a central location. mkdir /var/adm/hist/; chmod 1777 /var/adm/hist/; export HISTFILE=/etc/hist/.hist-$LOGNAME ################################################## #User shell history centralization &#8211; [14092011-150500] export HISTSIZE=10000 export HISTFILE=/var/adm/hist/.hist-$LOGNAME typeset -r [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=137&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Centralizing user shell history files (.sh_history) and enabling Date/Time Stamp on user shell history.</p>
<p>Detail Description of change:</p>
<p>1. Add the following entry to /etc/profile to save all users history file in a central location.<br />
mkdir /var/adm/hist/; chmod 1777 /var/adm/hist/;<br />
export HISTFILE=/etc/hist/.hist-$LOGNAME</p>
<p>##################################################<br />
#User shell history centralization &#8211; [14092011-150500]</p>
<p>export HISTSIZE=10000<br />
export HISTFILE=/var/adm/hist/.hist-$LOGNAME<br />
typeset -r HISTSIZE<br />
typeset -r HISTFILE<br />
##################################################</p>
<p>Note:- Use of &#8220;typeset&#8221; to make those env. variables read-only and to stop being overridden by the users shell startup files.</p>
<p>2. Adding the following entry to /etc/environment to enable Data/Time Stamp on shell history.<br />
EXTENDED_HISTORY=ON</p>
<p>###############<br />
How This Works<br />
###############<br />
Each unix user&#8217;s shell history file will be created under &#8220;/var/adm/hist/&#8221;.</p>
<p>To view any user&#8217;s command history:<br />
#su &#8211; &lt;username&gt; -c fc -t<br />
============================================================<br />
For bash, the EXTENDED_HISTORY variable is not supported, so you will have to set the HISTTIMEFORMAT variable to something as follows:</p>
<p># HISTTIMEFORMAT=&#8221;%h/%m &#8211; %H:%M:%S &#8220;</p>
<p>Now, when you run the history command, you will have the timestamp in bash.<br />
Example:- export EXTENDED_HISTORY=ON; history; fc -t<br />
============================================================</p>
<p>References<br />
- http://www.coolcommands.com/index.php?option=com_cc&amp;task=display&amp;id=1184<br />
- http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/is-there-a-way-we-could-log-all-commands-executed-by-any-users-on-an-aix-server-4363412</p>
<p>============================================================</p>
<p>Following shell session will demonstrate the operation.<br />
root@nim01:/&gt;cd /var/adm/hist/<br />
root@nim01:/var/adm/hist&gt;pwd<br />
/var/adm/hist<br />
root@nim01:/var/adm/hist&gt;ls -a<br />
.              ..             .hist-ibmuser  .hist-root     .hist-sp2280<br />
root@nim01:/var/adm/hist&gt;ls -l .hist-*<br />
-rw&#8212;&#8212;-    1 ibmuser  staff           284 Dec 15 10:06 .hist-ibmuser<br />
-rw&#8212;&#8212;-    1 root     system        60488 Dec 15 10:06 .hist-root<br />
-rw&#8212;&#8212;-    1 sp2280   staff           270 Dec 14 13:05 .hist-sp2280<br />
root@nim01:/var/adm/hist&gt;cd ~<br />
root@nim01:/&gt;su &#8211; sp2280 -c fc -t<br />
1       2011/12/14 13:04:23 :: alias<br />
2       2011/12/14 13:04:32 :: echo $HISTFILE<br />
3       2011/12/14 13:04:37 :: bash<br />
4       ? :: ifconfig -a<br />
exit<br />
5       2011/12/14 13:04:43 :: df -g<br />
6       2011/12/14 13:04:50 :: cd /var/adm/hist<br />
7       2011/12/14 13:04:55 :: ls -a<br />
8       2011/12/14 13:05:03 :: cat .hist-sp2280<br />
9       2011/12/14 13:05:09 :: cd ~<br />
10      2011/12/14 13:05:13 :: exit<br />
root@nim01:/&gt;<br />
============================================================</p>
<p>NOTE:- This has been tested under IBM AIX environment, but should be able to applied to rest of the UNIX flavors including Linux with little or no change at all.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=137&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2012/01/08/centralizing-user-shell-history-files-sh_history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>Mayonnaise jar and 2 cups of coffee</title>
		<link>http://nixtaste.wordpress.com/2010/04/01/mayonnaise-jar-and-2-cups-of-coffee/</link>
		<comments>http://nixtaste.wordpress.com/2010/04/01/mayonnaise-jar-and-2-cups-of-coffee/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:31:14 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Like]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=117</guid>
		<description><![CDATA[When things in your life seem almost too much to handle and When 24 hours in a day is not enough; Remember the mayonnaise jar and 2 cups of coffee. A professor stood before his philosophy class and had some items in front of him. When the class began, wordlessly, he picked up a very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=117&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When things in your life seem almost too much to handle and When 24  hours in a day is not enough;<br />
Remember the mayonnaise jar and 2 cups of coffee.</p>
<p>A professor stood before his philosophy  class and had some items in front of him. When the class began, wordlessly, he  picked up a very large and empty mayonnaise jar and started to fill it with  golf balls.</p>
<p>He then asked the students if the jar was full.. They all agreed that it was. </p>
<p>The professor then picked up a box of pebbles and  poured it into the jar. He shook the jar lightly. The pebbles rolled into the open areas between the golf balls.</p>
<p>He then asked the students again if the jar was full. They agreed it was. </p>
<p>The professor next picked up a box of sand and poured it into the jar. Of course, the sand filled up everything else.<br />
He asked once more if the jar was full. The students responded with a unanimous &#8216;yes.&#8217; </p>
<p>The professor then produced two cups of coffee from under the  table and poured the entire contents into the jar, effectively filling the empty space between the sand. The students laughed. </p>
<p>&#8216;Now,&#8217; said the  professor, as the laughter subsided, &#8216;I want you to recognize that this jar represents your life.</p>
<p>The golf balls are the important things &#8211; God,  family, children, health, friends, and favorite passions. Things  that if everything else was lost and  only they remained, your life would still be full.</p>
<p>The pebbles are the things that matter like your job, house, and car. </p>
<p>The sand is everything else &#8212; The small stuff. </p>
<p>&#8216;If you put the sand into the jar  first,&#8217; he continued, &#8216;there is no room for the pebbles or the golf  balls. The same goes for life. </p>
<p>If you spend all your time and energy  on the small stuff, You will never have room for the things that  are important to you.</p>
<p>So&#8230; </p>
<p>Pay attention to the things that are critical to your happiness. Play with your children.  Take time to get medical checkups.  Take your partner out to dinner. </p>
<p>There will always be time to clean the house and fix the dripping tap.</p>
<p>&#8216;Take care of the golf balls first &#8212; The things that really  matter.  Set your priorities. The rest is just sand.&#8217;</p>
<p>One of the students raised her hand and inquired what the coffee represented. </p>
<p>The professor smiled.  &#8216;I&#8217;m glad you asked&#8217;. </p>
<p>It just goes to show you that  no matter how full your life may seem, there&#8217;s always room for a couple of cups of coffee with a friend.&#8217;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=117&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2010/04/01/mayonnaise-jar-and-2-cups-of-coffee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>signal 11 caught by ps &#124; segmentation fault</title>
		<link>http://nixtaste.wordpress.com/2009/11/15/signal-11-caught-by-ps-segmentation-fault/</link>
		<comments>http://nixtaste.wordpress.com/2009/11/15/signal-11-caught-by-ps-segmentation-fault/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 15:36:56 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=103</guid>
		<description><![CDATA[If you ever came across &#8220;segmentation fault&#8221; message in linux [in my case CentOS/RHEL], you know how annoying it can be. Basically it throws every time you invoke &#8220;ps &#124; top &#124; killall&#8221; &#8211; i.e any process related command. Googleing gave me couple of tips. cyberciti, took my attention. Since &#8220;ps&#8221; started to gave me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=103&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you ever came across &#8220;segmentation fault&#8221; message in linux [in my case CentOS/RHEL], you know how annoying it can be. Basically it throws every time you invoke &#8220;ps | top | killall&#8221; &#8211; i.e any process related command.<br />
Googleing gave me couple of tips. <a href="http://www.cyberciti.biz/tips/segmentation-fault-on-linux-unix.html">cyberciti</a>, took my attention.</p>
<p>Since &#8220;ps&#8221; started to gave me the trouble, i decided to upgrade the &#8220;ps&#8221;</p>
<p>&#8220;ps&#8221; comes under a package, so fist i had to locate the package name which provide &#8220;ps&#8221;.<br />
For that again i had to locate the &#8220;ps&#8221; executable :-<br />
[root@server1 ~]# whereis ps<br />
ps: /bin/ps /opt/mandriva_root/bin/ps /usr/share/man/man1p/ps.1p.gz</p>
<p>Then i locate the package name :-<br />
[root@server1 ~]# rpm -qf /bin/ps<br />
procps-3.2.7-11.1.el5</p>
<p>The procps package contains a set of system utilities that provide system information.</p>
<p>To update &#8220;procps&#8221; :-<br />
[root@server1 ~]# yum update procps</p>
<p>&#8220;procps&#8221; update did the trick for me. </p>
<p>BR.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=103&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/11/15/signal-11-caught-by-ps-segmentation-fault/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>Little help on Perl</title>
		<link>http://nixtaste.wordpress.com/2009/09/28/little-help-on-perl/</link>
		<comments>http://nixtaste.wordpress.com/2009/09/28/little-help-on-perl/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:43:35 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=89</guid>
		<description><![CDATA[What is Perl? From the Perl documentation: Perl is a high-level programming language with an eclectic heritage written by Larry Wall and a cast of thousands. It derives from the ubiquitous C programming language and to a lesser extent from sed, awk, the Unix shell, and at least a dozen other tools and languages. Perl&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=89&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is Perl?</strong></p>
<p>From the Perl documentation:</p>
<p>Perl is a high-level programming language with an eclectic heritage written by Larry Wall and a cast of thousands. It derives from the ubiquitous C programming language and to a lesser extent from sed, awk, the Unix shell, and at least a dozen other tools and languages. Perl&#8217;s process, file, and text manipulation facilities make it particularly well-suited for tasks involving quick prototyping, system utilities, software tools, system management tasks, database access, graphical programming, networking, and world wide web programming. These strengths make it especially popular with system administrators and CGI script authors, but mathematicians, geneticists, journalists, and even managers also use Perl. Maybe you should, too.</p>
<ul>
<li>Get the Perl manual.
<ul>
<li>[root@goliath ~]# man perl</li>
</ul>
</li>
</ul>
<ul>
<li>View Perl documentation.
<ul>
<li>[root@goliath ~]# man perldoc</li>
</ul>
</li>
</ul>
<ul>
<li>Perl introduction for beginners.
<ul>
<li>[root@goliath ~]# perldoc perlintro</li>
</ul>
</li>
</ul>
<ul>
<li>Perl OO tutorial for beginners.
<ul>
<li>[root@goliath ~]# perldoc perlboot</li>
</ul>
</li>
</ul>
<ul>
<li>Perl OO tutorial, part 1.
<ul>
<li>[root@goliath ~]# perldoc perltoot</li>
</ul>
</li>
</ul>
<ul>
<li>Perl OO tutorial, part 2.
<ul>
<li>[root@goliath ~]# perldoc perltooc</li>
</ul>
</li>
</ul>
<ul>
<li>Perl OO tricks and examples.
<ul>
<li>[root@goliath ~]# perldoc perlbot</li>
</ul>
</li>
</ul>
<ul>
<li>Perl regular expressions quick start.
<ul>
<li>[root@goliath ~]# perldoc perlrequick</li>
</ul>
</li>
</ul>
<ul>
<li>Perl regular expressions tutorial.
<ul>
<li>[root@goliath ~]# perldoc perlretut</li>
</ul>
</li>
</ul>
<ul>
<li>List the modules that come pre-installed with the standard Perl package.
<ul>
<li>[root@goliath ~]# perldoc perlmodlib</li>
</ul>
</li>
</ul>
<ul>
<li>Lists the optional modules that are installed in your system that don&#8217;t come with Perl by default.
<ul>
<li>[root@goliath ~]# perldoc perllocal</li>
</ul>
</li>
</ul>
<ul>
<li>Check if a module is installed
<ul>
<li>[root@goliath ~]# perl -MTie::Hash -e 1</li>
</ul>
</li>
</ul>
<ul>
<li>Get a list of installed modules &#8211; Using a script
<ul>
<li>[root@goliath ~]# perl -MFile::Find=find -MFile::Spec::Functions -Tlw -e &#8216;find { wanted =&gt; sub { print canonpath $_ if /\.pm\z/ }, no_chdir =&gt; 1 }, @INC&#8217;</li>
</ul>
</li>
</ul>
<p><span style="text-decoration:underline;"><strong>CPAN</strong></span><br />
<strong>CPAN </strong>is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation. Note that CPAN is also the name of a Perl module, CPAN.pm, which is used to download and install Perl software from the CPAN archive.<br />
Reference &#8211; http://www.cpan.org/</p>
<ul>
<li>Automatic installation using the CPAN module
<ul>
<li>[root@goliath ~]# perl -MCPAN -e &#8216;install Net::DNS&#8217;</li>
</ul>
</li>
</ul>
<ul>
<li>Installing cpan modules manually
<ul>
<li>unzip</li>
<li>perl Makefile.PL</li>
<li>make</li>
<li>make test</li>
<li>make install</li>
</ul>
</li>
</ul>
<p>Hope thses tip&#8217;s will help you to get on with perl.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=89&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/09/28/little-help-on-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>Some book&#8217;s i value most</title>
		<link>http://nixtaste.wordpress.com/2009/05/27/some-book-i-love-the-most/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/27/some-book-i-love-the-most/#comments</comments>
		<pubDate>Wed, 27 May 2009 08:58:28 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=44</guid>
		<description><![CDATA[Here&#8217;s some of the books .. i simply can&#8217;t live with out &#8230; Red Hat Certified Engineer Linux Study Guide &#8211; Michael Jang Linux Administration Handbook &#8211; Evi Nemeth , Garth Snyder , Trent R. Hein Open Source Web Development with LAMP &#8211; James Lee , Brent Ware Using Unix &#8211; Peter Kuo Beginning PHP5,Apache [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=44&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some of the books .. i simply can&#8217;t live with out &#8230;</p>
<ul>
<li> Red Hat Certified Engineer Linux Study Guide &#8211; Michael Jang</li>
<li> Linux Administration Handbook &#8211; Evi Nemeth , Garth Snyder , Trent R. Hein</li>
<li> Open Source Web Development with LAMP &#8211; James Lee , Brent Ware</li>
<li> Using Unix &#8211; Peter Kuo</li>
<li>Beginning PHP5,Apache and MySQL Web Development &#8211; Elizabeth Naramore , Jason Gerner , Yann Le Scouarnec , Jeremy Stolz , Michael K. Glass</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=44&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/27/some-book-i-love-the-most/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>Vote for OrangeHRM here !</title>
		<link>http://nixtaste.wordpress.com/2009/05/22/vote-for-orangehrm-here/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/22/vote-for-orangehrm-here/#comments</comments>
		<pubDate>Fri, 22 May 2009 05:03:50 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=39</guid>
		<description><![CDATA[Love this application. It&#8217;s FREE and It&#8217;s open source.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=39&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sourceforge.net/community/cca09/nominate/?project_name=OrangeHRM - Human Resource Management&amp;project_url=http://sourceforge.net/projects/orangehrm/"><img src="http://sourceforge.net/images/cca/cca_nominate.png" alt="" /></a></p>
<p>Love this application. It&#8217;s FREE and It&#8217;s open source.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=39&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/22/vote-for-orangehrm-here/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>7.031878 80.028341</georss:point>
		<geo:lat>7.031878</geo:lat>
		<geo:long>80.028341</geo:long>
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>

		<media:content url="http://sourceforge.net/images/cca/cca_nominate.png" medium="image" />
	</item>
		<item>
		<title>Create RHEL/CentOS Boot Disk</title>
		<link>http://nixtaste.wordpress.com/2009/05/05/create-rhelcentos-boot-disk/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/05/create-rhelcentos-boot-disk/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:26:09 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/2009/05/05/create-rhelcentos-boot-disk/</guid>
		<description><![CDATA[Floppies no longer supported in RHEL/CentOS-5. So you need to create boot CD/DVD. Put the RHEL/CentOS-5 DVD/first CD to CDROM/DVDROM -&#62; mount the device. IF you CD/DVD not get automount -&#62; First find the device -&#62; dmesg &#124; grep -i dvdrom -&#62; then mount the device -&#62; mount /dev/device /mnt/destination Locate the &#60;images&#62; directory from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=15&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Floppies no longer supported in RHEL/CentOS-5. So you need to create boot CD/DVD.</p>
<ul>
<li> Put the RHEL/CentOS-5 DVD/first CD to CDROM/DVDROM -&gt; mount the device.</li>
</ul>
<p>IF you CD/DVD not get automount -&gt;</p>
<ul>
<li>First find the device -&gt; dmesg | grep -i dvdrom -&gt; then</li>
<li>mount the device -&gt; mount /dev/device /mnt/destination</li>
</ul>
<p>Locate the &lt;images&gt; directory from the CD/DVD contents. Get burn &lt;boot.iso&gt; image to CD/DVD. You can use either k3b OR cdrecord to get this done.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=15&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/05/create-rhelcentos-boot-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>NFS kickstart installation</title>
		<link>http://nixtaste.wordpress.com/2009/05/05/nfs-kickstart-installation/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/05/nfs-kickstart-installation/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:25:15 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=13</guid>
		<description><![CDATA[Installing Linux includes several steps. Installation will take some time depending on the number of packages you have selected. If you installing Linux to a single machine, then it&#8217;s no big deal. But if you have to perform installation on several machines, then the process is cumbersome. So the solution is to have a installation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=13&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installing Linux includes several steps. Installation will take some time depending on the number of packages you have selected. If you installing Linux to a single machine, then it&#8217;s no big deal. But if you have to perform installation on several machines, then the process is cumbersome.</p>
<p>So the solution is to have a installation server. We discuss in a previous post the setup steps involves in a NFS , FTP installation server. There you boot from a installation media and select installation method, then installation will start. But still need to go through all the installation steps. So in order to make life easy we can make the installation automated by the use of kickstart installation provided by RHEL/CentOS.</p>
<p>To start with kickstart. Invoke &#8220;system-config-kickstart&#8221; (shell) OR Applications-&gt;System Tools-&gt;Kickstart<br />
If don&#8217;t have kickstart already installed, get it installed.</p>
<ul>
<li> yum -y install system-config-kickstart</li>
</ul>
<p>Fill all the necessary fields. Save the changes. Place it some where with in the reach of NFS. Let&#8217;s say, /var/ftp/pub/ks.cfg<br />
/var/ftp/pub/ -&gt; should be a exported file system by now.</p>
<ul>
<li> showmount -e hostname -&gt; will list the nfs shares of hostname.</li>
</ul>
<p>Now you ready to start the installation. Boot the system from the boot DVD/CD. In the boot prompt, type :-</p>
<ul>
<li> boot:linux ks=nfs:10.0.0.1:/var/ftp/pub/ks.cfg</li>
</ul>
<p>Press Enter.System should get on with the installation.  CHEERS <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>NOTE :- IP addresses used here are belong to IPV4 private ranges.Replace it with your&#8217;s.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=13&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/05/nfs-kickstart-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>RHEL/CentOS FTP Installation</title>
		<link>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-ftp-installation/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-ftp-installation/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:24:15 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/?p=11</guid>
		<description><![CDATA[As the first step of creating FTP installation server, create a directory under /var/ftp/pub. Let say CentOS-5.2. Copy all CD/DVD contents to the created directory. mkdir -p /var/ftp/pub/CentOS-5.2 Then locate vsftpd configuration file. vim /etc/vsftpd/vsftpd.conf &#8211; There &#8230;.. anonymous_enable=YES -&#62; will give anonymous access to vsftp local_enable=YES -&#62; will allow access to local user&#8217;s xferlog_file=/var/log/vsftpd.log [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=11&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As the first step of creating FTP installation server, create a directory under /var/ftp/pub. Let say CentOS-5.2. Copy all CD/DVD contents to the created directory.</p>
<ul>
<li>mkdir -p /var/ftp/pub/CentOS-5.2</li>
</ul>
<p>Then locate vsftpd configuration file.</p>
<ul>
<li>vim /etc/vsftpd/vsftpd.conf &#8211; There &#8230;..</li>
</ul>
<p>anonymous_enable=YES -&gt; will give anonymous access to vsftp<br />
local_enable=YES -&gt; will allow access to local user&#8217;s<br />
xferlog_file=/var/log/vsftpd.log -&gt; will create separate log file for vsftp. Once done save the file.</p>
<ul>
<li>service vsftpd restart -&gt; will restart the vsftd service. vsftpd set up should be OK by now.</li>
</ul>
<p>Next boot the system from boot CD/DVD. Select the Language , keyboard , installation method. Choose FTP for the installation method. Choose static OR DHCP under TCP/IP configuration.</p>
<p>NOTE :- If you choosing DHCP, you should have DHCP server in place already. I will be discussing steps involved in a DHCP server setup in a separate post. So watch out. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Under the FTP setup -&gt;<br />
FTP site name:10.0.0.1 &#8211; type the IP address of the server.<br />
ftp://10.0.0.1 -&gt; WRONG FORMAT<br />
CentOS/RHEL directory:pub/CentOS-5.2 &#8211; give the path relative to the /var/ftp directory<br />
/var/ftp/pub/CentOS-5.2 -&gt; WRONG FORMAT</p>
<p>In the vsftp.conf if you have set -&gt; anonymous_enable=NO<br />
Then in the FTP setup, check the &#8220;Use non-anonymous ftp&#8221; and provide the authentication information for the user.</p>
<p>If everything went right system should start the installation by now.  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=11&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-ftp-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
		<item>
		<title>RHEL/CentOS NFS installation</title>
		<link>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-network-installation/</link>
		<comments>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-network-installation/#comments</comments>
		<pubDate>Tue, 05 May 2009 05:55:46 +0000</pubDate>
		<dc:creator>Ruwinda Fernando</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nixtaste.wordpress.com/2009/05/05/rhelcentos-network-installation/</guid>
		<description><![CDATA[To set up NFS installation server, first locate and edit /etc/exports with the preferred NFS path. vim /etc/exports -&#62; put the path. Let say, /var/ftp/pub/CentOS-5.2 NOTE :- For file editing you can use your favorite file editor. In this case I&#8217;m using &#8220;vim&#8221;, which I&#8217;m very much comfortable with. In your case it might be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=6&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To set up NFS installation server, first locate and edit /etc/exports with the preferred NFS path.</p>
<ul>
<li> vim /etc/exports -&gt; put the path. Let say, /var/ftp/pub/CentOS-5.2</li>
</ul>
<p>NOTE :- For file editing you can use your favorite file editor. In this case I&#8217;m using &#8220;vim&#8221;, which I&#8217;m very much comfortable with. In your case it might be some thing else. Can be either nano , emacs OR gedit. If you newbie, then I&#8217;m recommending vim for you.</p>
<p>TO GET START WITH VIM, Type &#8220;vimtutor&#8221; in your shell. The Vim tutor.</p>
<p>Back on NFS again&#8230;..</p>
<ul>
<li> exportfs -ua -&gt; will umount all exported file systems</li>
<li> exportfs -ra -&gt; will remount all exported file systems</li>
<li> showmount -e hostname -&gt; will list all exported file systems in hostname</li>
</ul>
<p>If iptables ON, nfs probably won&#8217;t work. Most probably your nfs ports must be blocked by firewall. First clarify whether the firewall is turned on OR off in you machine.</p>
<ul>
<li> service iptables status &#8211; will give the iptables status</li>
</ul>
<p>If iptables turned on, then get a list of applied iptables rules. To do so,</p>
<ul>
<li> iptables -L | less &#8211; will list current iptables rules.</li>
</ul>
<p>If you see four strings in the below format, probably nfs might work over the firewall for you.</p>
<p>iptables -A INPUT -s 192.x.x.x/24 -p tcp &#8211;dport 111 -j ACCEPT<br />
iptables -A INPUT -s 192.x.x.x/24 -p udp &#8211;dport 111 -j ACCEPT<br />
iptables -A INPUT -s 192.x.x.x/24 -p tcp &#8211;dport 2049 -j ACCEPT<br />
iptables -A INPUT -s 192.x.x.x/24 -p udp &#8211;dport 2049 -j ACCEPT<br />
NOTE :- IP addresses used here are belong to IPV4 private ranges. Replace it with yours.</p>
<p>If not we need to allow nfs over iptables. To allow NFS over iptables :-</p>
<ul>
<li> iptables -A INPUT -j ACCEPT</li>
</ul>
<p>NOTE :- More general rule that will allow all incoming traffic through the firewall. Later I&#8217;ll discuss nfs over firewall in much detail in some other post.</p>
<ul>
<li> service iptables save; restorecon -R /etc/sysconfig/* &#8211; will save iptables settings and restore selinux context.</li>
<li> service iptables restart.</li>
</ul>
<p>nfs should be OK over iptables by now. Let&#8217;s get start the installation.</p>
<p>Start system with the help of the boot CD/DVD. In the boot: prompt, Either you can press enter and go ahead with booting the system, which later prompt for the installation method OR Press F2 and go to options and invoke &#8220;linux askmethod&#8221;. In each you&#8217;ll be asked to select language , keyboard , and installation method. Select &#8220;NFS&#8221; for installation method.</p>
<p>To Configure TCP/IP, you can use either static IP or DHCP. If you have DCHP server in place use DHCP or use a correct static IP.</p>
<p>NOTE :- you will find DHCP settings in a up coming post.</p>
<p>In NFS setup -&gt;</p>
<p>under the nfs server name : use name OR IP of the NFS server<br />
under the CentOS/RHEL directory : /use/correct/path/</p>
<p>If everything went right system should start the installation. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nixtaste.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nixtaste.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nixtaste.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nixtaste.wordpress.com&amp;blog=7590709&amp;post=6&amp;subd=nixtaste&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nixtaste.wordpress.com/2009/05/05/rhelcentos-network-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cff8ce88ce5d3e98968939c897e17633?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ruwi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
