<?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>EZ Linux Admin &#187; Linux Software / Scripts</title>
	<atom:link href="http://www.ezlinuxadmin.com/category/linux-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ezlinuxadmin.com</link>
	<description>Making Linux Easier</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>kill a linux process that won’t die</title>
		<link>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/</link>
		<comments>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 18:43:39 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Operating Systems]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=561</guid>
		<description><![CDATA[kill -s 9 [PID] Also try it without the -s if it won&#8217;t go.]]></description>
			<content:encoded><![CDATA[<p>kill -s 9 [PID]</p>
<p>Also try it without the -s if it won&#8217;t go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2012/02/kill-a-linux-process-that-wont-die/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to search a directory for a certain search string.</title>
		<link>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/</link>
		<comments>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 09:48:09 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=558</guid>
		<description><![CDATA[Pretty simple, this takes minimal load and delivers the data as it&#8217;s found.]]></description>
			<content:encoded><![CDATA[<p>Pretty simple, this takes minimal load and delivers the data as it&#8217;s found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2012/01/how-to-search-a-directory-for-a-certain-search-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>add a 404 page to each website on a cpanel server</title>
		<link>http://www.ezlinuxadmin.com/2011/12/404-page-website-cpanel-server/</link>
		<comments>http://www.ezlinuxadmin.com/2011/12/404-page-website-cpanel-server/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 07:58:59 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=555</guid>
		<description><![CDATA[#!/usr/bin/perl # cPlicensing.net &#8211; scripts            Copyright(c) 2003 cPlicensing.net. #                                     All rights Reserved. # support@cPlicensing.net              http://cPlicensing.net # Version: 0.02 print &#8220;Starting Scan&#8230;\n&#8221;; while(@USERS=getpwent()){ if (-d &#8220;$USERS[7]/public_html&#8221;) { if (-f &#8220;$USERS[7]/public_html/404.shtml&#8221;) { print &#8220;$USERS[0] 404.shtml exists\n&#8221;; } else { print &#8220;$USERS[0] creating 404.shtml&#8230;&#8221;; open(FILE,&#8221;&#62;$USERS[7]/public_html/404.shtml&#8221;) or die &#8220;Unable to create file: $!&#8221;; close(FILE); chmod(0644, [...]]]></description>
			<content:encoded><![CDATA[<p>#!/usr/bin/perl<br />
# cPlicensing.net &#8211; scripts            Copyright(c) 2003 cPlicensing.net.<br />
#                                     All rights Reserved.<br />
# support@cPlicensing.net              http://cPlicensing.net<br />
# Version: 0.02</p>
<p>print &#8220;Starting Scan&#8230;\n&#8221;;</p>
<p>while(@USERS=getpwent()){<br />
if (-d &#8220;$USERS[7]/public_html&#8221;) {<br />
if (-f &#8220;$USERS[7]/public_html/404.shtml&#8221;) {<br />
print &#8220;$USERS[0] 404.shtml exists\n&#8221;;<br />
} else {<br />
print &#8220;$USERS[0] creating 404.shtml&#8230;&#8221;;<br />
open(FILE,&#8221;&gt;$USERS[7]/public_html/404.shtml&#8221;) or die &#8220;Unable to create file: $!&#8221;;<br />
close(FILE);<br />
chmod(0644, &#8220;$USERS[7]/public_html/404.shtml&#8221;) or die &#8220;Unable to chmod file: $!&#8221;;<br />
chown($USERS[2],$USERS[3],&#8221;$USERS[7]/public_html/404.shtml&#8221;) or die &#8220;Unable to chown file: $!&#8221;;<br />
print &#8220;done\n&#8221;;<br />
}<br />
}<br />
}<br />
if (-f &#8220;/root/cpanel3-skel/public_html/404.shtml&#8221;) {<br />
print &#8220;404.shtml file exists in skel dir\n&#8221;;<br />
} else {<br />
print &#8220;Creating 404.shtml file in skel dir&#8230;&#8221;;<br />
open(FILE,&#8221;&gt;/root/cpanel3-skel/public_html/404.shtml&#8221;) or die &#8220;Unable to create file: $!&#8221;;<br />
print &#8220;done\n&#8221;;<br />
}</p>
<p>print &#8220;Scan Complete!\n&#8221;;</p>
<p>#ChangeLog<br />
#Version :: YYYY.MM.DD :: Type :: Description<br />
#<br />
#0.2 :: 2003.11.06 :: Bug Fix :: 404.shtml was created in the root skel folder, changed to public_html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/12/404-page-website-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup cleaner script for cpanel</title>
		<link>http://www.ezlinuxadmin.com/2011/12/backup-cleaner-script-for-cpanel/</link>
		<comments>http://www.ezlinuxadmin.com/2011/12/backup-cleaner-script-for-cpanel/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 07:53:50 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cleaner]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=551</guid>
		<description><![CDATA[#!/usr/bin/perl # cPlicensing.net &#8211; scripts             Copyright(c) 2003 cPlicensing.net. #                                       All rights Reserved. # support@cPlicensing.net               http://cPlicensing.net # Unauthorized copying is prohibited #Version: 0.01 use POSIX; $delete_old     = &#8217;1&#8242;; #0 or 1, set to 1 to remove old account backups if($ARGV[0] eq &#8220;-d&#8221;) { $delete_old = &#8217;1&#8242;; } $&#124;++; POSIX::nice(19); print &#8220;Reading Backup Config&#8230;&#8221;; open(CPBACK,&#8221;/etc/cpbackup.conf&#8221;) or [...]]]></description>
			<content:encoded><![CDATA[<p>#!/usr/bin/perl<br />
# cPlicensing.net &#8211; scripts             Copyright(c) 2003 cPlicensing.net.<br />
#                                       All rights Reserved.<br />
# support@cPlicensing.net               http://cPlicensing.net<br />
# Unauthorized copying is prohibited<br />
#Version: 0.01</p>
<p>use POSIX;</p>
<p>$delete_old     = &#8217;1&#8242;; #0 or 1, set to 1 to remove old account backups<br />
if($ARGV[0] eq &#8220;-d&#8221;) { $delete_old = &#8217;1&#8242;; }</p>
<p>$|++;<br />
POSIX::nice(19);</p>
<p>print &#8220;Reading Backup Config&#8230;&#8221;;<br />
open(CPBACK,&#8221;/etc/cpbackup.conf&#8221;) or die(&#8220;Failed, Does it exist and do you have access?\n&#8221;);<br />
while(&lt;CPBACK&gt;) {<br />
s/\n//g;<br />
my($name,$value) = split(/ /, $_);<br />
$CONF{$name} = $value;<br />
}<br />
close(CPBACK);<br />
print &#8220;Complete\n&#8221;;</p>
<p>if ($CONF{&#8216;BACKUPENABLE&#8217;} ne &#8220;yes&#8221;) {<br />
die &#8220;Backup Not Enabled\n&#8221;;<br />
}<br />
if (! -e $CONF{&#8216;BACKUPDIR&#8217;}){<br />
die &#8220;Backup Dir Doesnt Exist\n&#8221;;<br />
}</p>
<p>until (`ps ax` !~ m/cpbackup/) {<br />
print &#8220;Detected cpbackup process&#8230;Sleeping for 60 Seconds\n&#8221;;<br />
sleep(60);<br />
};</p>
<p>if ($CONF{&#8216;BACKUPMOUNT&#8217;} eq &#8220;yes&#8221;) {<br />
if(`mount` !~ m/$CONF{&#8216;BACKUPDIR&#8217;}/){<br />
system(&#8220;mount&#8221;,&#8221;$CONF{&#8216;BACKUPDIR&#8217;}&#8221;);<br />
}<br />
system(&#8220;mount&#8221;,&#8221;-o&#8221;,&#8221;remount,rw&#8221;,&#8221;$CONF{&#8216;BACKUPDIR&#8217;}&#8221;);<br />
}</p>
<p>cleandir(&#8220;$CONF{&#8216;BACKUPDIR&#8217;}/cpbackup/daily&#8221;);<br />
cleandir(&#8220;$CONF{&#8216;BACKUPDIR&#8217;}/cpbackup/weekly&#8221;);<br />
cleandir(&#8220;$CONF{&#8216;BACKUPDIR&#8217;}/cpbackup/monthly&#8221;);</p>
<p>if ($CONF{&#8216;BACKUPMOUNT&#8217;} eq &#8220;yes&#8221;) { system(&#8220;umount&#8221;,&#8221;$CONF{&#8216;BACKUPDIR&#8217;}&#8221;); }</p>
<p>sub cleandir {<br />
my($target) = @_;</p>
<p>opendir(DIRTYDIR,&#8221;$target&#8221;);<br />
@DIRTYDIR = readdir(DIRTYDIR);<br />
closedir(DIRTYDIR);</p>
<p>foreach(@DIRTYDIR) {<br />
next if /^\.\.?$|^files$|^dirs$/;<br />
if(-f &#8220;$target/$_&#8221;){<br />
$user = $_;<br />
$user =~ s/.tar.gz//;<br />
if(! -f &#8220;/var/cpanel/users/$user&#8221;){<br />
if($delete_old == 1){<br />
unlink(&#8220;$target/$_&#8221;);<br />
print &#8220;Deleted Old Backup&#8230; $target/$_\n&#8221;;<br />
} else {<br />
print &#8220;Detected Old Backup&#8230; $target/$_\n&#8221;;<br />
}<br />
}<br />
next;<br />
}<br />
if(-d &#8220;$target/$_&#8221;){<br />
if(! -f &#8220;/var/cpanel/users/$_&#8221;){<br />
if($delete_old == 1){<br />
system(&#8220;rm&#8221;,&#8221;-r&#8221;,&#8221;$target/$_&#8221;);<br />
#print &#8220;Directory Delete Not Supported, If you really want to remove dirs (incremental backups) you can edit this script and uncomment the line that looks like #system(\&#8221;rm\&#8221;,\&#8221;-r\&#8221;,\&#8221;$target/$_\&#8221;)\n&#8221;;<br />
} else {<br />
print &#8220;Detected Old Backup&#8230; $target/$_\n&#8221;;<br />
}<br />
}<br />
next;<br />
}<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/12/backup-cleaner-script-for-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually changing an IP in Linux</title>
		<link>http://www.ezlinuxadmin.com/2011/12/manually-changing-an-ip-in-linux/</link>
		<comments>http://www.ezlinuxadmin.com/2011/12/manually-changing-an-ip-in-linux/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 00:01:52 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Drivers]]></category>
		<category><![CDATA[Linux Operating Systems]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[Ports]]></category>
		<category><![CDATA[ifcfg-eth0]]></category>
		<category><![CDATA[linux change ip]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=549</guid>
		<description><![CDATA[It&#8217;s pretty easy actually. Just go to this directory: /etc/sysconfig/network-scripts Then you will see a file for eachnetwork port, for example my server is: ifcfg-eth0 and ifcfg-eth1 I already have the ifcfg-eth0 set up from the install but I want to use the second one for back ups so I just opened the file and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s pretty easy actually.</p>
<p>Just go to this directory:</p>
<p>/etc/sysconfig/network-scripts</p>
<p>Then you will see a file for eachnetwork port, for example my server is:</p>
<p>ifcfg-eth0</p>
<p>and</p>
<p>ifcfg-eth1</p>
<p>I already have the ifcfg-eth0 set up from the install but I want to use the second one for back ups so I just opened the file and added the IP to it. Then I made sure the rest of the setting smatched the first one other then the:</p>
<p>HWADDR=</p>
<p>That line is specific to the network port.</p>
<p>So that is how you configure a eth0 or eth1 port.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/12/manually-changing-an-ip-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking down the biggest folders</title>
		<link>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/</link>
		<comments>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 19:17:00 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[finding a folder]]></category>
		<category><![CDATA[folder size]]></category>
		<category><![CDATA[folder size search]]></category>
		<category><![CDATA[list folder size]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=540</guid>
		<description><![CDATA[du -ax --max-depth 1 /var/cpanel &#124; sort -n &#124; tail This is a great command to simply find what folders are the biggest in a directory. You can replace the /var/cpanel with any folder and it will list everything in there and how big they are in order. Once you find the big folder then [...]]]></description>
			<content:encoded><![CDATA[<pre>du -ax --max-depth 1 /var/cpanel | sort -n | tail</pre>
<p>This is a great command to simply find what folders are the biggest in a directory. You can replace the /var/cpanel with any folder and it will list everything in there and how big they are in order.</p>
<p>Once you find the big folder then search inside of that to find the biggest folder in there and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/08/tracking-down-the-biggest-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning up /var</title>
		<link>http://www.ezlinuxadmin.com/2011/08/cleaning-up-var/</link>
		<comments>http://www.ezlinuxadmin.com/2011/08/cleaning-up-var/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 18:53:38 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Operating Systems]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[cleaning var partition]]></category>
		<category><![CDATA[moving data]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[var full]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=537</guid>
		<description><![CDATA[Cpanel and linux leaves a lot of log files in /var After several years these can add up, especially in the cpanel/bandwidth folder. So a couple quick folder moves and symlinks can clean things up. This is assuming you have a /backup partition and some room in it. Moving the log folder mv /var/log /backup/ [...]]]></description>
			<content:encoded><![CDATA[<p>Cpanel and linux leaves a lot of log files in /var<br />
After several years these can add up, especially in the cpanel/bandwidth folder. So a couple quick folder moves and symlinks can clean things up. This is assuming you have a /backup partition and some room in it.</p>
<p><strong>Moving the log folder</strong></p>
<p>mv /var/log /backup/<br />
ln -s /backup/log /var/log</p>
<p><strong>Moving the cpanel bandwidth folder</strong></p>
<p>mv /var/cpanel/bandwidth /backup/<br />
ln -s /backup/bandwidth /var/cpanel/bandwidth</p>
<p>Also just removing some of the log files in the log folder can help you for a quick fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/08/cleaning-up-var/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Fantastico</title>
		<link>http://www.ezlinuxadmin.com/2011/06/remove-fantastico/</link>
		<comments>http://www.ezlinuxadmin.com/2011/06/remove-fantastico/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 18:12:27 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[remove fantastico]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=525</guid>
		<description><![CDATA[This short post is a response to the question I received from one reader that wanted to know how to remove completely from his Cpanel server Fantastico. Why would you want to do that? (assuming you have it already installed, it means you have a license also). Well, maybe the data center installed it by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ezlinuxadmin.com/wp-content/uploads/2011/06/fantastico-template-express.png"><img class="alignnone size-full wp-image-526" title="fantastico-template-express" src="http://www.ezlinuxadmin.com/wp-content/uploads/2011/06/fantastico-template-express.png" alt="" width="300" height="221" /></a></p>
<p>This short post is a response to the question I received from one reader that wanted to know how to remove completely from his Cpanel server Fantastico.<br />
Why would you want to do that? (assuming you have it already installed, it means you have a license also). Well, maybe the data center installed it by default and you don’t need Fantastico on your server; or maybe you just have a broken install and want to start fresh and remove it first. Regardless why you would want to do this, here are the steps you need to follow to completely remove Fantastico:</p>
<p>Login your server via SSH as root, and run the following commands:<br />
rm -rf /var/netenberg/<br />
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/<br />
rm -rf /usr/local/cpanel/3rdparty/fantastico*<br />
rm -rf /usr/local/cpanel/base/frontend/*/fantastico<br />
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html<br />
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi</p>
<p>Note: if you have installed fantastico in a different location than the default folder: /var/netenberg/, then you should replace the first line accordingly (this might be /opt/netenberg/, or /home/netenberg/, etc.).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/06/remove-fantastico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setroubleshootd and SELinux is not considered compatible with cPanel</title>
		<link>http://www.ezlinuxadmin.com/2011/05/setroubleshootd-and-selinux-is-not-considered-compatible-with-cpanel/</link>
		<comments>http://www.ezlinuxadmin.com/2011/05/setroubleshootd-and-selinux-is-not-considered-compatible-with-cpanel/#comments</comments>
		<pubDate>Mon, 30 May 2011 20:55:44 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[/usr/bin/python -E /usr/sbin/]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[setroubleshootd]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=520</guid>
		<description><![CDATA[The &#8220;setroubleshootd&#8221; process is included as part of SELinux. SELinux is not considered compatible with cPanel, and we recommend disabling it per our installation documentation: Disable SELinux security features For a fully successful installation you should disable SELinux. When installing a Red Hat or CentOS distribution, you will be able to use the graphical interface [...]]]></description>
			<content:encoded><![CDATA[<p>The &#8220;setroubleshootd&#8221; process is included as part of SELinux. SELinux is not considered compatible with cPanel, and we recommend disabling it per our installation documentation:</p>
<p><strong>Disable SELinux security features</strong></p>
<p>For a fully successful installation you should disable SELinux. When installing a Red Hat or CentOS distribution, you will be able to use the graphical interface to disable SELinux when configuring the operating system.</p>
<p>This can also be accomplished by editing /etc/selinux/config from the command line, and setting the SELINUX parameter to disabled with a text editor such as nano or vi. The file should resemble the following text:</p>
<p># This file controls the state of SELinux on the system.<br />
# SELINUX= can take one of these three values:<br />
# enforcing &#8211; SELinux security policy is enforced.<br />
# permissive &#8211; SELinux prints warnings instead of enforcing.<br />
# disabled &#8211; No SELinux policy is loaded.<br />
SELINUX=disabled<br />
# SELINUXTYPE= can take one of these two values:<br />
# targeted &#8211; Only targeted network daemons are protected.<br />
# strict &#8211; Full SELinux protection.<br />
SELINUXTYPE=targeted</p>
<p>Once you save the changes to the file above you will need to reboot the server for the changes to take effect.</p>
<p>PICK Important: SELinux must remain disabled in order for WHM and cPanel to run on your web server. Ensure that the pound sign (#) does not precede SELINUX=disabled. If # precedes this configuration option, the line will be ignored.</p>
<p>ALERT! Warning: Do not transfer the SELinux configuration file between computers as it may destroy the file’s integrity.</p>
<p><strong>ALERT! You will need to reboot the server for the changes to take effect.</strong></p>
<p><strong> For a quick fix that is not permanent:</strong></p>
<div>
<p>There is a bug with the new option in Centos 5 called setroubleshoot.</p>
<p>The bug spins the program over and over causing high memory and sometimes CPU use. Unfortunately there is no permanent fix yet, but if you see something like this high in your daily process log:</p>
<blockquote><p>/usr/bin/python -E /usr/sbin/setroubleshootd</p></blockquote>
<p>To fix for now you simply have to restart the process:</p>
<blockquote><p>/etc/init.d/setroubleshoot restart</p></blockquote>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2011/05/setroubleshootd-and-selinux-is-not-considered-compatible-with-cpanel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cpanel based admin mail manager ( mailmanager )</title>
		<link>http://www.ezlinuxadmin.com/2010/10/cpanel-based-admin-mail-manager/</link>
		<comments>http://www.ezlinuxadmin.com/2010/10/cpanel-based-admin-mail-manager/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 21:11:51 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cpanel and WHM]]></category>
		<category><![CDATA[Linux Software / Scripts]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mail manager]]></category>
		<category><![CDATA[mailmanager]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=497</guid>
		<description><![CDATA[1. wget http://www.configserver.com/free/cmm.tgz 2. Untar the distribution: tar -xzf cmm.tgz 3. cd into the directory created and run the install script: cd cmm/ sh install.sh 4. Login to WHM and scroll to the bottom of the left hand menu and you should see &#8220;ConfigServer Mail Manage&#8221; If you want to uninstall, simply: rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi [...]]]></description>
			<content:encoded><![CDATA[<p>1. wget http://www.configserver.com/free/cmm.tgz</p>
<p>2. Untar the distribution:</p>
<p>tar -xzf cmm.tgz</p>
<p>3. cd into the directory created and run the install script:</p>
<p>cd cmm/<br />
sh install.sh</p>
<p>4. Login to WHM and scroll to the bottom of the left hand menu and you should see &#8220;ConfigServer Mail Manage&#8221;</p>
<p>If you want to uninstall, simply:</p>
<p>rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi<br />
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt<br />
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmm/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/10/cpanel-based-admin-mail-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

