Install ClamAV in cPanel
ClamAV is a free antivirus software for Linux. This post will help you to install ClamAV in cPanel. It mainly used as a mail gateway scanning software. This will also help you to detect malicious softwares including viruses. cPanel comes with the ClamAV scanner and it’s not enabled by default.
You can enable it by following the simple steps below:
How to install ClamAV
- Login to your WHM as root.
- On the home page, click on the cPanel link (icon).
- Click on “Manage Plugins”.
- Select the box “Install and keep updated” in clamavconnector (ClamAV).
- Click on save.
How to run clamscan for all account’s public_html directory in cpanel?
/usr/local/cpanel/3rdparty/bin/clamscan -ri /home/*/public_html
Also, You can remove the infected files while scanning using the following command.
/usr/local/cpanel/3rdparty/bin/clamscan -ri --remove /home/*/public_html
Use the following command to get the version number:
To get help screen:
The Standard: ClamAV is the open source standard for mail gateway scanning software.
High Performance: ClamAV includes a multi-threaded scanner daemon, command line utilities for on demand file scanning and automatic signature updates.
Versatile: ClamAV supports multiple file formats, file and archive unpacking, and multiple signature languages.
If you like the post and wish to receive more articles from us, please like our FB page: If you like this post and wish to receive more articles from us, please like our FB page: Button
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at firstname.lastname@example.org