آموزشاوبونتواوبونتو دسکتاپاوبونتو سروردبیاندبیان دسکتاپدبیان سرورسرورلینوکس
آموزش راه اندازی آنتی ویروس ClamAV در Ubuntu 14.04 13.10 13.04 12.10 12.04 11.10 11.04

بسم الله الرحمن الرحیم
یا راهی خواهم یافت , یا راهی خواهم ساخت
سلام
بخش اول: نصب ClamAV در اوبونتو سرور
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
root@ip-10-48-234-13:~# sudo apt-get install clamav Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: clamav-base clamav-freshclam libclamav6 libltdl7 libtommath0 Suggested packages: clamav-docs libclamunrar6 The following NEW packages will be installed: clamav clamav-base clamav-freshclam libclamav6 libltdl7 libtommath0 0 upgraded, 6 newly installed, 0 to remove and 72 not upgraded. Need to get 4,510 kB of archives. After this operation, 13.0 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libltdl7 amd64 2.4.2-1ubuntu1 [37.6 kB] Get:2 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libtommath0 amd64 0.42.0-1 [53.0 kB] Get:3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libclamav6 amd64 0.97.8+dfsg-1ubuntu1.12.04.1 [4,069 kB] Get:4 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main clamav-base all 0.97.8+dfsg-1ubuntu1.12.04.1 [102 kB] Get:5 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main clamav-freshclam amd64 0.97.8+dfsg-1ubuntu1.12.04.1 [116 kB] Get:6 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main clamav amd64 0.97.8+dfsg-1ubuntu1.12.04.1 [133 kB] Fetched 4,510 kB in 2s (1,513 kB/s) Preconfiguring packages … Selecting previously unselected package libltdl7. (Reading database … 50204 files and directories currently installed.) Unpacking libltdl7 (from …/libltdl7_2.4.2-1ubuntu1_amd64.deb) … Selecting previously unselected package libtommath0. Unpacking libtommath0 (from …/libtommath0_0.42.0-1_amd64.deb) … Selecting previously unselected package libclamav6. Unpacking libclamav6 (from …/libclamav6_0.97.8+dfsg-1ubuntu1.12.04.1_amd64.deb) … Selecting previously unselected package clamav-base. Unpacking clamav-base (from …/clamav-base_0.97.8+dfsg-1ubuntu1.12.04.1_all.deb) … Selecting previously unselected package clamav-freshclam. Unpacking clamav-freshclam (from …/clamav-freshclam_0.97.8+dfsg-1ubuntu1.12.04.1_amd64.deb) … Selecting previously unselected package clamav. Unpacking clamav (from …/clamav_0.97.8+dfsg-1ubuntu1.12.04.1_amd64.deb) … Processing triggers for man-db … Processing triggers for ureadahead … Setting up libltdl7 (2.4.2-1ubuntu1) … Setting up libtommath0 (0.42.0-1) … Setting up libclamav6 (0.97.8+dfsg-1ubuntu1.12.04.1) … Setting up clamav-base (0.97.8+dfsg-1ubuntu1.12.04.1) … Setting up clamav-freshclam (0.97.8+dfsg-1ubuntu1.12.04.1) … * Starting ClamAV virus database updater freshclam [ OK ] Setting up clamav (0.97.8+dfsg-1ubuntu1.12.04.1) … Processing triggers for libc-bin … ldconfig deferred processing now taking place root@ip-10-48-234-13:~# |
بخش دوم: بروز رسانی پایگاه داده آنتی ویروس
1 2 3 4 5 6 7 8 9 |
root@ip-10-48-234-13:~# sudo freshclam ClamAV update process started at Sun May 12 22:12:02 2013 main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 17198, sigs: 1248371, f-level: 63, builder: guitar) Downloading bytecode.cvd [100%] bytecode.cvd updated (version: 214, sigs: 41, f-level: 63, builder: neo) Database updated (2292799 signatures) from db.local.clamav.net (IP: 193.1.193.64) root@ip-10-48-234-13:~# |
بخش سوم: اسکن اوبونتو سرور
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
root@ip-10-48-234-13:~# sudo clamscan /root/.rnd: OK /root/.bash_history: OK /root/.viminfo: OK /root/.bashrc: OK /root/.profile: OK———– SCAN SUMMARY ———– Known viruses: 2287386 Engine version: 0.97.8 Scanned directories: 1 Scanned files: 5 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 36.970 sec (0 m 36 s) root@ip-10-48-234-13:~# |
در حال تکمیل…
نویسنده: حامد چوبین
هرگونه کپی برداری تنها با ذکر منبع مجاز می باشد.
منبع: گروه سرویس های لینوکسی