<?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>A Sysadmin's Blog</title>
	<atom:link href="http://nakuls77.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nakuls77.wordpress.com</link>
	<description>Cpanel/WHM, Plesk, DirectAdmin, Webmin, Web hosting, &#38; Much more...</description>
	<lastBuildDate>Sun, 22 Jan 2012 10:06:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nakuls77.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Sysadmin's Blog</title>
		<link>http://nakuls77.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nakuls77.wordpress.com/osd.xml" title="A Sysadmin&#039;s Blog" />
	<atom:link rel='hub' href='http://nakuls77.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Install TeamSpeak Server</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/install-teamspeak-server/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/install-teamspeak-server/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:06:16 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Linux/UNIX]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=383</guid>
		<description><![CDATA[TeamSpeak is a quality, scalable application which enables people to speak with one another over the Internet. TeamSpeak consists of both client and server software. The server acts as a host to multiple client connections, capable of handling literally thousands of simultaneous users. This results in an Internet based conferencing solution that works in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=383&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;">TeamSpeak is a quality, scalable application which enables people to speak with one another over the Internet. TeamSpeak consists of both client and server software. The server acts as a host to multiple client connections, capable of handling literally thousands of simultaneous users. This results in an Internet based conferencing solution that works in a variety of applications such as team mates speaking with one another while playing their favorite online game, small businesses cutting costs on long distance charges, or for personal communication with friends and family. (<span style="font-family:Arial;"><a href="http://www.goteamspeak.com/">TeamSpeak</a>)</span></span></p>
<hr />
<p><span style="font-family:Arial;">First add the user teamspeak, then install teamspeak. You should install this under the user and start the servers under a non privileged user.</span></p>
<p><span style="font-family:Arial;"><strong># adduser teamspeak<br />
# su teamspeak<br />
# cd /home/teamspeak<br />
# wget <span style="font-family:Arial;"><span style="font-family:Arial;"><span style="font-family:Arial;">ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_202319.tar.bz2</span></span></span></strong></span></p>
<p><span style="font-family:Arial;"><strong># tar -xvjf ts2_server_rc2_202319.tar.bz2<br />
# cd <span style="font-family:Arial;">tss2_rc2</span><br />
# ./teamspeak2-server_startscript start</strong></span></p>
<p><strong> </strong></p>
<p><span style="font-family:Arial;">Check server.log:<br />
<strong># grep &#8220;password&#8221; server.log</strong></span></p>
<p><strong></strong><span style="font-family:Arial;">Try to find something like this (username and password):<br />
WARNING,Info,SERVER, admin account info: username: admin password: xxxxxxxx-xx-xx</span></p>
<p><span style="font-family:Arial;">WARNING,Info,SERVER, superadmin account info: username: superadmin password: xxxxxx</span></p>
<p><span style="font-family:Arial;">Now you can access to the web interface<br />
<strong>http://serverip:14534</strong></span></p>
<p><strong> </strong><span style="font-family:Arial;">Click on SuperAdmin Login, then fill in the details provided in server.log</span></p>
<p><span style="font-family:Arial;">If you want to add a server, just select servers from the left menu, then click Add Server ButtonFill in the boxes and set the port at the bottom.</span></p>
<p><span style="font-family:Arial;">Starting the server:<br />
Select servers from the left menu and click <strong>Start</strong></span></p>
<p><span style="font-family:Arial;">Now you can connect to the server via your teamspeak client.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/383/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=383&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/install-teamspeak-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>Hide BIND version</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/hide-bind-version/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/hide-bind-version/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:05:18 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Linux/UNIX]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=382</guid>
		<description><![CDATA[Login as root to your sever. Edit named.conf configuration: # nano /etc/named.conf If you find a options function add this line to it: version &#8220;some version&#8221;; If that function does not exist, just add it: options {version &#8220;some version&#8221;;}; Save and Exit Restart your BIND service to take the change. # /etc/init.d/named restart<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=382&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Login as root to your sever.</p>
<p>Edit named.conf configuration:<br />
<strong># nano /etc/named.conf</strong></p>
<p>If you find a options function add this line to it:<br />
<strong>version &#8220;some version&#8221;;</strong></p>
<p>If that function does not exist, just add it:<br />
<strong>options {version &#8220;some version&#8221;;};</strong></p>
<p><strong>Save</strong> and <strong>Exit</strong></p>
<p>Restart your BIND service to take the change.<br />
<strong># /etc/init.d/named restart</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=382&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/hide-bind-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>How to add Frame Forwarding to your website</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/how-to-add-frame-forwarding-to-your-website/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/how-to-add-frame-forwarding-to-your-website/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:04:28 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=381</guid>
		<description><![CDATA[To add frame forwarding to your website, create your html file (usually index.html) with the following code. &#160; Your browser does not support frames &#60;/body&#62; &#60;/noframes&#62; &#60;/frameset&#62; &#60;/html&#62; &#160; Replace all bold items with the values you wish to use. &#160; &#60;html&#62;&#60;head&#62;&#60;title&#62;Title of your webpage&#60;/title&#62;&#60;/head&#62; &#60;frameset cols=&#8221;*&#8221;&#62; &#60;frame name=&#8221;main&#8221; src=http://www.xxxxxxxxx.com scrolling=&#8221;auto&#8221; noresize&#62; &#60;noframes&#62; &#60;body&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=381&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;">To add frame forwarding to your website, create your html file (usually index.html) with the following code.</span></p>
<p>&nbsp;</p>
<hr />
<p><span style="font-family:Arial;">Your browser does not support frames</span></p>
<p><span style="font-family:Arial;">&lt;/body&gt;<br />
&lt;/noframes&gt;<br />
&lt;/frameset&gt;<br />
&lt;/html&gt;</span></p>
<p>&nbsp;</p>
<hr />
<p>Replace all <strong>bold</strong> items with the values you wish to use.</p>
<p>&nbsp;</p>
<hr />
<p>&lt;html&gt;&lt;head&gt;&lt;title&gt;<strong>Title of your webpage</strong>&lt;/title&gt;&lt;/head&gt;<br />
&lt;frameset cols=&#8221;*&#8221;&gt;<br />
&lt;frame name=&#8221;main&#8221; src=<strong>http://www.xxxxxxxxx.com</strong> scrolling=&#8221;auto&#8221; noresize&gt;<br />
&lt;noframes&gt;<br />
&lt;body&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/381/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/381/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=381&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/how-to-add-frame-forwarding-to-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Email Account Configuration [Microsoft Outlook 2003]</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/how-to-email-account-configuration-microsoft-outlook-2003/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/how-to-email-account-configuration-microsoft-outlook-2003/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:03:42 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Outlook Express]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=380</guid>
		<description><![CDATA[Procedure to be followed: 1. Open your Microsoft Outlook 2003 software. 2. In the Tools menu, you click on “E-mail Accounts …” 3. In the window, select the box: Add new Email account. And click on Next. - Click on the Add button 4. Click the POP3 box. And click on Next. 5. Enter your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=380&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Procedure to be followed:</div>
<div></div>
<div>1. Open your Microsoft Outlook 2003 software.</div>
<div></div>
<div>2. In the Tools menu, you click on “E-mail Accounts …”</div>
<div></div>
<div>3. In the window, select the box: Add new Email account. And click on Next.</div>
<div></div>
<div>- Click on the Add button</div>
<div></div>
<div>4. Click the POP3 box. And click on Next.</div>
<div></div>
<div>5. Enter your information for your email account. Then, click on Next.</div>
<div></div>
<table width="458" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>• <strong>Your Name</strong></div>
</td>
<td width="236">
<div>The complete name which will be posted</div>
</td>
</tr>
<tr>
<td>
<div>• <strong>Email Addresse</strong></div>
</td>
<td width="236">
<div>Your complete email addresse</div>
</td>
</tr>
<tr>
<td>
<div>• <strong>User Name</strong></div>
</td>
<td width="236">
<div>Your complete email addresse</div>
</td>
</tr>
<tr>
<td>
<div>• <strong>Password</strong></div>
</td>
<td width="236">
<div>Your email password</div>
</td>
</tr>
<tr>
<td>
<div>• <strong>Incoming mail server (POP3)</strong></div>
</td>
<td width="236">
<div>This one always starts with <strong>mail.</strong> and follows-up with your domain name ex: <strong>mail.domain.com</strong></div>
</td>
</tr>
<tr>
<td>
<div>• <strong>Outgoing mail server (SMTP)</strong></div>
</td>
<td width="236">
<div>Register your Internet providers (IP) SMTP</div>
</td>
</tr>
</tbody>
</table>
<div></div>
<div>6. The configuration of your email account is now completed.</div>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=380&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/how-to-email-account-configuration-microsoft-outlook-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>How to ROBOTS.TXT File Use</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/how-to-robots-txt-file-use/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/how-to-robots-txt-file-use/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:02:04 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=379</guid>
		<description><![CDATA[nformations: The robots.txt file enables you to restrict the access to Search engines, certain pages or files of your Web site. This will enable you to control the information indexed by your Web sites search engine. &#160; 1. You must create a text file (.txt) named: robots.txt. 2. You must insert the desired commands in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=379&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>nformations:</strong></p>
<p>The robots.txt file enables you to restrict the access to Search engines, certain pages or files of your Web site. This will enable you to control the information indexed by your Web sites search engine.</p>
<hr />
<p>&nbsp;</p>
<p>1. You must create a text file (.txt) named: robots.txt.</p>
<p>2. You must insert the desired commands in this file to inform the search engines what must be indexed or not.</p>
<p>3. You insert your file in the “root” of your Web site. Example: In the file /public_html/ (linux) or /www/ (Windows).</p>
<p>You should see your file if you type: <a href="http://www.yourdomain.tld/robots.txt">http://www.yourdomain.tld/robots.txt</a></p>
<p>4. Here is an example.</p>
<p>Exemple:<br />
<strong>User-agent: *<br />
Disallow: /cgi-bin/<br />
</strong><br />
In this example to prevent “All” search engines from indexing the contents in the /cgi-bin/ file.</p>
<p>- On the 1st line <strong>Use-agent:</strong> The star * indicates all the search engines.</p>
<p>- On the line 2nd line <strong>Disallow:</strong> you register the name of the file with the slashes (/).</p>
<p>5. Here is a small list of commands used for the 1st line:</p>
<p>&nbsp;</p>
<table id="table1" width="517" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="169">
<div>
<p>User-agent: <strong>*</strong></p>
</div>
</td>
<td>
<div>
<p>Includes all the search engines</p>
</div>
</td>
</tr>
<tr>
<td width="169">
<div>
<p>User-agent: <strong>Googlebot</strong></p>
</div>
</td>
<td>
<div>
<p>Includes only the Google search engine</p>
</div>
</td>
</tr>
<tr>
<td width="169">
<div>
<p>User-agent: <strong>MSNBot</strong></p>
</div>
</td>
<td>
<div>
<p>Includes only the MSN search engine</p>
</div>
</td>
</tr>
<tr>
<td width="169">
<div>
<p>User-agent: <strong>Slurp</strong></p>
</div>
</td>
<td>
<div>
<p>Includes only the Yahoo!search engine</p>
</div>
</td>
</tr>
<tr>
<td width="169">
<div>
<p>User-agent: <strong>Fast</strong></p>
</div>
</td>
<td>
<div>
<p>Includes only the Lycos and Fast/Alltheweb search engine</p>
</div>
</td>
</tr>
</tbody>
</table>
<p>6. Here is small list of possible commands for the 2nd line:</p>
<p>&nbsp;</p>
<table id="table2" width="517" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="195">
<div>
<p><strong>Disallow: /</strong></p>
</div>
</td>
<td width="319">
<div>
<p>Allows to exclude all the pages from the Web site (no possible aspiration).</p>
</div>
</td>
</tr>
<tr>
<td width="195">
<div>
<p><strong>Disallow:</strong></p>
</div>
</td>
<td width="319">
<div>
<p>Allows not to exclude any page from the server (no constraint).</p>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div>
<p>Empty or non-existent a robots.txt file will have an identical consequence.</p>
</div>
</td>
</tr>
<tr>
<td width="197">
<div></div>
</td>
<td width="320">
<div></div>
</td>
</tr>
<tr>
<td width="195">
<div>
<p><strong>Disallow: /cgi-bin/</strong></p>
</div>
</td>
<td width="319">
<div>
<p>Excludes all what contains the cgi-bin file to be indexed.</p>
</div>
</td>
</tr>
<tr>
<td width="195">
<div>
<p><strong>Disallow: /*.[extension de fichier]$</strong></p>
</div>
</td>
<td width="319">
<div>
<p>Excludes all types of file extensions indicated to be indexed.</p>
</div>
<div>
<p>Ex: <strong>Disallow: /*.pdf$</strong></p>
</div>
</td>
</tr>
</tbody>
</table>
<p>Disallow: /cgi-bin/ Excludes all what contains the cgi-bin file to be indexed.<br />
Disallow: /*.[extension de fichier]$ Excludes all types of file extensions indicated to be indexed.<br />
Ex: Disallow: /*.pdf$</p>
<p>7. You can register several Disallow lines as shown in this example:</p>
<p><strong>User-agent: *<br />
Disallow: /cgi-bin/<br />
Disallow: /images/<br />
Disallow: /secure/</strong></p>
<p>Therefore, in this case you exclude the content of these 3 files from All search engines.</p>
<p>8. You can also personalize and command the various search engines:</p>
<p><strong>User-agent: *<br />
Disallow:<br />
User-agent: Googlebot<br />
Disallow: /cgi-bin/</strong></p>
<p>In this case first of all you authorize all search engines to index the Web site. But in secondly you prohibit Google the /cgi-bin/ file.</p>
<p>Do not forget that it is necessary to register META beacons in each page which will be indexed to inform the robots: (here are some examples)</p>
<p>&nbsp;</p>
<table id="table3" width="584" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;MSNBot&#8221; CONTENT=&#8221;noindex&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited MSNBot to index a page.</p>
</div>
</td>
</tr>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;*&#8221; CONTENT=&#8221;noindex&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited all robots to index a page.</p>
</div>
</td>
</tr>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;Googlebot&#8221; CONTENT=&#8221;nofollow&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited GoogleBot to follow links on a page.</p>
</div>
</td>
</tr>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;robots&#8221; CONTENT=&#8221;nofollow&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited all robots to follow links on a page.</p>
</div>
</td>
</tr>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;MSNBot&#8221; CONTENT=&#8221;noindex,nofollow&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited MSNBot to index and follow links.</p>
</div>
</td>
</tr>
<tr>
<td width="290">
<div>
<p>&lt;META NAME=&#8221;GoogleBot&#8221; CONTENT=&#8221;nocache&#8221; /&gt;</p>
</div>
<div>
<p>&lt;META NAME=&#8221;GoogleBot&#8221; CONTENT=&#8221;noarchive&#8221; /&gt;</p>
</div>
</td>
<td>
<div>
<p>Prohibited Googlebot Cache.</p>
</div>
<div>
<p>Prohibited Googlebot Archive.</p>
</div>
</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=379&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/how-to-robots-txt-file-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>How to use SSH</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/how-to-use-ssh/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/how-to-use-ssh/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:01:16 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Linux/UNIX]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=378</guid>
		<description><![CDATA[Infomations: SSH is a tool used to connect to your server. This is how 95% of your system is setup. To use ssh, you&#8217;ll need an ssh client for your local computer. We recommend PuTTY Common SSH Commands or Linux Shell Commands, ls : list files/directories in a directory, comparable to dir in windows/dos. ls [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=378&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;"><strong>Infomations:</strong></span></p>
<p><span style="font-family:Arial;">SSH is a tool used to connect to your server. This is how 95% of your system is setup.</span></p>
<p><span style="font-family:Arial;">To use ssh, you&#8217;ll need an ssh client for your local computer. We recommend <a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/">PuTTY</a></span></p>
<hr />
<p><strong>Common SSH Commands or Linux Shell Commands,</strong><br />
<strong>ls </strong>: list files/directories in a directory, comparable to dir in windows/dos.<br />
<em>ls -al</em> : shows all files (including ones that start with a period), directories, and details attributes for each file.</p>
<p><strong>cd </strong>: change directory · · cd /usr/local/apache : go to /usr/local/apache/ directory<br />
<em>cd ~ </em>: go to your home directory<br />
<em>cd -</em> : go to the last directory you were in<br />
<em>cd .. </em>: go up a directory cat : print file contents to the screen<br />
<em>cat filename.txt </em>: cat the contents of filename.txt to your screen</p>
<p><strong>chmod:</strong> changes file access permissions<br />
The set of 3 go in this order from left to right:<br />
USER &#8211; GROUP &#8211; EVERONE</p>
<p>0 = &#8212;  No permission<br />
1 = &#8211;X  Execute only<br />
2 = -W-  Write only<br />
3 = -WX  Write and execute<br />
4 = R&#8211;  Read only<br />
5 = R-X  Read and execute<br />
6 = RW-  Read and write<br />
7 = RWX  Read, write and execute</p>
<p>Usage:<br />
chmod numberpermissions filename</p>
<p>chmod 000 : No one can access<br />
chmod 644: Usually for HTML pages<br />
chmod 755: Usually for CGI scripts</p>
<p><strong>chown</strong>: changes file ownership permissions<br />
The set of 2 go in this order from left to right:<br />
USER &#8211; GROUP</p>
<p>chown root myfile.txt : Changes the owner of the file to root<br />
chown root.root myfile.txt : Changes the owner and group of the file to root</p>
<p><strong>tail</strong> : like cat, but only reads the end of the file<br />
<em>tail /var/log/messages </em>: see the last 20 (by default) lines of /var/log/messages<br />
<em>tail -f /var/log/messages </em>: watch the file continuously, while it&#8217;s being updated<br />
<em>tail -200 /var/log/messages </em>: print the last 200 lines of the file to the screen</p>
<p><strong>more</strong><em> </em>: like cat, but opens the file one screen at a time rather than all at once<br />
<em>more /etc/userdomains </em>: browse through the userdomains file. hit <em>Space</em>to go to the next page, <em>q</em> to quit</p>
<p><strong>pico</strong> : friendly, easy to use file editor<br />
<em>pico /home/burst/public_html/index.html </em>: edit the index page for the user&#8217;s website.</p>
<p><strong>File Editing with VI ssh commands</strong><br />
<strong>vi</strong> : another editor, tons of features, harder to use at first than pico<br />
<em>vi /home/burst/public_html/index.html </em>: edit the index page for the user&#8217;s website.<br />
Whie in the vi program you can use the following useful commands, you will need to hit SHIFT + : to go into command mode</p>
<p>:q! : This force quits the file without saving and exits vi<br />
:w : This writes the file to disk, saves it<br />
:wq : This saves the file to disk and exists vi<br />
:LINENUMBER : EG :25 : Takes you to line 25 within the file<br />
:$ : Takes you to the last line of the file<br />
:0 : Takes you to the first line of the file</p>
<p><strong>grep</strong> : looks for patterns in files<br />
<em>grep root /etc/passwd </em>: shows all matches of root in /etc/passwd<br />
<em>grep -v root /etc/passwd </em>: shows all lines that do not match root</p>
<p><strong>ln</strong> : create&#8217;s &#8220;links&#8221; between files and directories<br />
<em>ln -s /usr/local/apache/conf/httpd.conf /etc/httpd.conf </em>: Now you can edit /etc/httpd.conf rather than the original. changes will affect the orginal, however you can delete the link and it will not delete the original.</p>
<p><strong>last</strong> : shows who logged in and when<br />
<em>last -20 </em>: shows only the last 20 logins<br />
<em>last -20 -a </em>: shows last 20 logins, with the hostname in the last field</p>
<p><strong>w</strong> : shows who is currently logged in and where they are logged in from.<br />
who : This also shows who is on the server in an shell.</p>
<p><strong>netstat</strong> : shows all current network connections.<br />
<em>netstat -an </em>: shows all connections to the server, the source and destination ips and ports.<br />
<em>netstat -rn </em>: shows routing table for all ips bound to the server.</p>
<p><strong>top</strong> : shows live system processes in a nice table, memory information, uptime and other useful info. This is excellent for managing your system processes, resources and ensure everything is working fine and your server isn&#8217;t bogged down.<br />
<em>top</em> then type <em>Shift + M</em> to sort by memory usage or <em>Shift + P </em>to sort by CPU usage</p>
<p><strong>ps: </strong>ps is short for process status, which is similar to the <em>top</em> command. It&#8217;s used to show currently running processes and their PID.<br />
A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).<br />
<em>ps U username</em> <em>:</em> shows processes for a certain user<br />
<em>ps aux</em> : shows all system processes<br />
<em>ps aux &#8211;forest</em> : shows all system processes like the above but organizes in a hierarchy that&#8217;s very useful!</p>
<p><strong>touch</strong> : create an empty file<br />
<em>touch /home/burst/public_html/404.html </em>: create an empty file called 404.html in the directory /home/burst/public_html/</p>
<p><strong>file </strong>: attempts to guess what type of file a file is by looking at it&#8217;s content.<br />
<em>file * </em>: prints out a list of all files/directories in a directory</p>
<p><strong>du </strong>: shows disk usage.<br />
<em>du -sh </em>: shows a summary, in human-readble form, of total disk space used in the current directory, including subdirectories.<br />
<em>du -sh * </em>: same thing, but for each file and directory. helpful when finding large files taking up space.</p>
<p><strong>wc : </strong>word count<br />
<em>wc -l filename.txt </em>: tells how many lines are in filename.txt</p>
<p><strong>cp </strong>: copy a file<br />
<em>cp filename filename.backup </em>: copies filename to filename.backup<br />
<em>cp -a /home/burst/new_design/* /home/burst/public_html/ </em>: copies all files, retaining permissions form one directory to another.<br />
cp -av * ../newdir : Copies all files and directories recurrsively in the current directory INTO newdir</p>
<p><strong>mv</strong> : Move a file command<br />
mv oldfilename newfilename : Move a file or directory from oldfilename to newfilename</p>
<p><strong>rm </strong>: delete a file<br />
<em>rm filename.txt </em>: deletes filename.txt, will more than likely ask if you really want to delete it<br />
<em>rm -f filename.txt </em>: deletes filename.txt, will not ask for confirmation before deleting.<br />
<em>rm -rf tmp/</em> : recursively deletes the directory tmp, and all files in it, including subdirectories. BE VERY CAREFULL WITH THIS COMMAND!!!<br />
<strong><br />
TAR</strong>: Creating and Extracting .tar.gz and .tar files<br />
tar -zxvf file.tar.gz : Extracts the file<br />
tar -xvf file.tar : Extracts the file<br />
tar -cf archive.tar contents/ : Takes everything from contents/ and puts it into archive.tar<br />
gzip -d filename.gz : Decompress the file, extract it</p>
<p><strong>ZIP Files</strong>:  Extracting .zip files shell command<br />
unzip file.zip</p>
<p><strong>Firewall - iptables commands<br />
</strong>iptables -I INPUT -s IPADDRESSHERE -j DROP : This command stops any connections from the IP address<br />
iptables -L : List all rules in iptables<br />
iptables -F : Flushes all iptables rules (clears the firewall)<br />
iptables &#8211;save : Saves the currenty ruleset in memory to disk<br />
service iptables restart : Restarts iptables</p>
<p><strong>Apache Shell Commands</strong><br />
httpd -v : Outputs the build date and version of the Apache server.<br />
httpd -l : Lists compiled in Apache modules<br />
httpd status : Only works if mod_status is enabled and shows a page of active connections<br />
service httpd restart : Restarted Apache web server</p>
<p><strong>MySQL Shell Commands</strong><br />
mysqladmin processlist : Shows active mysql connections and queries<br />
mysqladmin drop databasenamehere : Drops/deletes the selected database<br />
mysqladmin create databasenamehere : Creates a mysql database</p>
<p>Restore MySQL Database Shell Command<br />
mysql -u username -p password databasename &lt; databasefile.sql : Restores a MySQL database from databasefile.sql</p>
<p>Backup MySQL Database Shell Command<br />
mysqldump -u username -p password databasename &gt; databasefile.sql : Backup MySQL database to databasefile.sql</p>
<p><strong>kill: </strong>terminate a system process<br />
<em>kill -9 PID</em> EG: <em>kill -9 431<br />
kill PID </em>EG: <em>kill 10550</em><br />
Use <em>top</em> or <em>ps ux </em>to get system PIDs (Process IDs)</p>
<p>EG:</p>
<table id="table1" border="0">
<tbody>
<tr>
<td><strong>PID</strong></td>
<td><strong>TTY</strong></td>
<td><strong>TIME</strong></td>
<td><strong>COMMAND</strong></td>
</tr>
<tr>
<td>10550</td>
<td>pts/3</td>
<td>0:01</td>
<td>/bin/csh</td>
</tr>
<tr>
<td>10574</td>
<td>pts/4</td>
<td>0:02</td>
<td>/bin/csh</td>
</tr>
</tbody>
<tbody>
<tr>
<td>10590</td>
<td>pts/4</td>
<td>0:09</td>
<td>APP</td>
</tr>
</tbody>
</table>
<p>Each line represents one process, with a process being loosely defined as a running instance of a program. The column headed PID (process ID) shows the assigned process numbers of the processes. The heading COMMAND shows the location of the executed process.</p>
<p><strong>Putting commands together</strong><br />
Often you will find you need to use different commands on the same line. Here are some examples. Note that the | character is called a pipe, it takes date from one program and pipes it to another.<br />
<em>&gt;</em> means create a new file, overwriting any content already there.<br />
<em>&gt;&gt;</em> means tp append data to a file, creating a newone if it doesn not already exist.<br />
<em>&lt;</em> send input from a file back into a command.</p>
<p><em>grep User /usr/local/apache/conf/httpd.conf |more<br />
</em>This will dump all lines that match User from the httpd.conf, then print the results to your screen one page at a time.</p>
<p><em>last -a &gt; /root/lastlogins.tmp</em><br />
This will print all the current login history to a file called lastlogins.tmp in /root/</p>
<p><em>tail -10000 /var/log/exim_mainlog |grep domain.com |more<br />
</em>This will grab the last 10,000 lines from /var/log/exim_mainlog, find all occurances of domain.com (the period represents &#8216;anything&#8217;,<br />
&#8211; comment it out with a so it will be interpretted literally), then send it to your screen page by page.</p>
<p><em>netstat -an |grep :80 |wc -l<br />
</em>Show how many active connections there are to apache (httpd runs on port 80)</p>
<p><em>mysqladmin processlist |wc -l<br />
</em>Show how many current open connections there are to mysql</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=378&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/how-to-use-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>Partition /var is Full [DirectAdmin]</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/partition-var-is-full-directadmin/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/partition-var-is-full-directadmin/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 09:59:46 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Direct Admin]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=377</guid>
		<description><![CDATA[If you have a /var partition, and if that partition is too small it may fill up quickly. If you want to move the data which is stored in &#8220;/var&#8221; to another partition, run the following: &#160; cd /var du &#124; sort -n This will give you a full readout of all the directories that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=377&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have a /var partition, and if that partition is too small it may fill up quickly. If you want to move the data which is stored in &#8220;/var&#8221; to another partition, run the following:</p>
<p>&nbsp;</p>
<p><strong>cd /var<br />
du | sort -n</strong><br />
This will give you a full readout of all the directories that are using the most space. The directory using the most disk space will appear at the bottom of the list.</p>
<p>One common culprit is mysql (/var/lib/mysql on Redhat). To move that path to another partition, run the following:</p>
<p>&nbsp;</p>
<p><strong>cd /home<br />
mkdir mysql<br />
chown mysql:mysql mysql<br />
cd mysql<br />
/sbin/service mysqld stop<br />
cp -Rp /var/lib/mysql/* .<br />
cd /var/lib<br />
mv mysql mysql_old<br />
ln -s /home/mysql ./mysql<br />
/sbin/service mysqld start</strong></p>
<p>&nbsp;</p>
<p>#once satisfied that mysqld is running, remove the old data:<br />
<strong>rm -rf mysql_old</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/377/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=377&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/partition-var-is-full-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>Spamassassin : Can&#8217;t locate HTML/Parser.pm in @INC</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/spamassassin-cant-locate-htmlparser-pm-in-inc/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/spamassassin-cant-locate-htmlparser-pm-in-inc/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 09:59:16 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Direct Admin]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=376</guid>
		<description><![CDATA[If you are trying to install Spamassassin but get that error, then it means you require the HTML/Parser.pm perl module. RedHat: &#160; perl -MCPAN -eshell install HTML::Parser &#160; If that gives you problems, run &#8220;unset LANG&#8221; then try again. FreeBSD: &#160; cd /usr/ports/www/p5-HTML-Parser make install clean &#160; or to manually compile from source for either [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=376&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are trying to install Spamassassin but get that error, then it means you require the HTML/Parser.pm perl module.</p>
<p>RedHat:</p>
<p>&nbsp;</p>
<table id="table1" border="0" cellpadding="0">
<tbody>
<tr>
<td>perl -MCPAN -eshell<br />
install HTML::Parser</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>If that gives you problems, run &#8220;unset LANG&#8221; then try again.</p>
<p>FreeBSD:</p>
<p>&nbsp;</p>
<table id="table2" border="0" cellpadding="0">
<tbody>
<tr>
<td>cd /usr/ports/www/p5-HTML-Parser<br />
make install clean</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>or to manually compile from source for either OS:</p>
<p>&nbsp;</p>
<table id="table3" border="0" cellpadding="0">
<tbody>
<tr>
<td>wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.35.tar.gz<br />
tar xvzf HTML-Parser-3.35.tar.gz<br />
cd HTML-Parser-3.35<br />
perl Makefile.PL<br />
make<br />
make install</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=376&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/spamassassin-cant-locate-htmlparser-pm-in-inc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>Disk Usage is showing 0.00 [DirectAdmin]</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/disk-usage-is-showing-0-00-directadmin/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/disk-usage-is-showing-0-00-directadmin/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 09:58:28 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Direct Admin]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=375</guid>
		<description><![CDATA[DirectAdmin relies on the system quotas to return a value for how much space is being used. DirectAdmin will run &#160; /usr/sbin/repquota /home &#160; Where /home is the quota_partition value set in the /usr/local/directadmin/conf/directadmin.conf file (eg, /home, / or /usr). The command should output a large list of numbers, eg &#160; [root@server]# /usr/sbin/repquota /home *** [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=375&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DirectAdmin relies on the system quotas to return a value for how much space is being used. DirectAdmin will run</p>
<p>&nbsp;</p>
<table id="table1" border="0" cellpadding="0">
<tbody>
<tr>
<td>/usr/sbin/repquota <strong>/home</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
Where <strong>/home</strong> is the quota_partition value set in the /usr/local/directadmin/conf/directadmin.conf file (eg, /home, / or /usr). The command should output a large list of numbers, eg</p>
<p>&nbsp;</p>
<table id="table2" border="0" cellpadding="0">
<tbody>
<tr>
<td>[root@server]#<strong> /usr/sbin/repquota /home</strong><br />
*** Report for user quotas on device /dev/hda3<br />
Block grace time: 7days; Inode grace time: 7days<br />
Block limits File limits<br />
User used soft hard grace used soft hard grace<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
root &#8212; 417796 0 0 7446 0 0<br />
nobody &#8212; 4 0 0 1 0 0<br />
bin &#8212; 56880 0 0 510 0 0<br />
majordomo &#8212; 8 0 0 2 0 0<br />
diradmin &#8212; 8 0 0 2 0 0<br />
admin &#8212; 200 0 0 44 0 0<br />
user123 &#8212; 100 0 0 22 0 0<br />
user456 &#8212; 100 0 0 22 0 0</td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
If the &#8220;used&#8221; column is not showing anything, or users are not in the list, then you&#8217;ll need to run the quotacheck program:</p>
<p>Redhat:</p>
<p>&nbsp;</p>
<table id="table3" border="0" cellpadding="0">
<tbody>
<tr>
<td>/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;</td>
</tr>
</tbody>
</table>
<p>FreeBSD:</p>
<p>&nbsp;</p>
<table id="table4" border="0" cellpadding="0">
<tbody>
<tr>
<td>/usr/sbin/quotaoff -a; /sbin/quotacheck -avug; /usr/sbin/quotaon -a;</td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
If are getting errors and no output is displayed for the repquota command, you&#8217;ll need to check your /etc/fstab file to make sure that it contains the <strong>rw,userquota,groupquota</strong> line beside the partition that is using the quotas.<br />
*Important: On Linux (Redhat/Debian), it&#8217;s <strong>usrquota,grpquota,</strong> and on FreeBSD it&#8217;s <strong>userquota,groupquota.</strong></p>
<p>Sample /etc/fstab:</p>
<p>&nbsp;</p>
<table id="table5" border="0" cellpadding="0">
<tbody>
<tr>
<td># Device Mountpoint FStype Options Dump Pass#<br />
/dev/ad0s1a / ufs rw,<strong>userquota,groupquota</strong> 1 1<br />
/dev/ad0s1e /tmp ufs rw 2 2<br />
proc /proc procfs rw 0 0</td>
</tr>
</tbody>
</table>
<p>In this case, the quota_partition is <strong>/</strong>. The quota partition should be the partition that holds your users. Generally, this will be one of /home, / or /usr.</p>
<p>Once the repquota program is returning a normal value, then you can run the tally to get the correct usage to show up in DirectAdmin:</p>
<table id="table6" border="0" cellpadding="0">
<tbody>
<tr>
<td>echo &#8220;action=tally&amp;value=all&#8221; &gt;&gt; /usr/local/directadmin/data/task.queue</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=375&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/disk-usage-is-showing-0-00-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating Apache to the latest version on DirectAdmin</title>
		<link>http://nakuls77.wordpress.com/2012/01/22/updating-apache-to-the-latest-version-on-directadmin/</link>
		<comments>http://nakuls77.wordpress.com/2012/01/22/updating-apache-to-the-latest-version-on-directadmin/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 09:57:38 +0000</pubDate>
		<dc:creator>nakuls77</dc:creator>
				<category><![CDATA[Direct Admin]]></category>

		<guid isPermaLink="false">http://nakuls77.wordpress.com/?p=374</guid>
		<description><![CDATA[You can check the current version of apache by running httpd -v If you wish to update your 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you&#8217;re using apache 2.x, use &#8220;./build apache_2&#8243; isntead of apache_mod_ssl. This should update both the configure options [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=374&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can check the current version of apache by running<br />
<strong>httpd -v</strong></p>
<p>If you wish to update your 1.3 version of apache to the most recent, run the following:<br />
<strong>cd /usr/local/directadmin/customapache<br />
./build clean<br />
./build update<br />
./build apache_mod_ssl</strong></p>
<p>If you&#8217;re using apache 2.x, use &#8220;./build apache_2&#8243; isntead of apache_mod_ssl.<br />
This should update both the configure options and the version of apache to the most recent version. Once the update has completed, you&#8217;ll need to restart apache:</p>
<p>RedHat:<br />
<strong>/sbin/service httpd restart</strong></p>
<p>FreeBSD:<br />
<strong>/usr/local/etc/rc.d/httpd restart</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nakuls77.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nakuls77.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nakuls77.wordpress.com/374/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nakuls77.wordpress.com&amp;blog=4531515&amp;post=374&amp;subd=nakuls77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nakuls77.wordpress.com/2012/01/22/updating-apache-to-the-latest-version-on-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd680caf41f4e6dca0401e7cefef9ab2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nakuls77</media:title>
		</media:content>
	</item>
	</channel>
</rss>
