<?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>World Of Linux</title>
	<atom:link href="http://linuxworld4all.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxworld4all.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 13 Nov 2008 21:34:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='linuxworld4all.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>World Of Linux</title>
		<link>http://linuxworld4all.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://linuxworld4all.wordpress.com/osd.xml" title="World Of Linux" />
	<atom:link rel='hub' href='http://linuxworld4all.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How does a traceroute works ?</title>
		<link>http://linuxworld4all.wordpress.com/2008/11/13/how-does-a-traceroute-works/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/11/13/how-does-a-traceroute-works/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 21:34:08 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=35</guid>
		<description><![CDATA[Lets try to answer this question - How does a traceroute works ? On the konsole we type ( for example ) : traceroute google.com The output will be something like : ===================================== traceroute to google.com (209.85.171.99), 30 hops max, 40 byte packets 1  192.168.0.4 (192.168.0.4)  13.654 ms  13.722 ms  13.737 ms 2  dsl-KK-static-001.192.95.61.airtelbroadband.in (61.95.192.1)  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=35&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lets try to answer this question -<strong> How does a traceroute works ?</strong></p>
<p>On the konsole we type ( for example ) :</p>
<p><strong>traceroute google.com</strong></p>
<p>The output will be something like :</p>
<p>=====================================</p>
<p><em><strong>traceroute to google.com (209.85.171.99), 30 hops max, 40 byte packets<br />
1  192.168.0.4 (192.168.0.4)  13.654 ms  13.722 ms  13.737 ms</strong></em><br />
2  dsl-KK-static-001.192.95.61.airtelbroadband.in (61.95.192.1)  82.682 ms  82.896 ms  83.190 ms<br />
3  ABTS-KK-Static-173.32.166.122.airtelbroadband.in (122.166.32.173)  83.483 ms  83.689 ms  84.059 ms<br />
4  ABTS-KK-Static-009.32.166.122.airtelbroadband.in (122.166.32.9)  84.278 ms  84.572 ms  84.785 ms<br />
5  122.175.255.29 (122.175.255.29)  85.119 ms  85.656 ms  85.882 ms<br />
<em><strong> 6  125.21.167.70 (125.21.167.70)  86.347 ms * *<br />
7  * so-4-3-2.edge2.LosAngeles1.Level3.net (4.78.205.153)  322.074 ms  323.890 ms</strong></em><br />
8  vlan99.csw4.LosAngeles1.Level3.net (4.68.20.254)  324.165 ms  326.952 ms vlan69.csw1.LosAngeles1.Level3.net (4.68.20.62)  328.199 ms<br />
9  ae-93-93.ebr3.LosAngeles1.Level3.net (4.69.137.45)  327.240 ms ae-63-63.ebr3.LosAngeles1.Level3.net (4.69.137.33)  327.550 ms ae-73-73.ebr3.LosAngeles1.Level3.net (4.69.137.37)  327.859 ms<br />
10  ae-2.ebr3.SanJose1.Level3.net (4.69.132.9)  328.582 ms  328.933 ms  336.521 ms<br />
11  ae-93-93.csw4.SanJose1.Level3.net (4.69.134.238)  336.794 ms ae-63-63.csw1.SanJose1.Level3.net (4.69.134.226)  339.650 ms ae-73-73.csw2.SanJose1.Level3.net (4.69.134.230)  321.976 ms<br />
12  ae-81-81.ebr1.SanJose1.Level3.net (4.69.134.201)  317.552 ms ae-91-91.ebr1.SanJose1.Level3.net (4.69.134.205)  315.267 ms ae-61-61.ebr1.SanJose1.Level3.net (4.69.134.193)  312.909 ms<br />
13  ae-3.ebr1.Seattle1.Level3.net (4.69.132.50)  353.243 ms  355.277 ms  355.642 ms<br />
14  ae-11-53.car1.Seattle1.Level3.net (4.68.105.66)  358.504 ms ae-11-51.car1.Seattle1.Level3.net (4.68.105.2)  358.818 ms ae-11-55.car1.Seattle1.Level3.net (4.68.105.130)  361.111 ms<br />
15  GOOGLE-INC.car1.Seattle1.Level3.net (4.79.104.74)  356.893 ms  358.424 ms  355.850 ms<br />
16  209.85.249.34 (209.85.249.34)  325.808 ms  326.099 ms 209.85.249.32 (209.85.249.32)  327.433 ms<br />
17  66.249.95.208 (66.249.95.208)  315.869 ms 209.85.249.16 (209.85.249.16)  316.681 ms  317.411 ms<br />
18  * * *<br />
19   (72.14.233.37)  331.734 ms  331.891 ms 64.233.174.97 (64.233.174.97)  334.826 ms<br />
20  209.85.251.141 (209.85.251.141)  327.847 ms 209.85.251.153 (209.85.251.153)  368.172 ms  368.482 ms<br />
<em><strong>21  74.125.30.130 (74.125.30.130)  365.568 ms  363.712 ms 74.125.30.134 (74.125.30.134)  364.437 ms<br />
22  * * *</strong></em><br />
23  * * *<br />
24  * * *<br />
25  * * *<br />
26  * * *<br />
27  * * *<br />
28  * * *<br />
29  * * *<br />
30  * * *</p>
<p>=====================================</p>
<p>Lets now understand this :</p>
<p>1. The first line of the output gives the IP address of the google.com, which is 209.85.171.99 and the maximum number of hops traceroute will keep track of the packets before it reaches the destination and the size of the packets which is 40 bytes.</p>
<p>2. The second hop is always to ones ISP&#8217;s gateway as shown by the address. On the same line, followed by the IP address, there are three time values in milli seconds. There are three values because traceroute by default sends simultaneously, 3 packets of 40 bytes each. And the three time values are the time taken to send the packets and receive a ICMP TIME_EXCEEDED response from the gateway. Put another way, these three values are the round trip times of the packets. So for the three packets to reach my ISP&#8217;s gateway, and get an echo back, it takes 13.654 ms  13.722 ms  13.737 ms.</p>
<p>3. Lets look at the <strong>6th and 7th</strong> hops in the output above. If you compare the times, you will find a drastic increase in the times ( from 6th to 7th hop ). This is because up till the sixth hop, the gateway servers were within the Indian sub-continent itself. The 7th hops went to Los Angeles and so it takes that much more time to get a reply. Generally, smaller numbers mean better connections.</p>
<p>4. And from <strong>22nd</strong> hop I get a series of time outs as shown by the asterisks. So my trace of the www.google.com domain resulted in a series of time outs and did not complete. The problems could be one of the following:<br />
a.) The network connection between the server on the <strong>21</strong>th hop and that on <strong>22</strong>th hop is broken.<br />
b.) The server on the <strong>22</strong>th hop is down.<br />
c.) Or there is some problem with the way in which the server on the <strong>22</strong>th hop has been setup.</p>
<p>This is how we analize the traceroute result.</p>
<p>Now proceeding with the discussion further , lets talk about <strong>TCP/IP</strong>. The TCP/IP packets can be divided into two types :</p>
<p>1. <strong>IP ( Internet Protocol ) packets </strong></p>
<p>2. <strong>ICMP ( Internet Control Message Protocol ) packets<br />
</strong></p>
<p>Each of these packets has a <strong><em>Header and  Data</em></strong> part. The header contains information about sender, the target , TTL and other information necessary to take the packet to the destination.</p>
<p>There are nearly 13 types of ICMP packets ( ICMP is used for errors ) . One of them ( which is our concern here ) is <strong>ICMP_ECHO_REQUEST</strong>. This packet is used for pinging.</p>
<p>For a IP packet, it contains <strong><em>TCP and UDP</em></strong> as <strong><em>data</em></strong> parts. Also IP packets have <strong><em>TTL</em></strong> as one of the headers. This TTL value serves a great role in killing the mis-routed packets. If the network has some problem and these packets get mis-routed , they need to be timed out or else they will increase the bandwidth. Therefore we specify a TTL value.</p>
<p><em>This TTL value is decreased every time it crosess a router. If the packets goes through too many hops the packet gets killed and an ICMP error is sent back to the sender.</em></p>
<p>Now here is how traceroute works :</p>
<p>1.  First it sends packets with TTL= 1, the packet goes through the first hop and dies.<br />
2.  That router sends back an ICMP error and that way we can determine its IP/ Hostname.<br />
3. Then traceroute send packets with TTL=2 , it passes the first router and loses the TTL value by 1 , and  then goes to the second router and dies. Thus we get the IP/ Hostname of the second router.<br />
4. This continues until the packet reaches its destination.</p>
<p>This is How a Traceroute works .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=35&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/11/13/how-does-a-traceroute-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote access for Mysql ( In Cpanel servers )</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/19/remote-access-for-mysql-in-cpanel-servers/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/19/remote-access-for-mysql-in-cpanel-servers/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 23:10:13 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=23</guid>
		<description><![CDATA[To allow a remote mysql connection to a mysql database in a cPanel server, we need to allow the IP as : cPanel &#62; Remote Mysql &#62; Add Access Host When we add a IP suppose &#8221; 97.89.191.105 &#8221; , then this IP gets added inside the Iptables in the server as : ACCEPT     all  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=23&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To allow a remote mysql connection to a mysql database in a cPanel server, we need to allow the IP as :</p>
<p><strong><em>cPanel &gt; Remote Mysql &gt; Add Access Host </em></strong></p>
<p>When we add a IP suppose &#8221; 97.89.191.105 &#8221; , then this IP gets added inside the Iptables in the server as :</p>
<p><strong><em>ACCEPT     all  &#8211;  97-89-191-105.dhcp.gnvl.sc.charter.com  anywhere</em></strong></p>
<p>We can add the IP from the command line as :</p>
<p>1. Login to the mysql as :</p>
<p>mysql database name ;</p>
<p>Let us assume that you are always making connection from remote IP called 97.89.191.105  for database called webdb for user webadmin, To grant access to this IP address type the following command At mysql&gt; prompt for existing database:</p>
<p>mysql&gt; <strong>update db set Host=&#8217;97.89.191.105&#8242; where Db=&#8217;webdb&#8217;;</strong><br />
mysql&gt; <strong>update user set Host=&#8217;97.89.191.105&#8242; where user=&#8217;webadmin&#8217;;</strong></p>
<p>This will add the Iptables as :</p>
<p><strong><em>ACCEPT     all  &#8211;  97-89-191-105.dhcp.gnvl.sc.charter.com  anywhere</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=23&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/19/remote-access-for-mysql-in-cpanel-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>Zombie Process</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/19/zombie-process/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/19/zombie-process/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 20:22:35 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=21</guid>
		<description><![CDATA[What is a Zombie process ? On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. In the term&#8217;s colorful metaphor, the child process has died but has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=21&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>What is a Zombie process ?</em></p>
<p>On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. In the term&#8217;s colorful metaphor, the child process has died but has not yet been reaped.</p>
<p><em>So the question comes &#8211; How to kill these Zombies ? </em></p>
<p>Zombie process is a process which is already dead. A usual notion regarding Zombie process was that they cannot be killed. They are removed when we reboot the server/system. But is there any other way to kill these dead processes.</p>
<p>The answer is Yes!. Here is how we can do this -</p>
<p>1. First we will find out the Zombie processes running on the server :</p>
<p><em><strong>ps aux | awk &#8216;{ print $8 &#8221; &#8221; $2 }&#8217; | grep -w Z</strong></em></p>
<p>With a normal ps -el command you see an output with in the second colum the state of the process. Here are some states:<br />
S : sleeping<br />
R : running<br />
D : waiting (over het algemeen voor IO)<br />
T : gestopt (suspended) of getrasseerd<br />
Z : zombie (defunct)</p>
<p><em><strong>ps -el | grep &#8216;Z&#8217;</strong></em></p>
<p>Also we can use the following command :</p>
<p><strong><em>ps -A -ostat,ppid,pid,cmd | grep -e &#8216;^[Zz]&#8216; | awk &#8216;{print $2}&#8217;</em></strong></p>
<p>2. Now we have found out the Zombie process. Its the time to kill them :</p>
<p><strong><em>kill -9 `ps -A -ostat,ppid,pid,cmd | grep -e &#8216;^[Zz]&#8216; | awk &#8216;{print $2}&#8217;`<br />
kill -HUP `ps -A -ostat,ppid,pid,cmd | grep -e &#8216;^[Zz]&#8216; | awk &#8216;{print $2}&#8217;`</em></strong></p>
<p>This will kill a Zombie process.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=21&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/19/zombie-process/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>Mailing List Using Mailman</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/17/mailing-list-using-mailman/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/17/mailing-list-using-mailman/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 19:11:37 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=18</guid>
		<description><![CDATA[How to fix this error in Mailing list ?  &#8211;  Bug in Mailman version 2.1.9.cp2 The Solution is : If you are the server administrator, proceed with the following steps: 1. Go to /usr/local/cpanel/3rdparty/mailman cd /usr/local/cpanel/3rdparty/mailman 2. ls -al 3. chmod -R 2775 ./* Check if this has fixed the issue. If not run the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=18&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to fix this error in Mailing list ?  &#8211;  <strong>Bug in Mailman version 2.1.9.cp2</strong></p>
<p>The Solution is :</p>
<p>If you are the server administrator, proceed with the following steps:</p>
<p>1. Go to /usr/local/cpanel/3rdparty/mailman<br />
<strong><em>cd /usr/local/cpanel/3rdparty/mailman </em></strong></p>
<p>2. ls -al</p>
<p>3. <strong>chmod -R 2775 ./* </strong></p>
<p>Check if this has fixed the issue.<br />
If not run the fixmailman script.</p>
<p>4. <strong>/scripts/fixmailman</strong><br />
This will fix the bug.</p>
<p style="text-align:left;"><strong>There </strong>are different mailman related binaries installed in a cpanel server<br />
at <em>/usr/local/cpanel/3rdparty/mailman/bin/ </em>folder.</p>
<p style="text-align:left;">The binaries  <em><strong>config_list , list_members and  add_members</strong></em> can be used<br />
for this purpose.</p>
<p>First go to the /usr/local/cpanel/3rdparty/mailman/  folder and find the name<br />
of the mailing list being dealt with<br />
under  <strong><em>/usr/local/cpanel/3rdparty/mailman/lists</em></strong> folder , it is like<br />
listname_domainname<br />
use the following command to get the list of subscribers in that list<br />
list_members -o &lt;outputfile&gt; &lt;listname&gt;</p>
<p>example &#8212;</p>
<p>1.        <strong><em>/usr/local/cpanel/3rdparty/mailman/bin/list_members -o test fotball_kanligadet.com</em></strong></p>
<p><strong><em></em></strong><br />
check the test file for the list of members</p>
<p>get the configuration of the list using<br />
config_list -o &lt;outputfile&gt; &lt;listname&gt;</p>
<p>example &#8212;-</p>
<p>2.       <strong><em>/usr/local/cpanel/3rdparty/mailman/bin/config_list -o test1 fotball_kanligadet.com</em></strong><br />
check the test1 file for the configuration setting</p>
<p>Now create the mailing list in the destination server and then import the list<br />
of users using</p>
<p>add_members -r  &lt;outputfile&gt; &lt;listname&gt;<br />
example &#8212;</p>
<p>1.       <strong><em>/usr/local/cpanel/3rdparty/mailman/bin/add_members -d test fotball_kanligadet.com</em></strong><br />
2.      <strong><em> /usr/local/cpanel/3rdparty/mailman/bin/add_members -r test fotball_kanligadet.com</em></strong></p>
<p>and import the configuration of the previous mailing list using<br />
config_list  -i  &lt;outputfile&gt; &lt;listname&gt;</p>
<p>example &#8212;</p>
<p>1.        <strong><em>/usr/local/cpanel/3rdparty/mailman/bin/config_list  -i test1 fotball_kanligadet.com</em></strong></p>
<p>Here &lt;outputfile&gt; is the file to which either of list of members or<br />
configuration has been dumped using list_members or config_list</p>
<p>For all the binaries of mailman list of options can be found using<br />
<strong><em>/usr/local/cpanel/3rdparty/mailman/&lt;binaryname&gt; &#8211;help</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=18&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/17/mailing-list-using-mailman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenSSH Installation</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/16/openssh-installation/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/16/openssh-installation/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 12:46:41 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=13</guid>
		<description><![CDATA[Building / Installation -------------------------- To install OpenSSH with default options: ./configure make make install This will install the OpenSSH binaries in /usr/local/bin, configuration files in /usr/local/etc, the server in /usr/local/sbin, etc. To specify a different installation prefix, use the --prefix option to configure: ./configure --prefix=/opt make make install Will install OpenSSH in /opt/{bin,etc,lib,sbin}. We can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=13&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre style="padding-left:30px;"><span style="color:#0000ff;"><strong>Building / Installation</strong></span>
--------------------------

To install OpenSSH with default options:

./configure
make
make install

This will install the OpenSSH binaries in <strong><em>/usr/local/bin</em></strong>, configuration files
in <strong><em>/usr/local</em></strong>/etc, the server in <strong><em>/usr/local/sbin</em></strong>, etc. 

To specify a different
installation prefix, use the --prefix option to configure:

./configure --prefix=/opt
make
make install

Will install OpenSSH in /opt/{bin,etc,lib,sbin}.

We can also override
specific paths, for example:

./configure --prefix=/opt --sysconfdir=/etc/ssh
make
make install

This will install the binaries in /opt/{bin,lib,sbin}, but will place the
configuration files in /etc/ssh.

There are a few other options to the configure script:

<strong>--with-audit</strong>=[module] enable additional auditing via the specified module.
Currently, drivers for "debug" (additional info via syslog) and "bsm"
(Sun's Basic Security Module) are supported.

<strong>--with-pam </strong>enables PAM support. If PAM support is compiled in, it must
also be enabled in sshd_config (refer to the UsePAM directive).

<strong>--with-prngd-socket</strong>=/some/file allows you to enable EGD or PRNGD
support and to specify a PRNGd socket. Use this if your Unix lacks
/dev/random and you don't want to use OpenSSH's builtin entropy
collection support.

<strong>--with-prngd-port</strong>=portnum allows you to enable EGD or PRNGD support
and to specify a EGD localhost TCP port. Use this if your Unix lacks
/dev/random and you don't want to use OpenSSH's builtin entropy
collection support.

<strong>--with-lastlog</strong>=FILE will specify the location of the lastlog file.
./configure searches a few locations for lastlog, but may not find
it if lastlog is installed in a different place.

<strong>--without-lastlog</strong> will disable lastlog support entirely.

<strong>--with-osfsia</strong>, --without-osfsia will enable or disable OSF1's Security
Integration Architecture.  The default for OSF1 machines is enable.

<strong>--with-skey</strong>=PATH will enable S/Key one time password support. You will
need the S/Key libraries and header files installed for this to work.

<strong>--with-tcp-wrappers</strong> will enable TCP Wrappers (/etc/hosts.allow|deny)
support.

<strong>--with-md5-passwords</strong> will enable the use of MD5 passwords. Enable this
if your operating system uses MD5 passwords and the system crypt() does
not support them directly (see the crypt(3/3c) man page). If enabled, the
resulting binary will support both MD5 and traditional crypt passwords.

<strong>--with-utmpx</strong> enables utmpx support. utmpx support is automatic for
some platforms.

<strong>--without-shadow</strong> disables shadow password support.

-<strong>-with-ipaddr-display</strong> forces the use of a numeric IP address in the
$DISPLAY environment variable. Some broken systems need this.

<strong>--with-default-path</strong>=PATH allows you to specify a default $PATH for sessions
started by sshd. This replaces the standard path entirely.

<strong>--with-pid-dir</strong>=PATH specifies the directory in which the sshd.pid file is
created.

<strong>--with-xauth=P</strong>ATH specifies the location of the xauth binary

<strong>--with-ssl-dir=</strong>DIR allows you to specify where your OpenSSL libraries
are installed.

<strong>--with-ssl-engine</strong> enables OpenSSL's (hardware) ENGINE support

<strong>--with-4in6</strong> Check for IPv4 in IPv6 mapped addresses and convert them to
real (AF_INET) IPv4 addresses. Works around some quirks on Linux.

<strong>--with-opensc</strong>=DIR
<strong>--with-sectok</strong>=DIR allows for OpenSC or sectok smartcard libraries to
be used with OpenSSH.  See 'README.smartcard' for more details.

<span style="color:#0000ff;">Configuration</span><strong>
<span style="color:#000000;">----------------</span></strong>

The runtime configuration files are installed by in ${prefix}/etc or
whatever you specified as your --sysconfdir (/usr/local/etc by default).

The default configuration should be instantly usable, though you should
review it to ensure that it matches your security requirements.

To generate a host key, run "make host-key". Alternately you can do so
manually using the following commands:

    <strong><span style="color:#3366ff;">ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
    ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
    ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""</span></strong>

Replacing /etc/ssh with the correct path to the configuration directory.
(${prefix}/etc or whatever you specified with --sysconfdir during
configuration)</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=13&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/16/openssh-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>TCP Wrappers</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/16/tcp-wrappers/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/16/tcp-wrappers/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 12:24:00 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=10</guid>
		<description><![CDATA[In order to secure the service in Linux, we use the concept of TCP Wrappers. TCP Wrappers Configuration Files To determine if a client machine is allowed to connect to a service, TCP wrappers reference the following two files, which are commonly referred to as hosts access files: /etc/hosts.allow /etc/hosts.deny When a client request is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=10&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to secure the service in Linux, we use the concept of TCP Wrappers.</p>
<h1 class="SECT1"><strong>TCP Wrappers Configuration Files</strong></h1>
<p>To determine if a client machine is allowed to connect to a service, 	TCP wrappers reference the following two files, which are commonly 	referred to as hosts access files:</p>
<ul>
<li><tt class="FILENAME">/etc/hosts.allow</tt></li>
<li><tt class="FILENAME">/etc/hosts.deny</tt></li>
</ul>
<p>When a client request is received by a TCP wrapped service, it takes the 	following basic steps:</p>
<ol type="1">
<li><em class="EMPHASIS">The service references 	  <strong><tt class="FILENAME">/etc/hosts.allow</tt></strong>.</em> — The TCP 	  wrapped service sequentially parses the 	  <tt class="FILENAME">/etc/hosts.allow</tt> file and applies the first rule 	  specified for that service. If it finds a matching rule, it allows the 	  connection. If not, it moves on to step 2.</li>
<li><em class="EMPHASIS">The service references 	  <strong><tt class="FILENAME">/etc/hosts.deny</tt></strong>.</em> — The TCP 	  wrapped service sequentially parses the 	  <tt class="FILENAME">/etc/hosts.deny</tt> file. If it finds a matching rule 	  is denies the connection. If not, access to the service is granted.</li>
</ol>
<p>The following are important points to consider when using TCP wrappers 	to protect network services:</p>
<ul>
<li>Because access rules in <tt class="FILENAME">hosts.allow</tt> are applied 	    first, they take precedence over rules specified in 	    <tt class="FILENAME">hosts.deny</tt>. Therefore, if access to a service is 	    allowed in <tt class="FILENAME">hosts.allow</tt>, a rule denying access to 	    that same service in <tt class="FILENAME">hosts.deny</tt> is 	    ignored.</li>
<li>Since the rules in each file are read from the top down and the first 	    matching rule for a given service is the only one applied, the order 	    of the rules is extremely important.</li>
<li>If no rules for the service are found in either file, or if neither file 	    exists, access to the service is granted.</li>
<li>TCP wrapped services do not cache the rules from the hosts 	    access files, so any changes to <tt class="FILENAME">hosts.allow</tt> or 	    <tt class="FILENAME">hosts.deny</tt> take effect immediately without 	    restarting network services.</li>
</ul>
<h3 class="SECT3">Expansions</h3>
<p>Expansions, when used in conjunction with the 	    <tt class="COMMAND">spawn</tt> and <tt class="COMMAND">twist</tt> directives 	    provide information about the client, server, and processes 	    involved.</p>
<p>Below is a list of supported expansions:</p>
<ul>
<li><tt class="COMMAND">%a</tt> — The client&#8217;s IP address.</li>
<li><tt class="COMMAND">%A</tt> — The server&#8217;s IP address.</li>
<li><tt class="COMMAND">%c</tt> — Supplies a variety of client 	      information, such as the username and hostname, or the username 		and IP address.</li>
<li><tt class="COMMAND">%d</tt> — The daemon process name.</li>
<li><tt class="COMMAND">%h</tt> — The client&#8217;s hostname (or IP address, 		if the hostname is unavailable).</li>
<li><tt class="COMMAND">%H</tt> — The server&#8217;s hostname (or IP address, 		if the hostname is unavailable).</li>
<li><tt class="COMMAND">%n</tt> — The client&#8217;s hostname. If unavailable, 		<tt class="COMMAND">unknown</tt> is printed. If the client&#8217;s 		hostname and host address do not match, 		<tt class="COMMAND">paranoid</tt> is printed.</li>
<li><tt class="COMMAND">%N</tt> — The server&#8217;s hostname. If unavailable, 		<tt class="COMMAND">unknown</tt> is printed. If the server&#8217;s 		hostname and host address do not match, 	      <tt class="COMMAND">paranoid</tt> is printed.</li>
<li><tt class="COMMAND">%p</tt> — The daemon process ID.</li>
<li><tt class="COMMAND">%s</tt> — Various types of server information, 		such as the daemon process and the host or IP address of the server.</li>
<li><tt class="COMMAND">%u</tt> — The client&#8217;s username. If unavailable, 		<tt class="COMMAND">unknown</tt> is printed.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=10&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/16/tcp-wrappers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>Securing The Compilers in Linux</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/16/securing-the-compilers-in-linux/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/16/securing-the-compilers-in-linux/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 12:00:58 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=6</guid>
		<description><![CDATA[Why should compilers be disabled ? When the compiler is disabled, the hacker is not able to compile and make the exploit. This step will prevent &#8220;The ability to compile the file in the system&#8221;. Most of the hacking guides that is found in the net suggest of compiling the exploit in the system, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=6&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Why should compilers be disabled ?</strong></p>
<p>When the compiler is disabled, the hacker is not able to compile and make the exploit. This step will prevent &#8220;The ability to compile the file in the system&#8221;. Most of the hacking guides that is found in the net suggest of compiling the exploit in the system, and seldom a pre-compiled binary is distributed. Thus, either via shell access or daemon exploit or via cgi/php abuse, they will try to get hold of your compiler and compile the exploit. Normally, your users do not need access to the compiler, so it is safe to restrict/disable compilers</p>
<p><strong>How to disable compliers  ?</strong></p>
<p>To disable compilers for users, login as root in the system and give the following command:</p>
<p><strong><em>cd /usr/bin/<br />
chmod 000 perlcc byacc yacc bcc kgcc cc gcc i386*cc<br />
chmod 000 *c++ *g++<br />
chmod 000 /usr/lib/bcc /usr/lib/bcc/bcc-cc1</em></strong></p>
<p>if exists,</p>
<p><em><strong>chmod 000 /usr/i386-glibc21-linux/lib/gcc-lib/i386-redhat-linux/2.96/cc1</strong></em></p>
<p>That will disable compiler access for all users.<br />
Before upgrading apache or php; or if you need to install a program, enter the following command to enable compiler access for the root user.</p>
<p>chmod 700 /usr/bin/cc<br />
chmod 700 /usr/bin/gcc</p>
<p>On CPanel systems, You need access to the compiler when upgrading apache or installing vps/jsp, apache etc.</p>
<p>after upgrading apache via /scripts/easyapache, disable the compiler again.</p>
<p>chmod 000 /usr/bin/cc<br />
chmod 000 /usr/bin/gcc</p>
<p>It indeed is a matter of preference of individual admins regarding the chmod 700 or chmod 000 of the compilers. It is your system, your decision. The recommended is however to chmod 000.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=6&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/16/securing-the-compilers-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysql Istallation and Configuration In Linux</title>
		<link>http://linuxworld4all.wordpress.com/2008/10/16/mysql-istallation-and-configuration-in-linux/</link>
		<comments>http://linuxworld4all.wordpress.com/2008/10/16/mysql-istallation-and-configuration-in-linux/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 11:48:24 +0000</pubDate>
		<dc:creator>ravipartomia</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://linuxworld4all.wordpress.com/?p=3</guid>
		<description><![CDATA[Link to Download Mysql : http://www.linuxfromscratch.org/blfs/view/stable/server/mysql.html Steps To Install : 1. wget http://anduin.linuxfromscratch.org/sources/BLFS/6.3/m/mysql-5.0.41.tar.gz 2. ./configure &#8211;prefix=/var/lib/mysql/ &#8211;localstatedir=/var/lib/mysql/data/ &#8211;disable-maintainer-mode &#8211;with-mysqld-user=mysql &#8211;libexecdir=/usr/sbin &#8211;sysconfdir=/etc &#8211;enable-thread-safe-client &#8211;enable-local-infile &#8211;enable-assembler &#8211;with-unix-socket-path=/var/run/mysql/mysql.sock &#8211;without-debug &#8211;without-bench &#8211;without-readline&#8211;with-berkeley-db &#8211;with-extra-charsets=all or ./configure &#8211;prefix=/usr/local/mysql &#8211;localstatedir=/usr/local/mysql/data &#8211;disable-maintainer-mode &#8211;with-mysqld-user=mysql &#8211;enable-large-files-without-debug 3. Sit back and wait for a while while configure does its thing, once the system returns the prompt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=3&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em><strong>Link to Download Mysql :</strong></em></p>
<p><em><strong>http://www.linuxfromscratch.org/blfs/view/stable/server/mysql.html</strong></em></p>
<p>Steps To Install :</p>
<p>1. wget  http://anduin.linuxfromscratch.org/sources/BLFS/6.3/m/mysql-5.0.41.tar.gz</p>
<p>2. ./configure &#8211;prefix=/var/lib/mysql/ &#8211;localstatedir=/var/lib/mysql/data/ &#8211;disable-maintainer-mode &#8211;with-mysqld-user=mysql &#8211;libexecdir=/usr/sbin &#8211;sysconfdir=/etc &#8211;enable-thread-safe-client &#8211;enable-local-infile &#8211;enable-assembler &#8211;with-unix-socket-path=/var/run/mysql/mysql.sock &#8211;without-debug &#8211;without-bench &#8211;without-readline&#8211;with-berkeley-db &#8211;with-extra-charsets=all</p>
<p>or</p>
<p>./configure &#8211;prefix=/usr/local/mysql &#8211;localstatedir=/usr/local/mysql/data &#8211;disable-maintainer-mode &#8211;with-mysqld-user=mysql &#8211;enable-large-files-without-debug<br />
3. Sit back and wait for a while while configure does its thing, once the system returns the prompt to you issue the following command;</p>
<p>#make</p>
<p>4.</p>
<p>#make install</p>
<p>5.</p>
<p>MySQL is installed, there are only a couple things left to do to get it working, first we need to create a group for MySQL as follows;</p>
<p>#/usr/sbin/groupadd mysql (enter)</p>
<p>Then we create a user called mysql which belongs to the mysql group;</p>
<p>#/usr/sbin/useradd -g mysql mysql (enter)</p>
<p>Now we install the database files as follows;</p>
<p>#./scripts/mysql_install_db (enter)</p>
<p>Then we make a couple minor ownership changes;</p>
<p># chown -R root:mysql /usr/local/mysql (enter)</p>
<p># chown -R mysql:mysql /usr/local/mysql/data (enter)</p>
<p>Last but not least, we use vi to add a line the ld.so.conf file as follows;</p>
<p>#vi /etc/ld.so.conf</p>
<p>And we add the following line;</p>
<p>/usr/local/mysql/lib/mysql</p>
<p>Thats it, MySQL is installed, you can run it by issuing the following command;</p>
<p>#/usr/local/mysql/bin/mysqld_safe &#8211;user=mysql &amp;</p>
<p>And as long as we&#8217;re here we might as well set a root password for MySQL as follows;</p>
<p>#/usr/local/mysql/bin/mysqladmin -u root password new_password</p>
<p>Where new_password is the password you want to use.</p>
<p><em><strong>Command Explanations</strong></em></p>
<p><em>&#8211;libexecdir=/usr/sbin</em>: This switch installs the mysqld daemon and the mysqlmanager program in an appropriate location.</p>
<p><em>&#8211;localstatedir=/srv/mysql</em>: This switch forces MySQL to use /srv/mysql for database files and other variable data.</p>
<p><em>&#8211;enable-thread-safe-client</em>: This switch compiles a thread-safe MySQL client library.</p>
<p><em>&#8211;enable-assembler:</em> This switch allows using assembler versions of some string functions.</p>
<p><em>&#8211;enable-local-infile</em>: This switch enables the “LOAD DATA INFILE” SQL statement.</p>
<p><em>&#8211;with-unix-socket-path=/var/run/mysql:</em> This switch puts the unix-domain socket into the /var/run/mysql directory instead of the default /tmp.</p>
<p><em>&#8211;without-bench</em>: This switch skips building the benchmark suite.</p>
<p><em>&#8211;without-readline</em>: This switch forces the build to use the system copy of readline instead of the bundled copy.</p>
<p><em>&#8211;with-berkeley-db</em>: This switch enables using Berkeley DB tables as a back end.</p>
<p><em>&#8211;with-extra-charsets=all</em>: This switch enables international character sets within the suite.</p>
<p><em>make testdir</em>=&#8230;: This installs the test suite in /tmp/mysql. The test suite is not required, nor does it function properly on an installed version of MySQL, so it is removed in the next step.</p>
<p>l<em>n -v -sf mysql/libmysqlclient{,_r}.so* </em>.: This command makes the MySQL shared libraries available to other packages at run-time.</p>
<p><em>&#8211;with-openssl</em>: This switch adds OpenSSL support to MySQL.</p>
<p><em>&#8211;with-libwrap</em>: This switch adds tcpwrappers support to MySQL.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxworld4all.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxworld4all.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxworld4all.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxworld4all.wordpress.com&amp;blog=5195140&amp;post=3&amp;subd=linuxworld4all&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxworld4all.wordpress.com/2008/10/16/mysql-istallation-and-configuration-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cadc345a4604d59dfb9e13bd2624f23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ravipartomia</media:title>
		</media:content>
	</item>
	</channel>
</rss>
