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

How to fix defaultwebpage.cgi on a webserver

Running the following commands solves the above problem:   /scripts/updateuserdomains...

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Install Let's Encrypt SSL in cPanel/WHM

Let's Encrypt, a valid, open-source license that offers free SSL for your domains. The Let's...

Fix Email Issue on a server using the MSFE

To solve the problem of not sending/receiving email on a server using the MSFE / Mailscanner...

Domain names are not showing in WHM

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