Jump to content

como instalar un antivirus en freebsd


colcrt

Recommended Posts

1. Introducción
 Eventualmente decidí instalar algún tipo de antivirus en la máquina para escanear automáticamente estos archivos.
La comunidad OpenSource ofrece hoy una gran cantidad de soluciones antivirus gratuitas y algunas incluso en pago por los sistemas BSD. Elijo ClamAV después de verificar con virus-total.com varios de mis archivos integrados y reconocí la mayoría de ellos.

2. instalacion

cd /usr/ports/security/clamav && make install

clamav1.jpg

 

3. Editar rc.conf e insertar esta lineas

clamav_freshclam_enable="YES"
clamav_clamd_enable="YES"

4. iniciar Clamav Daemon

/usr/local/etc/rc.d/clamav-clamd start

5. Actualizar la base de datos
 

/usr/local/bin/freshclam

6. actualizar crontab y correr freshclam.agregar lo siguiente en su crontab:

00     2     *     *     *      /usr/local/bin/freshclam

15.9.14 UPDATE: As stated by one of our readers, Leander Schäfer, The above cronjob is not needed when freshclam daemon is configured via rc.conf (clamav_freshclam_enable="YES").

6. ejemplo para correr clamscan:

clamscan -r -i -l scan.txt /home

para eliminar el scan use :

clamscan -r -i –remove -l scan_home.txt /home/mother/Prince

7. Verificar Scan

   ver el reporte

cat scan.txt

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...