Step-by-step guide to Install ClamAV & Integrate with Xeams
What is ClamAV?
ClamAV includes a number of utilities: a command-line scanner, automatic database updater and a scalable multi-threaded daemon, running on an anti-virus engine. ClamAV includes a multi-threaded scanning daemon, command line utilities for on demand file scanning and automatic signature updates which makes it powerful.
Step 1 - ClamAV Installation
NOTE: When installing ClamAV you will need to be a root user.
Step 2 - Updating ClamAV Definition
Let us update the ClamAV virus definition data by typing:
Step 3 - Starting ClamAV
After updating the ClamAV virus definition database, you will need to start ClamAV by typing in:
Step 4 - Testing
In your Xeams Web Interface:
Step 5 - Troubleshooting
If ClamAV is not recognized by Xeams then I recommend to rerun the configuration of clamav-daemon by typing the following command:
When reconfiguring the clamav-daemon, set IP to any.
Then try testing it in Xeams by following the step outlined in Step 4 - Testing section.
Step 6 (Optional - Only if needed) - Configuration
To configure ClamAV Conf file open the following file using either vim or nano followed by:
At the end of the file add the following parameters:
Change localhost to the IP where ClamAV has been installed (ex. TCPAddr 192.168.1.16).