In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to use linux clamav, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Do you need antivirus tools under linux? I have always thought that it is not necessary, there are very few linux-based viruses, and linux security protection is also very good, which is generally very difficult to break. I think those hackers prefer to write viruses under windows, which are used by many people and are easy to spread. The following operations are carried out as an administrator.
First, install clamav
Apt-get install clamav
Depending on the system, use different commands, yum,pacman, etc. If the package cannot be found, only the following source code is compiled by itself.
Second, download the virus library
Freshclam
The above command is to update the virus library, if not, it will be downloaded automatically, but slowly. You can also download it manually, http://www.clamav.net/lang/en/, and main.cvd,daily.cvd the next two. Just put the downloaded virus library files in the / var/lib/clamav directory, and that's fine.
Third, check the clamav process.
Root@ubuntu:/home/zhangying# ps ax | grep clam4858? Ss 0:00 / usr/bin/freshclam-d-- quiet5401 pts/0 S+ 0:00 grep-- color=auto clam
Fourth, some examples of conventional usage
1. Scan a directory, clamscan-r / home/zhangying
2. Store the scan results in log, clamscan-r / home/zhangying-l / tmp/clamav.log
3. During the scan, only the problematic files are displayed and the alarm sound is sounded, clamscan-r-- bell-I / home/zhangying
4, scan to the problem file, delete directly, clamscan-r-- remove / home/zhangying, this step should be careful, it is best not to do so, if you delete the system file will be troublesome. Could cause the system to crash.
Fifth, scan results
Root@ubuntu:/home/zhangying# clamscan-r / home/zhangying/me-l. / scan.logLibClamAV Warning: * * LibClamAV Warning: * This version of the ClamAV engine is outdated. * * LibClamAV Warning: * DON'T PANIC! Read http://www.clamav.net/support/faq * LibClamAV Warning: * * / home/zhangying/me/admin/sqlnet.ora: OK/home/zhangying/me/admin/tnsnames.ora: OK/home/zhangying/me/admin/listener.ora : OK/home/zhangying/me/admin/shrept.lst: OK/home/zhangying/me/admin/samples/sqlnet.ora: OK/home/zhangying/me/admin/samples/tnsnames.ora: OK/home/zhangying/me/admin/samples/listener.ora: OK- SCAN SUMMARY-Known viruses: 1010069Engine version: 0.96.5Scanned directories: 3Scanned files: 7Infected files: 0Data scanned: 0.17 MBData read: 0.14 MB (ratio 1.08 sec 1) Time: 3.024 sec (0 m 3 s) is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.