<?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>.:][ Gr8 Admin Team ][:. &#187; Linux</title>
	<atom:link href="http://maxmk.wordpress.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxmk.wordpress.com</link>
	<description>What you need from System Admins.....we are here</description>
	<lastBuildDate>Tue, 17 Nov 2009 23:57:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='maxmk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/24973595771a48b3164104d6add8c7f9?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>.:][ Gr8 Admin Team ][:. &#187; Linux</title>
		<link>http://maxmk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://maxmk.wordpress.com/osd.xml" title=".:][ Gr8 Admin Team ][:." />
		<item>
		<title>ERROR:- rpmdb: unable to join the environment</title>
		<link>http://maxmk.wordpress.com/2008/08/09/error-rpmdb-unable-to-join-the-environment/</link>
		<comments>http://maxmk.wordpress.com/2008/08/09/error-rpmdb-unable-to-join-the-environment/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 14:07:37 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[rpmdb]]></category>
		<category><![CDATA[unable]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/?p=39</guid>
		<description><![CDATA[PROBLEM:
You get following or error while Rebuilding RPM database:
=======
[root@www root]# rpm &#8211;rebuilddb
rpmdb: unable to join the environment
error: db4 error(11) from dbenv-&#62;open: Resource temporarily unavailable
error: cannot open Packages index
=======
SOLUTION:
Try This:
=======
[root@www root]# rm -f /var/lib/rpm/__db*
[root@www root]# echo &#8220;%__dbi_cdb   create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb&#8221; &#62; /etc/rpm/macros
[root@www root]# rpm &#8211;rebuilddb
=======
PLEASE NOTE: This Fix Is Only For RedHat OS
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=39&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong><span style="color:#ff0000;">PROBLEM:</span></strong></span></p>
<p>You get following or error while Rebuilding RPM database:<br />
=======<br />
[root@www root]# rpm &#8211;rebuilddb<br />
rpmdb: unable to join the environment<br />
error: db4 error(11) from dbenv-&gt;open: Resource temporarily unavailable<br />
error: cannot open Packages index<br />
=======<br />
<span style="color:#00ff00;"><span style="text-decoration:underline;"><strong>SOLUTION:</strong></span></span></p>
<p>Try This:<br />
=======<br />
[root@www root]# rm -f /var/lib/rpm/__db*<br />
[root@www root]# echo &#8220;%__dbi_cdb   create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb&#8221; &gt; /etc/rpm/macros<br />
[root@www root]# rpm &#8211;rebuilddb<br />
=======<br />
<span style="text-decoration:underline;"><strong>PLEASE NOTE: This Fix Is Only For RedHat OS</strong></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=39&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2008/08/09/error-rpmdb-unable-to-join-the-environment/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Steps to install Clamv</title>
		<link>http://maxmk.wordpress.com/2006/11/25/steps-to-install-clamv/</link>
		<comments>http://maxmk.wordpress.com/2006/11/25/steps-to-install-clamv/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:53:27 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/25/steps-to-install-clamv/</guid>
		<description><![CDATA[ You can use following this steps for installing Clamv Antivirus.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
HOWTO install and configure ClamAV (clamd) on a Red Hat or Fedora system running amavisd-new.
Absolutely no warranty. Use entirely at your own risk.
Thankfully, Dag Wieers at http://dag.wieers.com/packages/clamav/ has the packages we need. Here I illustrate installing version 0.87 on a RH9 i386 box. Modify the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=21&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext"> You can use following this steps for installing Clamv Antivirus.</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>HOWTO install and configure ClamAV (clamd) on a Red Hat or Fedora system running amavisd-new.</p>
<p>Absolutely no warranty. Use entirely at your own risk.</p>
<p>Thankfully, Dag Wieers at <a href="http://dag.wieers.com/packages/clamav/" target="_blank">http://dag.wieers.com/packages/clamav/</a> has the packages we need. Here I illustrate installing version 0.87 on a RH9 i386 box. Modify the six lines below as needed for the current version of ClamAV, your version of OS and your architecture. We need to download and install &#8216;clamav-db&#8217;, &#8216;clamav&#8217; and &#8216;clamd&#8217; (in that order). Hopefully, you will not have any problems with dependencies.</p>
<p>cd /usr/local/src<br />
Download the latest version of Clamv(clamd-0, clamav-0, clamav-db-0 ):</p>
<p>wget <a href="http://dag.wieers.com/packages/clam...rh9.rf.i386.rpm" target="_blank">http://dag.wieers.com/packages/clam&#8230;rh9.rf.i386.rpm</a><br />
wget <a href="http://dag.wieers.com/packages/clam...rh9.rf.i386.rpm" target="_blank">http://dag.wieers.com/packages/clam&#8230;rh9.rf.i386.rpm</a><br />
wget <a href="http://dag.wieers.com/packages/clam...rh9.rf.i386.rpm" target="_blank">http://dag.wieers.com/packages/clam&#8230;rh9.rf.i386.rpm</a></p>
<p>If you have a previous version of ClamAV on your system, you will first need to remove it (in reverse order of installation), for example:<br />
rpm -e clamd-0.86.2<br />
rpm -e clamav-0.86.2<br />
rpm -e clamav-db-0.86.2</p>
<p>The system will save copies of your config files. You may choose to use the old clamd.conf, or reconfigure the new one (preferred). Remember to add the clamav user to the amavisd user&#8217;s group as described below. Now you can install (and configure) the new version:<br />
rpm -Uvh clamav-db-0.87-1.0.rh9.rf.i386.rpm<br />
rpm -Uvh clamav-0.87-1.0.rh9.rf.i386.rpm<br />
rpm -Uvh clamd-0.87-1.0.rh9.rf.i386.rpm</p>
<p>We may want to make a couple of modifications to the supplied clamd.conf:<br />
If you would like to use the default TCPSocket method of communication, then you do not necessarily need to make changes to the supplied clamd.conf. The default in our Dag Wieers clamd.conf is &#8216;TCPSocket 3310&#8242; and &#8216;TCPAddr 127.0.0.1&#8242;. Simply skip to the next section.</p>
<p>If you would like to use the LocalSocket method, then:<br />
vi /etc/clamd.conf<br />
Uncomment &#8216;LocalSocket /var/run/clamav/clamd.sock&#8217;<br />
Comment out &#8216;TCPSocket 3310&#8242;</p>
<p>Save and exit. Here we use LocalSocket instead of TCPSocket. These settings cannot be used together.</p>
<p>One key to getting clamd and amavisd-new to work with each other is to add the user &#8216;clamav&#8217; to the &#8216;amavis&#8217; (or &#8216;vscan&#8217;) group. Doing so magically resolves file permission issues (one cause of the the dreaded &#8220;Can&#8217;t connect to UNIX socket&#8221; or &#8220;Can&#8217;t connect to INET socket&#8221;). The following instructions assume your amavisd-new group is called &#8216;amavis&#8217;:<br />
Let&#8217;s add the &#8216;clamav&#8217; user to the &#8216;amavis&#8217; group; modify if your group is &#8216;vscan&#8217; or some other name:</p>
<p>gpasswd -a clamav amavis</p>
<p>You can test your efforts by issuing the command: groups clamav</p>
<p>Now we need to prepare amavisd-new to use clamd. The other key to getting the two programs to work together is to insure the value after &#8216;CONTSCAN&#8217; in amavisd.conf is the same as the &#8216;LocalSocket&#8217; (or TCPSocket) setting in clamd.conf. In our case this would be &#8216;/var/run/clamav/clamd.sock&#8217; which is the file that the two programs use to talk to each other (the Unix socket). If using TCPSocket / TCPAddr, the value would be &#8216;127.0.0.1:3310&#8242;.<br />
vi /etc/amavisd.conf</p>
<p>To enable virus scanning, comment out: @bypass_virus_checks_acl = qw( . );</p>
<p>You may need to uncomment the ClamAV section:</p>
<p>['Clam Antivirus-clamd',<br />
\&amp;ask_daemon, ["CONTSCAN {}\n", '/var/amavis/clamd'],<br />
qr/\bOK$/, qr/\bFOUND$/,<br />
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],</p>
<p>If you choose to use LocalSocket as opposed to TCPSocket:<br />
Notice the value after CONTSCAN in this example above is currently &#8216;/var/amavis/clamd&#8217;<br />
Edit this to reflect what our LocalSocket is set to, which in our case is:<br />
&#8216;/var/run/clamav/clamd.sock&#8217;</p>
<p>If you choose to use TCPSocket instead of LocalSocket, edit the value after CONTSCAN like so:</p>
<p>['Clam Antivirus-clamd',<br />
\&amp;ask_daemon, ["CONTSCAN {}\n", '127.0.0.1:3310'],<br />
qr/\bOK$/, qr/\bFOUND$/,<br />
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],</p>
<p>You should take a look at these items in amavisd.conf and modify them to meet your needs (my personal settings are shown):<br />
$final_virus_destiny = D_DISCARD;<br />
$virus_admin = &#8220;postmaster\@$mydomain&#8221;;<br />
$virus_quarantine_to = &#8220;virii\@$mydomain&#8221;; # I created a new mailbox to accommodate this.<br />
$mailfrom_notify_admin = &#8220;postmaster\@$mydomain&#8221;;<br />
$mailfrom_notify_recip = &#8220;postmaster\@$mydomain&#8221;;<br />
$mailfrom_notify_spamadmin = &#8220;postmaster\@$mydomain&#8221;;<br />
$hdrfrom_notify_sender = &#8220;amavisd-new &lt;postmaster&gt;&#8221;;</p>
<p>Before proceeding, obtain the eicar test virus from <a href="http://www.eicar.com/anti_virus_test_file.htm" target="_blank">http://www.eicar.com/anti_virus_test_file.htm</a> and prepare your email client to send an email containing the &#8220;virus&#8221; through the system. I suggest downloading eicar.com.txt, renaming it to eicar.txt and then attaching it to the email.<br />
Start clamd using the command:<br />
clamd</p>
<p>Run freshclam using the command:<br />
freshclam</p>
<p>Stop amavisd-new:<br />
amavisd stop</p>
<p>Start up amavisd-new in debug mode:<br />
amavisd debug</p>
<p>Now test the system by sending the email containing the eicar test virus through the system. You should see:<br />
Clam Antivirus-clamd: Connecting to socket<br />
and:<br />
INFECTED (Eicar-Test-Signature)</p>
<p>If all goes well, stop debug mode with [Ctrl]+c and restart amavisd-new:<br />
amavisd start</p>
<p>The RPMs I installed only update the database once each day (/etc/cron.daily/freshclam), If this is the case for you I suggest adding a new file to /etc/cron.d that runs freshclam once each hour. We will call the file &#8216;freshclam&#8217;.<br />
vi /etc/cron.d/freshclam</p>
<p>And insert the following:<br />
MM * * * * clamav [ -x /usr/bin/freshclam ] &amp;&amp; /usr/bin/freshclam &#8211;quiet</p>
<p>Replace MM with a number between 1 and 59. It is best not to use the digit &#8220;0&#8243;</p>
<p>I suggest you check the health of your new ClamAV installation by reading /var/log/clamav/clamd.log and /var/log/clamav/freshclam.log. It is a good idea to insure the daily freshclam cron job and the hourly freshclam cron job do not run at exactly the same time.</p>
<p><a href="http://www200.pair.com/mecham/spam/...hat-amavis.html" target="_blank">http://www200.pair.com/mecham/spam/&#8230;hat-amavis.html</a></p>
<p>Let me know if there is any more information about it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=21&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/25/steps-to-install-clamv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing mod_evasive (formally known as mod_dosevasive)</title>
		<link>http://maxmk.wordpress.com/2006/11/25/installing-mod_evasive-formally-known-as-mod_dosevasive/</link>
		<comments>http://maxmk.wordpress.com/2006/11/25/installing-mod_evasive-formally-known-as-mod_dosevasive/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:41:37 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Apache_modules]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/25/installing-mod_evasive-formally-known-as-mod_dosevasive/</guid>
		<description><![CDATA[ Login to the server and execute
cd /usr/local/src
wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
 tar -zxvf mod_evasive_1.10.1.tar.gz
cd mod_evasive
For apache 2.0.x
/usr/sbin/apxs -cia mod_evasive20.c
Then add add this too httpd.conf
&#60;IfModule mod_evasive20.c&#62;
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
&#60;/IfModule&#62;
For apache 1.3.x
/usr/local/apache/bin/apxs -cia mod_evasive.c
Then add this too httpd.conf
&#60;IfModule mod_evasive.c&#62;
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
&#60;/IfModule&#62;
Now just restart apache and the installation is complete.
/etc/init.d/httpd restart
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=13&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext"> Login to the server and execute</span></p>
<p>cd /usr/local/src</p>
<p>wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz</p>
<p><span class="largetext"> tar -zxvf mod_evasive_1.10.1.tar.gz<br />
cd mod_evasive</span></p>
<p>For apache 2.0.x</p>
<p>/usr/sbin/apxs -cia mod_evasive20.c</p>
<p>Then add add this too httpd.conf</p>
<p>&lt;IfModule mod_evasive20.c&gt;<br />
DOSHashTableSize 3097<br />
DOSPageCount 6<br />
DOSSiteCount 100<br />
DOSPageInterval 2<br />
DOSSiteInterval 2<br />
DOSBlockingPeriod 600<br />
&lt;/IfModule&gt;</p>
<p>For apache 1.3.x</p>
<p>/usr/local/apache/bin/apxs -cia mod_evasive.c</p>
<p>Then add this too httpd.conf</p>
<p>&lt;IfModule mod_evasive.c&gt;<br />
DOSHashTableSize 3097<br />
DOSPageCount 6<br />
DOSSiteCount 100<br />
DOSPageInterval 2<br />
DOSSiteInterval 2<br />
DOSBlockingPeriod 600<br />
&lt;/IfModule&gt;</p>
<p>Now just restart apache and the installation is complete.</p>
<p>/etc/init.d/httpd restart</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=13&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/25/installing-mod_evasive-formally-known-as-mod_dosevasive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Rkhunter Installation</title>
		<link>http://maxmk.wordpress.com/2006/11/25/rkhunter-installation/</link>
		<comments>http://maxmk.wordpress.com/2006/11/25/rkhunter-installation/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:28:37 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/25/rkhunter-installation/</guid>
		<description><![CDATA[ Rkhunter is a very useful tool that is used to check for trojans, rootkits, and other security problems. This tutorial will touch on installing and setting up a daily report for rkhunter.
Installing:
wget -c http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz
tar -zxvf rkhunter-1.2.7.tar.gz
cd rkhunter-1.2.7.tar.gz
./installer.sh
Now you can run a test scan with the following command:
/usr/local/bin/rkhunter -c
How to setup a daily scan report?
pico [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=12&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext"> Rkhunter is a very useful tool that is used to check for trojans, rootkits, and other security problems. This tutorial will touch on installing and setting up a daily report for rkhunter.<br />
Installing:</span></p>
<p>wget -c <a href="http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz" target="_blank">http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz</a><br />
tar -zxvf rkhunter-1.2.7.tar.gz<br />
cd rkhunter-1.2.7.tar.gz<br />
./installer.sh</p>
<p>Now you can run a test scan with the following command:</p>
<p>/usr/local/bin/rkhunter -c<br />
How to setup a daily scan report?</p>
<p>pico /etc/cron.daily/rkhunter.sh</p>
<p>add the following replacing your email address:</p>
<p>#!/bin/bash<br />
(/usr/local/bin/rkhunter -c &#8211;cronjob 2&gt;&amp;1 | mail -s &#8220;Daily Rkhunter Scan Report&#8221; <a href="mailto:email@domain.com">email@domain.com</a>)</p>
<p>chmod +x /etc/cron.daily/rkhunter.sh<br />
I just got a false positive!! What do i do?</p>
<p>False positives are warnings which indicates there is a problem, but aren&#8217;t really a problem. Example: some Linux distro updated a few common used binaries like `ls` and `ps`. You (as a good sysadmin) update the new packages and run (ofcourse) daily Rootkit Hunter. Rootkit Hunter isn&#8217;t yet aware of these new files and while scanning it resports some &#8220;bad&#8221; files. In this case we have a false positive. You could always have your datacenter or a system administrator check out the server to verify that it is not compromised.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=12&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/25/rkhunter-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Mod_Bandwidth</title>
		<link>http://maxmk.wordpress.com/2006/11/25/installing-mod_bandwidth/</link>
		<comments>http://maxmk.wordpress.com/2006/11/25/installing-mod_bandwidth/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:26:21 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Apache_modules]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/25/installing-mod_bandwidth/</guid>
		<description><![CDATA[ Following are the steps to install mod_bandwidth
1. Login to your server via SSH as root.
2. Type: mkdir /root/mod_bw
3. Type: cd /root/mod_bw
4. Type: wget ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
5. Type: /usr/local/apache/bin/apxs -c /root/mod_bw/mod_bandwidth.c -o /usr/local/apache/libexec/mod_bandwidth.so
6. Type: mkdir /usr/local/apache/bw_limit
7. Type: mkdir /usr/local/apache/bw_limit/link
8. Type: mkdir /usr/local/apache/bw_limit/master
9. Type: pico -w /etc/httpd/conf/httpd.conf
10. Locate the following Line: LoadModule rewrite_module libexec/mod_rewrite.so
11. Before the above line [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=11&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext"> Following are the steps to install mod_bandwidth</span></p>
<p>1. Login to your server via SSH as root.</p>
<p>2. Type: mkdir /root/mod_bw</p>
<p>3. Type: cd /root/mod_bw</p>
<p>4. Type: wget <a href="ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c" target="_blank">ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c</a></p>
<p>5. Type: /usr/local/apache/bin/apxs -c /root/mod_bw/mod_bandwidth.c -o /usr/local/apache/libexec/mod_bandwidth.so</p>
<p>6. Type: mkdir /usr/local/apache/bw_limit</p>
<p>7. Type: mkdir /usr/local/apache/bw_limit/link</p>
<p>8. Type: mkdir /usr/local/apache/bw_limit/master</p>
<p>9. Type: pico -w /etc/httpd/conf/httpd.conf</p>
<p>10. Locate the following Line: LoadModule rewrite_module libexec/mod_rewrite.so</p>
<p>11. Before the above line add this:<br />
LoadModule bandwidth_module libexec/mod_bandwidth.so</p>
<p>12. Now locate this line: AddModule mod_env.c</p>
<p>13. Before the above line add this:<br />
AddModule mod_bandwidth.c</p>
<p>14. Now locate this line: # Document types.</p>
<p>15. Before the above line add this:<br />
BandWidthDataDir &#8220;/usr/local/apache/bw_limit&#8221;<br />
BandWidthModule On</p>
<p>16. To enable mod_bandwidth on a virtual host locate the virtual host entry for the specified domain/acount you wish to limit. Just before the line add the following:<br />
BandWidthModule On<br />
BandWidth all 512</p>
<p>The 512 can be replaced with whatever rate you wish to limit the acount too.</p>
<p>17. Save the file and exit.<br />
CTRL-X then Y then enter.</p>
<p>18. Type: service httpd restart</p>
<p>19. Type: cd /usr/sbin</p>
<p>20. Type: wget <a href="ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl" target="_blank">ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl</a></p>
<p>What is cleanlink?<br />
Cleanlink is a deamon that is used to clean links created by mod_bandwidth when they aren&#8217;t removed properly by the server. (When a httpd process doesn&#8217;t terminate the usual way.)</p>
<p>21. Type: chmod 755 cleanlink.pl</p>
<p>22. Type: pico -w cleanlink.pl</p>
<p>23. Change $LINKDIR to the following:<br />
$LINKDIR=&#8221;/usr/local/apache/bw_limit/link&#8221;;</p>
<p>24. Save the file and exit.<br />
CTRL-X then Y then enter.</p>
<p>25. Type: perl cleanlink.pl</p>
<p>26. Type: pico -w /etc/rc.d/rc.local</p>
<p>27. Scroll down to the very end of the file and add the following:<br />
# The following line Launches CleanLink for Mod_Bandwidth<br />
perl /usr/sbin/cleanlink.pl</p>
<p>28. Save the file and exit.<br />
CTRL-X then Y then enter.</p>
<p>mod_bandwidth has many options. If you wish to modify mod_bandwidth and enable more options please visit the documentation available by the programmer here: <a href="http://www.cohprog.com/v3/bandwidth/doc-en.html" target="_blank">http://www.cohprog.com/v3/bandwidth/doc-en.html</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=11&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/25/installing-mod_bandwidth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing eAccelerator</title>
		<link>http://maxmk.wordpress.com/2006/11/25/installing-eaccelerator/</link>
		<comments>http://maxmk.wordpress.com/2006/11/25/installing-eaccelerator/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 13:18:28 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/25/installing-eaccelerator/</guid>
		<description><![CDATA[ To install eAccelerator on a Server just follow the following steps:
1) Login as root in SSH
2) Run the following commands in the following order:
cd /
mkdir ea
cd ea
wget http://jaist.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.3.tar.gz
 tar xvzf eaccelerator-0.9.3.tar.gz
cd eaccelerator-0.9.3
export PHP_PREFIX=&#8221;/usr&#8221;
$PHP_PREFIX/bin/phpize
./configure &#8211;enable-eaccelerator=shared &#8211;with-php-config=$PHP_PREFIX/bin/php-config
make
make install
3) Edit php.ini &#8211; usually it&#8217;s /etc/php.ini or /usr/local/lib/php.ini
Find this:
;Windows Extensions
Above this, comment out or remove the PHPA or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=8&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext"> To install eAccelerator on a Server just follow the following steps:</span></p>
<p>1) Login as root in SSH</p>
<p>2) Run the following commands in the following order:</p>
<p>cd /</p>
<p>mkdir ea</p>
<p>cd ea</p>
<p>wget http://jaist.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.3.tar.gz</p>
<p><span class="largetext"> tar xvzf eaccelerator-0.9.3.tar.gz</span></p>
<p>cd eaccelerator-0.9.3</p>
<p>export PHP_PREFIX=&#8221;/usr&#8221;</p>
<p>$PHP_PREFIX/bin/phpize</p>
<p>./configure &#8211;enable-eaccelerator=shared &#8211;with-php-config=$PHP_PREFIX/bin/php-config</p>
<p>make</p>
<p>make install</p>
<p>3) Edit php.ini &#8211; usually it&#8217;s /etc/php.ini or /usr/local/lib/php.ini</p>
<p>Find this:</p>
<p>;Windows Extensions</p>
<p>Above this, comment out or remove the PHPA or mmcache lines if you have them. Replace them with this:</p>
<p>To install as a ZEND extension:</p>
<p>zend_extension=&#8221;/ea/eaccelerator-0.9.3/modules/eaccelerator.so&#8221;<br />
eaccelerator.shm_size=&#8221;16&#8243;<br />
eaccelerator.cache_dir=&#8221;/tmp/eaccelerator&#8221;<br />
eaccelerator.enable=&#8221;1&#8243;<br />
eaccelerator.optimizer=&#8221;1&#8243;<br />
eaccelerator.check_mtime=&#8221;1&#8243;<br />
eaccelerator.debug=&#8221;0&#8243;<br />
eaccelerator.filter=&#8221;"<br />
eaccelerator.shm_max=&#8221;0&#8243;<br />
eaccelerator.shm_ttl=&#8221;0&#8243;<br />
eaccelerator.shm_prune_period=&#8221;0&#8243;<br />
eaccelerator.shm_only=&#8221;0&#8243;<br />
eaccelerator.compress=&#8221;1&#8243;<br />
eaccelerator.compress_level=&#8221;9&#8243;</p>
<p>OR to install as a PHP extension:</p>
<p>extension=&#8221;/ea/eaccelerator-0.9.3/modules/eaccelerator.so&#8221;<br />
eaccelerator.shm_size=&#8221;16&#8243;<br />
eaccelerator.cache_dir=&#8221;/tmp/eaccelerator&#8221;<br />
eaccelerator.enable=&#8221;1&#8243;<br />
eaccelerator.optimizer=&#8221;1&#8243;<br />
eaccelerator.check_mtime=&#8221;1&#8243;<br />
eaccelerator.debug=&#8221;0&#8243;<br />
eaccelerator.filter=&#8221;"<br />
eaccelerator.shm_max=&#8221;0&#8243;<br />
eaccelerator.shm_ttl=&#8221;0&#8243;<br />
eaccelerator.shm_prune_period=&#8221;0&#8243;<br />
eaccelerator.shm_only=&#8221;0&#8243;<br />
eaccelerator.compress=&#8221;1&#8243;<br />
eaccelerator.compress_level=&#8221;9&#8243;</p>
<p>4) Create the cache directory by doing the following at the command line</p>
<p>mkdir /tmp/eaccelerator</p>
<p>chmod 0777 /tmp/eaccelerator</p>
<p>5) Restart Apache</p>
<p>service httpd restart.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=8&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/25/installing-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Any folder name starting with &#8216;dev&#8217; gives Internal Server</title>
		<link>http://maxmk.wordpress.com/2006/11/24/any-folder-name-starting-with-dev-gives-internal-server/</link>
		<comments>http://maxmk.wordpress.com/2006/11/24/any-folder-name-starting-with-dev-gives-internal-server/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 14:13:00 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/24/any-folder-name-starting-with-dev-gives-internal-server/</guid>
		<description><![CDATA[If there is a problem with any folder under any site starting it&#8217;s name with &#8216;dev&#8217;, It gives Internal Server Error&#8230;. while accessing any scripts inside it. This problem is mainly caused by &#8216;mod_security&#8217;. You will have to check if &#8216;mod_security&#8217; is enebled on the server, If so you will have to disable it in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=5&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext">If there is a problem with any folder under any site starting it&#8217;s name with &#8216;dev&#8217;, It gives Internal Server Error&#8230;. while accessing any scripts inside it. This problem is mainly caused by &#8216;mod_security&#8217;. You will have to check if &#8216;mod_security&#8217; is enebled on the server, If so you will have to disable it in order to get those scripts running.</span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=5&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/24/any-folder-name-starting-with-dev-gives-internal-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Splitting Files&#8230;</title>
		<link>http://maxmk.wordpress.com/2006/11/24/splitting-files/</link>
		<comments>http://maxmk.wordpress.com/2006/11/24/splitting-files/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 14:12:56 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://maxmk.wordpress.com/2006/11/24/splitting-files/</guid>
		<description><![CDATA[Many times we have to transfer big files. But due to bad network or bad connection transfer time outs when transferring such a big file.
To override this, you can split this file into small size files, transfer it and then join it again.
Here are the steps for it.
Make sure you have root privilages to do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=6&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="largetext">Many times we have to transfer big files. But due to bad network or bad connection transfer time outs when transferring such a big file.</span></p>
<p>To override this, you can split this file into small size files, transfer it and then join it again.</p>
<p>Here are the steps for it.</p>
<p>Make sure you have root privilages to do this.</p>
<p>1) Login to the shell where the file is stored.</p>
<p>2) Run the command<br />
split &#8211;bytes=sizeoffileyouwanttosplit filename<br />
(split &#8211;bytes=1000M backup.tar.gz)</p>
<p>3) Copy the files to destination.</p>
<p>4) Join them once again using the command.<br />
echo file1 &lt;&lt; file2.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=6&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/24/splitting-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
		<item>
		<title>Find out the connections to the Server</title>
		<link>http://maxmk.wordpress.com/2006/11/12/hello-world/</link>
		<comments>http://maxmk.wordpress.com/2006/11/12/hello-world/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 18:39:53 +0000</pubDate>
		<dc:creator>maxmk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[ Run the Following command on the Linux Server to find out how many connetions are connected to the Server:
netstat -ntu &#124; awk &#8216;{print $5}&#8217; &#124; cut -d: -f1 &#124; sort &#124; uniq -c &#124; sort -n
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=1&subd=maxmk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span class="postbody"> Run the Following command on the Linux Server to find out how many connetions are connected to the Server:</span></p>
<p><strong>netstat -ntu | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort -n</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/maxmk.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/maxmk.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxmk.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxmk.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxmk.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxmk.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxmk.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxmk.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxmk.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxmk.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxmk.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxmk.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxmk.wordpress.com&blog=542829&post=1&subd=maxmk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://maxmk.wordpress.com/2006/11/12/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">maxmk</media:title>
		</media:content>
	</item>
	</channel>
</rss>