Install CpCleaner in cPanel/WHM Step by Step:
What is CpCleaner?
CpCleaner is a cPanel plugin created to give cPanel users the option to clean junk files that take up disk space without cause.
Sometimes cPanel users turn for support because they run out of disk space And actually it’s all about some error_log files that take up disk space.
With CpCleaner installed your cPanel users will be able to clean out the trash from the account without a long search and with a few clicks.
How does it work?
The search trash is guided by a list of files extensions or names that you establish for your users, The default is: error_log, *.tar *.zip *.tar.gz
In addition, there is also another option empty the “tmp” and “.trash” folders And in the future will be even more options.
Features:
-
Easy installation.
-
Automatic Updates.
-
Clean out files by extensions or name.
-
Clean out the “tmp” and “.trash” folders.
-
Support cPanel, cPanel with CloudLinux. CentOS 5/6/7..
System requirements:
-
cPanel/WHM Version- 11.52.0+
Instruction:
Step 1. Login SSH as root.
Step 2. Run the following shell commands.
-
wget -O cpc-1.0.3.tar “http://store.gk-root.com/dl.php?type=d&id=233”
-
tar -xf cpc-1.0.3.tar
-
cd cpc-1.0.3
-
sh cpc-installer -install
-
cd ..
-
rm -Rfv cpc-1.0.3/ cpc-1.0.3.tar
Update CpCleaner In cPanel:
/usr/local/cpanel/base/3rdparty/CpCleaner/conf/update
Automatic Updates
To enable automatic updates, copy the “update” file to one of the cron folders e.g:
cp /usr/local/cpanel/base/3rdparty/CpCleaner/conf/update /etc/cron.monthly/
Read More:- How To Install FFMPEG In Cpanel \ WHM
Search Config
To change the list of files to be scanned edit file: “/usr/local/cpanel/base/3rdparty/CpCleaner/conf/filestoscan”.
Uninstall
Run the following shell commands as root via SSH:
wget -O cpc-1.0.3.tar "http://store.gk-root.com/dl.php?type=d&id=233" tar -xf cpc-1.0.3.tar cd cpc-1.0.3 sh cpc-installer -uninstall cd .. rm -Rfv cpc-1.0.3/ cpc-1.0.3.tar
Buy Cheap Hosting Plan :
Cloud Hosting:- https://hostjio.com/cloud-hosting.html