How to Install Virus Scanner in cPanel
Clam AntiVirus (ClamAV) is an antivirus software toolkit that was originally developed for Unix. It is licensed under the GNU and is free for all to use. It can detect many malicious software and viruses. Because of the low vulnerability of Unix systems to viruses, ClamAV has established itself as the de facto standard for mail server gateway scanning of emails.
ClamAV: Prominent Utilities
The most prominent utilities of ClamAV are mentioned below:
- Command-line scanning
- Automatic database update
- Scalable multi-threaded daemon, which runs on an anti-virus engine from a shared library
cPanel’s implementation on cPanel allows end users to run scans on their home folders, public FTP folders, mail, and public_html.
The following steps will guide you through the process to install ClamAv on cPanel
1. Go to Manage Plugins in WHM
2. Enable ClamAV Connector
3. After that’s done, go to Configure ClamAV Scanner option in WHM. set scanning options for the entire server or specific users.

4. You should now see a Virus Scanner option in cPanel. If you don’t, you may need to enable it in Feature Manager.
The following are a few quick command that could be useful for ClamAV administraton
Update ClamAV database
freshclam
Scan a directory and print out infected files:
clamav -ri /home
Scan a directly and remove infected files and emails:
clamav -ri –remove /home

Pingback: In a dual boot system are virus scanners as effective in scanning the the non active system?