<?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>Tech Stuff &#187; Cpanel</title>
	<atom:link href="http://tech-stuff.org/tag/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech-stuff.org</link>
	<description>Hosting Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 14 Dec 2009 16:33:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Deleting nouser Files – cleanup after cPanel</title>
		<link>http://tech-stuff.org/deleting-nouser-files-%e2%80%93-cleanup-after-cpanel/</link>
		<comments>http://tech-stuff.org/deleting-nouser-files-%e2%80%93-cleanup-after-cpanel/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 21:58:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[files cleanup]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://tech-stuff.org/?p=94</guid>
		<description><![CDATA[

Not many CPANEL server admin knows that when they delete user account, there are some of those user files that still left on the server. Because user has been deleted, so the files will be owned by nouser.
This can be a problem when your server is highly cycled (you add and delete users very frequently) [...]]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p>Not many CPANEL server admin knows that when they delete user account, there are some of those user files that still left on the server. Because user has been deleted, so the files will be owned by nouser.</p>
<p>This can be a problem when your server is highly cycled (you add and delete users very frequently) because you can hit the system user limit. This means you cant create no more user on your system. Deleting user to add another one wont work.</p>
<p><strong>Solution :</strong></p>
<p>You have to remove all files that owned by no user. Usualy they placed on these directories :</p>
<ul>
<li>/home</li>
<li>/usr/local/apache/conf/sites</li>
<li>/usr/local/frontpage</li>
<li>/usr/local/apache/domlogs</li>
<li>/var/cpanel/bandwidth</li>
<li>/etc/vdomainaliases</li>
<li>/var/cpanel/users.cache/</li>
<li>/var/cpanel/bwusagecache/</li>
<li>/var/spool/cron.suspended/</li>
</ul>
<p>To find these files is quite easy. Just lunch :</p>
<p>find /usr/local/apache/conf/sites/  \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /usr/local/frontpage/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /usr/local/apache/domlogs/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /var/cpanel/bandwidth/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /etc/vdomainaliases/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /var/cpanel/bwusagecache/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /var/cpanel/users.cache/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p>find /var/cpanel/bandwidth.cache/ \( -nouser -or -nogroup \) -exec rm -f {} \;</p>
<p><strong>Note :</strong><strong> </strong></p>
<p><strong>-exec rm -f {} \; </strong>meaning you execute rm -f to those files. You may change it for example : <strong>-exec chown root:root </strong><strong>{} \;</strong></p>
<p><strong><br />
</strong></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/deleting-nouser-files-%e2%80%93-cleanup-after-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to configure Exim on a cPanel server to use a smart host</title>
		<link>http://tech-stuff.org/how-to-configure-exim-on-a-cpanel-server-to-use-a-smart-host/</link>
		<comments>http://tech-stuff.org/how-to-configure-exim-on-a-cpanel-server-to-use-a-smart-host/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 19:55:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[smarthost]]></category>

		<guid isPermaLink="false">http://tech-stuff.org/?p=71</guid>
		<description><![CDATA[A Smart Host is a SMTP server that will accept mail from another server and then deliver the mail for that server.  For example, server1 is setup to use server2 as a smart host. Anytime someone sends e-mail on server1 it is automatically relayed to server2 regardless of the MX entrys for the domain. Server2 then accepts [...]]]></description>
			<content:encoded><![CDATA[<p><span class="mediumtext">A Smart Host is a SMTP server that will accept mail from another server and then deliver the mail for that server.  For example, server1 is setup to use server2 as a smart host. Anytime someone sends e-mail on server1 it is automatically relayed to server2 regardless of the MX entrys for the domain. Server2 then accepts this message, looks up the proper delivery host/IP and attempts to deliver the message to that host.</p>
<p>To configure a smart host, create /etc/exim.conf.local and add the following lines. Be sure to change to the hostname or ip of the smart host server:</p>
<p><em> @ROUTERSTART@<br />
smart_route:<br />
driver = manualroute<br />
domains = !+local_domains<br />
transport = remote_smtp<br />
route_list = * host.name.of.smart.host.server</em></p>
<p>Next run <em>/scripts/buildeximconf</em></p>
<p>Then run<em> /scripts/restartsrv_exim</em></p>
<p>Thats it, watch the logs for a bit to make sure it&#8217;s working!</p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/how-to-configure-exim-on-a-cpanel-server-to-use-a-smart-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upgrade clamav on cpanel( WARNING: ClamAV &#8230;. is OUTDATED )</title>
		<link>http://tech-stuff.org/upgrade-clamav-on-cpanel-warning-clamav-is-outdated/</link>
		<comments>http://tech-stuff.org/upgrade-clamav-on-cpanel-warning-clamav-is-outdated/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 19:20:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[clamav]]></category>

		<guid isPermaLink="false">http://tech-stuff.org/?p=68</guid>
		<description><![CDATA[First, download the latest version from Sourceforge:


Code:
wget http://downloads.sourceforge.net/clamav/clamav-0.95.1.tar.gz

Extract it and move into that directory:


Code:
tar -xzf clamav-*
cd clamav*

Compile:


Code:
./configure --prefix=/usr
make
make install

Comment out examples in the config files:


Code:
replace "Example" "#Example" -- /usr/etc/freshclam.conf
replace "Example" "#Example" -- /usr/etc/clamd.conf

Get the new virus definitions:


Code:
freshclam

Then just make sure you have the latest version of the ClamAV scanner if you&#8217;re using it (this can [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>First, download the latest version from Sourceforge:</p>
<p><!-- BEGIN TEMPLATE: bbcode_code --></p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">wget http://downloads.sourceforge.net/clamav/clamav-0.95.1.tar.gz</pre>
</div>
<p><!-- END TEMPLATE: bbcode_code -->Extract it and move into that directory:</p>
<p><!-- BEGIN TEMPLATE: bbcode_code --></p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">tar -xzf clamav-*
cd clamav*</pre>
</div>
<p><!-- END TEMPLATE: bbcode_code -->Compile:</p>
<p><!-- BEGIN TEMPLATE: bbcode_code --></p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">./configure --prefix=/usr
make
make install</pre>
</div>
<p><!-- END TEMPLATE: bbcode_code -->Comment out examples in the config files:</p>
<p><!-- BEGIN TEMPLATE: bbcode_code --></p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">replace "Example" "#Example" -- /usr/etc/freshclam.conf
replace "Example" "#Example" -- /usr/etc/clamd.conf</pre>
</div>
<p><!-- END TEMPLATE: bbcode_code -->Get the new virus definitions:</p>
<p><!-- BEGIN TEMPLATE: bbcode_code --></p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">freshclam</pre>
</div>
<p><!-- END TEMPLATE: bbcode_code -->Then just make sure you have the latest version of the ClamAV scanner if you&#8217;re using it (this can be done from the &#8220;Manage Plugins&#8221; screen in the cPanel section of WHM).</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/upgrade-clamav-on-cpanel-warning-clamav-is-outdated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove plesk install from virtuozzo vzpp</title>
		<link>http://tech-stuff.org/remove-plesk-install-from-virtuozzo-vzpp/</link>
		<comments>http://tech-stuff.org/remove-plesk-install-from-virtuozzo-vzpp/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 10:51:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Virtuozzo]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[virtuzzo]]></category>

		<guid isPermaLink="false">http://tech-stuff.org/?p=65</guid>
		<description><![CDATA[
if you have cpanel on a virtuozzo node vps you really want to disable plesk install  .
This cannot be done for selected VPSes, only for node-wide. In order to remove &#8216;Install Plesk&#8217; link from the customer&#8217;s Parallels Power Panel, it is required to modify /vz/private/1/root/etc/vzcp/pp/menu.xml (on the node) file or /etc/vzcp/pp/menu.xml (in Service VPS).

There [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :TrackMoves /> <w :TrackFormatting /> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :DoNotPromoteQF /> <w :LidThemeOther>EN-US</w> <w :LidThemeAsian>X-NONE</w> <w :LidThemeComplexScript>X-NONE</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> <w :SplitPgBreakAndParaMark /> <w :DontVertAlignCellWithSp /> <w :DontBreakConstrainedForcedTables /> <w :DontVertAlignInTxbx /> <w :Word11KerningPairs /> <w :CachedColBalance /> </w> <w :DoNotOptimizeForBrowser /> <m :mathPr> <m :mathFont m:val="Cambria Math" /> <m :brkBin m:val="before" /> <m :brkBinSub m:val="&#45;-" /> <m :smallFrac m:val="off" /> <m :dispDef /> <m :lMargin m:val="0" /> <m :rMargin m:val="0" /> <m :defJc m:val="centerGroup" /> <m :wrapIndent m:val="1440" /> <m :intLim m:val="subSup" /> <m :naryLim m:val="undOvr" /> </m> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w :LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w :LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w :LsdException Locked="false" Priority="39" Name="toc 1" /> <w :LsdException Locked="false" Priority="39" Name="toc 2" /> <w :LsdException Locked="false" Priority="39" Name="toc 3" /> <w :LsdException Locked="false" Priority="39" Name="toc 4" /> <w :LsdException Locked="false" Priority="39" Name="toc 5" /> <w :LsdException Locked="false" Priority="39" Name="toc 6" /> <w :LsdException Locked="false" Priority="39" Name="toc 7" /> <w :LsdException Locked="false" Priority="39" Name="toc 8" /> <w :LsdException Locked="false" Priority="39" Name="toc 9" /> <w :LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w :LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w :LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w :LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w :LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w :LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w :LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w :LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w :LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w :LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w :LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w :LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w :LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w :LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w :LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w :LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w :LsdException Locked="false" Priority="37" Name="Bibliography" /> <w :LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w> </xml>< ![endif]--></p>
<p class="MsoPlainText">if you have cpanel on a virtuozzo node vps you really want to disable plesk install <img src='http://tech-stuff.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p class="MsoPlainText">This cannot be done for selected VPSes, only for node-wide. In order to remove &#8216;Install Plesk&#8217; link from the customer&#8217;s Parallels Power Panel, it is required to modify /vz/private/1/root/etc/vzcp/pp/menu.xml (on the node) file or /etc/vzcp/pp/menu.xml (in Service VPS).</p>
<p class="MsoPlainText">
<p class="MsoPlainText">There is an item looking like</p>
<p class="MsoPlainText">
<p class="MsoPlainText">
<p class="MsoPlainText"><span> </span>item href=&#8221;$baseurl/panel/plesk&#8221; icon=&#8221;plesk&#8221; tip=&#8221;plesk_control_panel&#8221; cred=&#8221;plesk_use&#8221; svps=&#8221;deny&#8221;</p>
<p class="MsoPlainText"><span> </span>&lt;title&gt;Install Plesk&lt;/title&gt;</p>
<p class="MsoPlainText"><span> </span>&lt;screen id=&#8221;07.07.04.03&#8243;/&gt;</p>
<p class="MsoPlainText"><span> </span>&lt;template cond=&#8221;version &amp;gt;= 20040227&#8243;&gt;plesk&lt;/template&gt;</p>
<p class="MsoPlainText"><span> </span>&lt;/item&gt;</p>
<p class="MsoPlainText">
<p class="MsoPlainText">It should be completely removed and vzcp restarted:</p>
<p class="MsoPlainText">
<p class="MsoPlainText"># vzctl exec 1 /etc/init.d/vzcp restart</p>
<p class="MsoPlainText">
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/remove-plesk-install-from-virtuozzo-vzpp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to identify high load apache processes</title>
		<link>http://tech-stuff.org/how-to-identify-high-load-apache-processes/</link>
		<comments>http://tech-stuff.org/how-to-identify-high-load-apache-processes/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 14:32:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://tech-stuff.org/?p=59</guid>
		<description><![CDATA[just paste to shell (cpanel server):
ps -axo &#8220;%C %p&#8221; &#124;sort -nr &#124;head -5 &#124;while read i p; do echo -n $i; /usr/local/apache/bin/apachectl fullstatus &#124;grep -A 1 $p; done
there is also a python script for that : apache-top.py . you can donwload it from: http://www.fr3nd.net/projects/apache-top/. it&#8217;s a nice tool but still need some customization.
]]></description>
			<content:encoded><![CDATA[<p>just paste to shell (cpanel server):</p>
<p>ps -axo &#8220;%C %p&#8221; |sort -nr |head -5 |while read i p; do echo -n $i; /usr/local/apache/bin/apachectl fullstatus |grep -A 1 $p; done</p>
<p>there is also a python script for that : apache-top.py . you can donwload it from: http://www.fr3nd.net/projects/apache-top/. it&#8217;s a nice tool but still need some customization.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/how-to-identify-high-load-apache-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restrict apache permissions to execute /usr/bin/perl</title>
		<link>http://tech-stuff.org/how-to-restrict-apache-permissions-to-execute-usrbinperl/</link>
		<comments>http://tech-stuff.org/how-to-restrict-apache-permissions-to-execute-usrbinperl/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 13:41:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.tech-stuff.org/?p=44</guid>
		<description><![CDATA[Just change perl permissions like bellow . apache will be able of course to execute perl scripts from cgi.
-bash-3.2# ls -al /usr/bin/perl
-rwxr-xr-x 2 root root 13688 Sep 17 20:40 /usr/bin/perl
-bash-3.2# chgrp apache /usr/bin/perl
-bash-3.2# chmod 705 /usr/bin/perl
-bash-3.2# ls -al /usr/bin/perl
-rwx---r-x 2 root apache 13688 Jan 28 15:09 /usr/bin/perl
]]></description>
			<content:encoded><![CDATA[<pre>Just change perl permissions like bellow . apache will be able of course to execute perl scripts from cgi.
-bash-3.2# ls -al /usr/bin/perl
-rwxr-xr-x 2 root root 13688 Sep 17 20:40 /usr/bin/perl
-bash-3.2# chgrp apache /usr/bin/perl
-bash-3.2# chmod 705 /usr/bin/perl
-bash-3.2# ls -al /usr/bin/perl
-rwx---r-x 2 root apache 13688 Jan 28 15:09 /usr/bin/perl</pre>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/how-to-restrict-apache-permissions-to-execute-usrbinperl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Ruby on CPanel</title>
		<link>http://tech-stuff.org/install-ruby-on-cpanel/</link>
		<comments>http://tech-stuff.org/install-ruby-on-cpanel/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 11:46:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.tech-stuff.org/?p=11</guid>
		<description><![CDATA[If you are using CPanel 11 (the latest version available at this time) you can easily install ruby on your system using CPanel. Previously, you had to do this using operating system packages or manually from sources. Now, we can just run /scripts/installruby and this will do everything for us:

download, compile and install ruby
download and [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using <strong>CPanel 11</strong> (the latest version available at this time) you can easily install <strong>ruby </strong>on your system using CPanel. Previously, you had to do this using operating system packages or manually from sources. Now, we can just run <strong>/scripts/installruby</strong> and this will do everything for us:</p>
<ul>
<li>download, compile and install ruby</li>
<li>download and install RubyGems and some gems like rails and mongrel</li>
</ul>
<p><code>/scripts/installruby</code><br />
At this time it will install the latest 1.8 ruby:<br />
<code><strong>ruby -v</strong><br />
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]</code><br />
and the following gems (using rubygems-1.1.1):<br />
<code><strong>gem list</strong><br />
actionmailer (2.1.0)<br />
actionpack (2.1.0)<br />
activerecord (2.1.0)<br />
activeresource (2.1.0)<br />
activesupport (2.1.0)<br />
cgi_multipart_eof_fix (2.5.0)<br />
daemons (1.0.10)<br />
fastthread (1.0.1)<br />
gem_plugin (0.2.3)<br />
mongrel (1.1.5)<br />
rails (2.1.0)<br />
rake (0.8.1)</code><br />
This should be enough for running ruby scripts, but if you want to use <em>Ruby On Rails from within CPanel</em> then you just have to complete this by running <strong>/usr/local/cpanel/bin/ror_setup</strong>. If you are interested to deploy RoR environments on CPanel you can do this from inside CPanel. For more information check out the <a href="http://www.cpanel.net/docs/ror/index.html" target="_blank">CPanel docs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-stuff.org/install-ruby-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
