Sunday, March 25, 2007

Installing ClamAV (Clam Antivirus) in linux (CentOS) - Part 1

Open the terminal and issue.
[root@localhost works]# yum install clamd*
This will download and install clamav(clamav engine), clamav-db(clamav virus database) and clamd (clamav daemon). If you are on slow network it is a 9.5MB package and will take a while to come down. Now you can scan any file or folder for viruses and worms. To scan a folder "Personal_Stuff" recursively type the following command on the linux terminal.
[root@localhost ~]# clamscan -vr Personal_Stuff/

No comments: