1
为Linux安装杀毒软件
source link: https://www.lujun9972.win/blog/2017/12/01/%E4%B8%BAlinux%E5%AE%89%E8%A3%85%E6%9D%80%E6%AF%92%E8%BD%AF%E4%BB%B6/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为Linux安装杀毒软件
现在Linux上的恶意软件也越来越多了,虽然还没到像Windows那么猖獗的地步,但也有必要装个杀毒软件防防毒了。
通过搜索 virus
发现archliux官方仓库中有带有一个反病毒软件: clamav
.
clamav
本身是一个CLI程序,但它也有一个GUI的前端: clamtk
.
首先,让我们安装一下 clamav
以及 clamtk
(注意:后面的操作都用root用户来操作)
pacman -S clamav clamtk --noconfirm
这个时候后台服务 clamd
还没有启动,我们来启动它并设置成自动启动
systemctl start clamd systemctl enable clamd
再来,更新签名数据库
/usr/bin/freshclam
我们来设置一下,用crontab每天做一次更新签名数据库
echo '/usr/bin/freshclam' > /etc/cron.daily/freshclam
为了保障安全,我们设置每天自动扫描一下
echo '/usr/bin/clamscan -i -r /home >> /var/log/ClamAV/daily_scan.log' >/etc/cron.daily/daily_scan
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK