How to Install CpCleaner in cPanel through SSH?

Installation

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 -install
cd ..
rm -Rfv cpc-1.0.3/ cpc-1.0.3.tar

 


Update

Run the update by the following shell commands as root:

 

/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/

 


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

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Secure a cPanel/WHM Web Server

Here are a few basic steps that you should keep in mind for keeping a server secure. 1) Strong...

How to install ModSecurity Tools in WHM

In WHM, the ModSecurity Tools interface allows you to add and manage ModSecurity rules for your...