How to install Clamav on Centos 7

Viewing 1 post (of 1 total)
  • Author
  • #86547

    Go this from here:
    Follow this commands:

    sudo yum install clamav clamav-update clamav-scanner-systemd clamav-server-systemd

    You need to configure the example file like this:

    sudo sed -i -e "s/^Example/#Example/" /etc/freshclam.conf
    sudo sed -i -e "s/^Example/#Example/" /etc/clamd.d/scan.conf

    Now lets update it:

    sudo freshclam

    Now let’s scan the home directory:

    sudo clamscan -r /home

    If you want to delete the infected files automatically you need to use this command instead:

    sudo clamscan -r --remove /home
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.