Merhabalar CentOS 6.5 üzerine ClamAV Antivirüs anlatıcam.
Öncelikle (root) kullanıcısı ile sisteme login o lalım.
(EPEL) paketini wget yardımı ile indirelim.
Komut
root@piler:~# wget wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving mirror.vit.com.tr (mirror.vit.com.tr)… 79.171.16.108 Connecting to mirror.vit.com.tr (mirror.vit.com.tr)|79.171.16.108|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 14540 (14K) [application/x-rpm] Saving to: `epel-release-6-8.noarch.rpm’
100%[======================================================================>] 14,540 –.-K/s in 0.008s
2014-02-26 07:39:54 (1.74 MB/s) – `epel-release-6-8.noarch.rpm’ saved [14540/14540]
FINISHED –2014-02-26 07:39:54– Total wall clock time: 1.4s Downloaded: 1 files, 14K in 0.008s (1.74 MB/s) |
İndirdiğimiz paketi (rpm) kumutu ile kurulum yapalım.
[root@piler ~]# rpm -Uvh epel-release-6-8.noarch.rpm
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Preparing… ########################################### [100%] 1:epel-release ########################################### [100%] |
epel paketini kurduktan sonra yum komutunu kullanarak ClamAV kuralım.
[root@piler ~]# yum install clamd clamav -y
Installing: clamav x86_64 0.98.1-1.el6 epel 1.3 M clamd x86_64 0.98.1-1.el6 epel 150 k Installing for dependencies: clamav-db x86_64 0.98.1-1.el6 epel 77 M
Transaction Summary ================================================================================ Installed: clamav.x86_64 0:0.98.1-1.el6 clamd.x86_64 0:0.98.1-1.el6
Complete! |
Kurulum işlemi bitti ClamAV update edelim
[root@piler ~]# freshclam
ClamAV update process started at Wed Feb 26 08:52:38 2014 main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo) WARNING: getfile: daily-18354.cdiff not found on remote server (IP: 193.1.193.64) WARNING: getpatch: Can’t download daily-18354.cdiff from db.tr.clamav.net WARNING: getpatch: Can’t download daily-18354.cdiff from db.tr.clamav.net WARNING: getpatch: Can’t download daily-18354.cdiff from db.tr.clamav.net WARNING: Incremental update failed, trying to download daily.cvd Downloading daily.cvd [ 42%] |
Update işlemi bittikten sonra (opt) dizinini scan edelim.
[root@piler ~]# clamscan -i -r /opt/
———– SCAN SUMMARY ———– Known viruses: 3134233 Engine version: 0.98.1 Scanned directories: 1 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 5.048 sec (0 m 5 s) |
ClamAV antivirüs kurulum işlemi bitti.