<?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>ramraje.com &#187; Linux</title>
	<atom:link href="http://www.ramraje.com/ramraj/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ramraje.com</link>
	<description>Software Programming Blog</description>
	<lastBuildDate>Fri, 28 May 2010 17:03:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to find installed RPM software packages</title>
		<link>http://www.ramraje.com/linux/how-to-find-installed-rpm-software-packages/</link>
		<comments>http://www.ramraje.com/linux/how-to-find-installed-rpm-software-packages/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 06:15:24 +0000</pubDate>
		<dc:creator>Ramraj Edagutti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[RPM packages]]></category>

		<guid isPermaLink="false">http://www.ramraje.com/?p=171</guid>
		<description><![CDATA[I was trying to install mysql in centOS, which is rpm based Linux operating system like redhat, fedora etc. And I wanted to find out if it already installed or not.]]></description>
			<content:encoded><![CDATA[<p>I was trying to install mysql in centOS, which is rpm based Linux operating system like redhat, fedora etc. And I wanted to find out if it already installed or not. <span id="more-171"></span></p>
<p>Here is the command which list all the installed rpm software packages..</p>
<div class="geshi no bash">
<div class="head">rpm -qa</pre>
</div>
<ol>
<li class="li1">
<div class="de1">Above <span class="kw3">command</span> list all packages, q means query and a means all.</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">rpm <span class="kw3">command</span> generally used <span class="kw1">for</span> installing rpm archive packages manually, and one can also see all installed packages <span class="kw2">as</span> mentioned.</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">If you want to see few installed packages at a <span class="kw1">time</span> <span class="kw1">then</span> use below <span class="kw3">command</span></div>
</li>
<li class="li1">
<div class="de1"><span class="sy0">&lt;</span>pre <span class="re2">lang=</span><span class="st0">&quot;bash&quot;</span><span class="sy0">&gt;</span>rpm -qa <span class="sy0">|</span> <span class="kw2">less</span></div>
</li>
</ol>
</div>
<p>This command lists the installed rpm packages in less linux shell text editor, it will show few at a time, to see more just keep pressing enter button on your keyboard.</p>
<p>To see specific rpm software package like mysql or python, run below command</p>
<div class="geshi no bash">
<div class="head">rpm -qa | grep mysql -- To see mysql packages</div>
<ol>
<li class="li1">
<div class="de1">rpm -qa <span class="sy0">|</span> <span class="kw2">grep</span> python -- To see python packages</div>
</li>
</ol>
</div>
<p>To list the rpm packages in sorted manner, run below command</p>
<div class="geshi no bash">
<div class="head">rpm -qa | sort | less</pre>
</div>
<ol>
<li class="li1">
<div class="de1">To get sorted rpm packages list <span class="kw1">in</span> text <span class="kw2">file</span>, run below <span class="kw3">command</span></div>
</li>
<li class="li1">
<div class="de1"><span class="sy0">&lt;</span>pre <span class="re2">lang=</span><span class="st0">&quot;bash&quot;</span><span class="sy0">&gt;</span>rpm -qa <span class="sy0">|</span> <span class="kw2">sort</span> <span class="sy0">&amp;</span>gt; packages.txt</div>
</li>
</ol>
</div>
<p>I hope these commands may help in finding installed rpm packages. For any help email me or give a comment below in the comment box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramraje.com/linux/how-to-find-installed-rpm-software-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to see CentOS linux version</title>
		<link>http://www.ramraje.com/linux/how-to-see-centos-linux-version/</link>
		<comments>http://www.ramraje.com/linux/how-to-see-centos-linux-version/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 11:55:43 +0000</pubDate>
		<dc:creator>Ramraj Edagutti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Centos version]]></category>
		<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://www.ramraje.com/?p=163</guid>
		<description><![CDATA[Many times I forget the Linux command which is used to see the centOS linux operating system version. So, decided to write down it here on my blog and refer back when i forget. I hope it may also help others!]]></description>
			<content:encoded><![CDATA[<p>Many times I forget the Linux command which is used to see the centOS linux operating system version. So, decided to write down it here on my blog and refer back when i forget. I hope it may also help others!<span id="more-163"></span></p>
<p>Below is the command used for finding centOS linux version</p>
<div class="geshi no bash">
<div class="head">cat /etc/redhat-release/ &#8212; CentOs uses redhat kernal</pre>
</div>
<ol>
<li class="li1">
<div class="de1">Output is <span class="kw2">as</span> below</div>
</li>
<li class="li1">
<div class="de1"><span class="sy0">&lt;</span>pre <span class="re2">lang=</span><span class="st0">&quot;bash&quot;</span><span class="sy0">&gt;</span>CentOS release <span class="nu0">4.6</span> <span class="br0">&#40;</span>Final<span class="br0">&#41;</span></div>
</li>
</ol>
</div>
<p>Same command in generic way for any linux machine</p>
<div class="geshi no bash">
<div class="head">cat /etc/*release*/</pre>
</div>
<ol>
<li class="li1">
<div class="de1">Another alternative <span class="kw3">command</span> to see the Linux operating system version</div>
</li>
<li class="li1">
<div class="de1"><span class="sy0">&lt;</span>pre <span class="re2">lang=</span><span class="st0">&quot;bash&quot;</span><span class="sy0">&gt;</span>cat <span class="sy0">/</span>etc<span class="sy0">/</span>issue</div>
</li>
</ol>
</div>
<p>One more alternative command to see rpm based Linux versions, and also this command list all the rpm packages installed and their version numbers.</p>
<pre lang="bash">rpm -qa | grep centos</pre>
<p>From now, If I forget this command, I can refer back here. Bravo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramraje.com/linux/how-to-see-centos-linux-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start NFS service</title>
		<link>http://www.ramraje.com/linux/how-to-start-nfs-service/</link>
		<comments>http://www.ramraje.com/linux/how-to-start-nfs-service/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:54:43 +0000</pubDate>
		<dc:creator>Ramraj Edagutti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[NFS Service]]></category>
		<category><![CDATA[Portmap]]></category>
		<category><![CDATA[portmap service]]></category>

		<guid isPermaLink="false">http://www.ramraje.com/?p=147</guid>
		<description><![CDATA[What is NFS and NFS service
NFS is the network file system, which is used to mount or link the file system or simply folders from one linux machine to another linux machine.
This mounting makes folders and files transparently available  to the other linux machines across the network.
NFS service
NFS service is the linux service application which [...]]]></description>
			<content:encoded><![CDATA[<h2>What is NFS and NFS service</h2>
<p>NFS is the network file system, which is used to mount or link the file system or simply folders from one linux machine to another linux machine.<br />
This mounting makes folders and files transparently available  to the other linux machines across the network.<span id="more-147"></span></p>
<h3>NFS service</h3>
<p>NFS service is the linux service application which runs nfs server on the background, so that nfs clients can access.</p>
<h3>How to start the NFS file system</h3>
<blockquote><p>service nfs start</p>
<p>or</p>
<p>service nfs restart</p>
<p>or</p>
<p>/etc/init.d/nfs start</p>
<p>or</p>
<p>/etc/init.d/nfs restart</p></blockquote>
<p>But before starting nfs service you should make sure that portmap service is running, this is because nfs service depends on portmap service</p>
<h3>How to start portmap service</h3>
<blockquote>
<blockquote><p>service portmap start</p>
<p>or</p>
<p>service portmap restart</p>
<p>or</p>
<p>/etc/init.d/portmap start</p>
<p>or</p>
<p>/etc/init.d/portmap restart</p></blockquote>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ramraje.com/linux/how-to-start-nfs-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS file system in Linux</title>
		<link>http://www.ramraje.com/linux/nfs-file-system-in-linux/</link>
		<comments>http://www.ramraje.com/linux/nfs-file-system-in-linux/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:15:42 +0000</pubDate>
		<dc:creator>Ramraj Edagutti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[File system]]></category>
		<category><![CDATA[NFS]]></category>

		<guid isPermaLink="false">http://www.ramraje.com/?p=143</guid>
		<description><![CDATA[NFS stands for Network File System. And this is the one which is most widely used file system on Linux operating system based computers. Using this file system you can actually mount a file(s) from one Linux computer to another Linux computer if the both system are in the same network(LAN).
Mounting means just copying the [...]]]></description>
			<content:encoded><![CDATA[<p>NFS stands for Network File System. And this is the one which is most widely used file system on Linux operating system based computers. Using this file system you can actually mount a file(s) from one Linux computer to another Linux computer if the both system are in the same network(LAN).<span id="more-143"></span></p>
<p>Mounting means just copying the files from source Linux machine to the target Linux machine, to be exact it is  not exactly copy, but it is a link  to the file(s) from the source computer through LAN network and you would see all the files as those were local files.</p>
<p>To have this NFS file system in your computer, you should have NFS service daemon and portmap service daemon installed, and most probably these service comes with your linux operating system.</p>
<p>To check if the NFS and portmap service daemons installed or not, run below commands</p>
<blockquote><p>service portmap status</p></blockquote>
<p>If portmap is already installed, it will shows the status otherwise shows unrecognized service.</p>
<blockquote><p>service nfs status</p></blockquote>
<p>If NFS is already installed, it will shows the status otherwise shows unrecognized service.</p>
<p>Finally, to mount file/files from one computer to another computer, run below command</p>
<blockquote><p>mount -t nfs &lt;target_host_ip&gt;:/file/path /file/path</p></blockquote>
<p>&lt;target_host_ip&gt;:/file/path &#8211; target is the your target linux computer and /file/path is file path that you want to mount or copy to the another machine. The path should be from root.</p>
<p>Second argument &#8220;/file/path&#8221; is the folder path in your target linux  box, and this should be exist, mean you should create it before doing mount.</p>
<p>I hope you this help in mounting files between linux machines.</p>
<p>Leave a comment, If you find it useful or you have any doubts or you can mail me also, find my email at contact me page.</p>
<p><strong><span style="font-size: 10pt; font-family: Tahoma;"><br />
</span></strong></p>
<blockquote><p><strong><span style="font-size: 10pt; font-family: Tahoma;"><br />
</span></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ramraje.com/linux/nfs-file-system-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
