Showing posts with label How to Install and configure Clamav Antivirus. Show all posts
Showing posts with label How to Install and configure Clamav Antivirus. Show all posts

Monday, March 18, 2013

How to Install and configure Clamav Antivirus



How to Install and configure Clamav Antivirus


Install Clamav to protect from Virus.

1. Install Clamav


 [root@mail ~]#yum --enablerepo=rpmforge -y install clamav      # install from RPMforge


 


[root@mail ~]#vi /etc/freshclam.conf          # line 122: make it comment



NotifyClamd /etc/clamd.conf

 


[root@mail ~]#freshclam            # update pattern files

ClamAV update process started at Sun Jul 10 22:10:08 2011
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cvd is up to date (version: 13304, sigs: 144473, f-level: 60, builder: guitar)
bytecode.cvd is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin)

2. Try to Scan.



# try to scan


[root@mail ~]# clamscan --infected --remove --recursive /home



----------- SCAN SUMMARY -----------
Known viruses: 989350
Engine version: 0.97.1
Scanned directories: 3
Scanned files: 3
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 2.060 sec (0 m 2 s)

# try to download trial virus

 
[root@mail ~]#wget http://www.eicar.org/download/eicar.com

 

[root@mail ~]#clamscan --infected --remove --recursive .
./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed.


# just detected



----------- SCAN SUMMARY -----------
nown viruses: 989350
Engine version: 0.97.1
Scanned directories: 1
Scanned files: 13
Infected files: 1
Data scanned: 0.02 MB
Data read: 0.01 MB (ratio 2.00:1)
Time: 2.079 sec (0 m 2 s)


Hope you Enjoy the tutorial.

How to Install and configure Clamav Antivirus



How to Install and configure Clamav Antivirus


Install Clamav to protect from Virus.

1. Install Clamav


 [root@mail ~]#yum --enablerepo=rpmforge -y install clamav      # install from RPMforge


 


[root@mail ~]#vi /etc/freshclam.conf          # line 122: make it comment



NotifyClamd /etc/clamd.conf

 


[root@mail ~]#freshclam            # update pattern files

ClamAV update process started at Sun Jul 10 22:10:08 2011
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cvd is up to date (version: 13304, sigs: 144473, f-level: 60, builder: guitar)
bytecode.cvd is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin)

2. Try to Scan.



# try to scan


[root@mail ~]# clamscan --infected --remove --recursive /home



----------- SCAN SUMMARY -----------
Known viruses: 989350
Engine version: 0.97.1
Scanned directories: 3
Scanned files: 3
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 2.060 sec (0 m 2 s)

# try to download trial virus

 
[root@mail ~]#wget http://www.eicar.org/download/eicar.com

 

[root@mail ~]#clamscan --infected --remove --recursive .
./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed.


# just detected



----------- SCAN SUMMARY -----------
nown viruses: 989350
Engine version: 0.97.1
Scanned directories: 1
Scanned files: 13
Infected files: 1
Data scanned: 0.02 MB
Data read: 0.01 MB (ratio 2.00:1)
Time: 2.079 sec (0 m 2 s)


Hope you Enjoy the tutorial.