![how-to-install-and-use-clamav-on-ubuntu](https://i0.wp.com/nosomovo.xyz/wp-content/uploads/2019/10/how-to-install-and-use-clamav-on-ubuntu.png?resize=678%2C381&ssl=1)
1. Thực hiện cài đặt ClamAV
sudo apt-get update sudo apt-get install clamav
2. Cập nhật Database cho ClamAV
– Thực hiện tắt dịch vụ Clamav: sudo systemctl stop clamav-freshclam
– Thực hiện cập nhật Database cho ClamAV: sudo freshclam . Đợi cho việc tải và cập nhật database của clamav hoàn tất…
– Khởi động lại ClamAV: systemctl start clamav-freshclam
3. Thực hiện scan
Để scan chúng ta thực hiện lệnh theo cú pháp sau: clamscan -r /{Thu_muc} .
Ví dụ: để scan trong thư mục home chúng ta sử dụng lệnh clamscan -r /home
Hy vọng hữu ích với bạn!
Nosomovo