Download and Install
-
Download the ClamAV MSI file from ClamAV website.
-
Double-click the MSI file to install ClamAV.
-
Select Run as Administrator.
-
Follow the on-screen instructions to complete the installation.
Configuration
Configure ClamAV to start scanning files automatically.
-
Open a PowerShell window in administrator mode.
-
Navigate to the ClamAV installation directory.
-
Run the following command:
copy .\conf_examples\freshclam.conf.sample .\freshclam.conf
-
Run the next command:
copy .\conf_examples\clamd.conf.sample .\clamd.conf
-
Open the freshclam.conf and clamd.conf files in a text editor.
-
Delete the line that says "Example" from each file.
-
Save the files and close the text editor.
-
Run the following command to start the ClamAV service:
.\clamd.exe --install
Deploying the ClamAV API Service
-
Deploy the API application in an application server.
-
Configure the API with the ClamAV Windows service in the appsettings file.
-
Provide the ClamAV API details in the appsettings file in Smart API.
-
Provide the ClamAV API details in the Config file in the SaaS application.