Installing Malware Scanning on Linux
Install and Configure ClamAV for Ubuntu & Kali
To enable Malware Scanning with an Acunetix installation on Ubuntu (tested with version 18.04.3 LTS) or Kali (tested with version 2020.1), you will first need to install ClamAV. To achieve this:
- Install ClamAV by running the following commands:
- sudo apt update
- sudo apt upgrade
- sudo apt install clamav clamav-daemon
- Adjust the ClamAV configuration by adding the following lines to /etc/clamav/clamd.conf:
TCPSocket 3310 TCPAddr 127.0.0.1 |
- Enable and restart the ClamAV service with:
- sudo systemctl enable clamav-daemon
- sudo systemctl restart clamav-daemon
Install and Configure ClamAV for Suse Linux Enterprise Server & OpenSUSE Leap
To enable Malware Scanning with an Acunetix installation on Suse Linux Enterprise Server (tested with version 15 SP1) or OpenSUSE Leap (tested with version 15.1), you will first need to install ClamAV. To achieve this:
- Install ClamAV by running the following commands:
- sudo zypper update
- sudo zypper -n install clamav
- sudo systemctl enable clamd
- Download the latest virus definitions:
- sudo freshclam
- Start the ClamAV service
- sudo systemctl start clamd
Install and Configure ClamAV for CentOS & Red Hat (SELinux Disabled)
To enable Malware Scanning with an Acunetix installation on CentOS (tested with version 8.1), you will first need to install ClamAV. To achieve this:
- Install ClamAV by running the following commands:
- sudo dnf update
- sudo dnf install epel-release
- sudo dnf install clamd clamav clamav-filesystem clamav-lib clamav-data clamav-update
- Adjust the ClamAV configuration by adding the following lines to /etc/clamav/scan.conf:
TCPSocket 3310 TCPAddr 127.0.0.1 |
- Start the ClamAV Updates and AntiVirus Services
- sudo systemctl enable clamav-freshclam
- sudo systemctl start clamav-freshclam
- sudo systemctl enable clamd@scan
- sudo systemctl start clamd@scan