jueves, 24 de enero de 2019

LINUX. Antivirus CLAMAV

Purpose

Install and protect my Linux operating system from virus. 


We need have administrator  privileges

Steps

Command: "sudo apt-get install clamav clamav-daemon"

 This command can long very minutes




Command: "sudo freshclam" update antivirus


If there are errors:


You need stop this service firts


Command: "sudo /etc/init.d/clamav-daemon start"  start antivirus


Command:
"sudo /etc/init.d/clamav-freshclam start"



To run the software:

 Command: "sudo clamscan"

To scheduler

1. Made a directory for files in quarentine 


2. Use crontab

I choose 1 option

Insert this commands:


This sentence excute te antirus every day at 22:00 and move to /tmp/VIRUSCUARENTENA the suspects files

More info: https://www.clamav.net/


Check in Linux Mint 19.1 Cinnamon & Ubuntu 
by GoN | Published: January 24 2019 | Last Updated: Augost 8, 2020 

No hay comentarios: