clamavをyumでインストール
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[clamav]]
*概要 [#r00c17d8]
clamavはUNIXマシン向けのウイルス対策ソフトです。~
Mac用もあり、Linuxでも使用可能です。~
注意点として、単独ではメールのウイルス対策は出来ませんの...
*手順 [#sb140fee]
※2014/1/30追記:epelのレポジトリが必要です。 ~
※2017/3/6追記:CentOS7だとclamdがインストールできないので...
# yum install epel-release
# yum install clamd
# cp -p /etc/freshclam.conf /etc/freshclam.conf.`date +%...
# vim /etc/freshclam.conf
---
#LogSyslog yes
LogSyslog no
---
# service clamd start
Starting Clam AntiVirus Daemon: LibClamAV Warning: *****...
LibClamAV Warning: *** The virus database is older than...
LibClamAV Warning: *** Please update it as soon as pos...
LibClamAV Warning: *************************************...
...
# freshclam
# mkdir /root/.crontab
# crontab -l > /root/.crontab/crontab.`date +%Y%m%d`
# crontab -e
追記
# clamav virus db update
10 4 * * * /usr/bin/freshclam --quiet -l /var/log/freshc...
※バージョンclamd-0.98の場合は/var/log/clamav/freshclam.l...
# cd /var/log
# touch freshclam.log
# chown clam:clam freshclam.log
*自動 [#sdcdce2e]
# chkconfig --on clamd
# chkconfig --list
*手動 [#hf60e03d]
スキャン対象ディレクトリで
# clamscan --infected --recursive
~
clamav-milterとの同期によるウイルス検知については、clamav...
参考URL:http://futuremix.org/2009/11/postfix-clamav-milter
終了行:
[[clamav]]
*概要 [#r00c17d8]
clamavはUNIXマシン向けのウイルス対策ソフトです。~
Mac用もあり、Linuxでも使用可能です。~
注意点として、単独ではメールのウイルス対策は出来ませんの...
*手順 [#sb140fee]
※2014/1/30追記:epelのレポジトリが必要です。 ~
※2017/3/6追記:CentOS7だとclamdがインストールできないので...
# yum install epel-release
# yum install clamd
# cp -p /etc/freshclam.conf /etc/freshclam.conf.`date +%...
# vim /etc/freshclam.conf
---
#LogSyslog yes
LogSyslog no
---
# service clamd start
Starting Clam AntiVirus Daemon: LibClamAV Warning: *****...
LibClamAV Warning: *** The virus database is older than...
LibClamAV Warning: *** Please update it as soon as pos...
LibClamAV Warning: *************************************...
...
# freshclam
# mkdir /root/.crontab
# crontab -l > /root/.crontab/crontab.`date +%Y%m%d`
# crontab -e
追記
# clamav virus db update
10 4 * * * /usr/bin/freshclam --quiet -l /var/log/freshc...
※バージョンclamd-0.98の場合は/var/log/clamav/freshclam.l...
# cd /var/log
# touch freshclam.log
# chown clam:clam freshclam.log
*自動 [#sdcdce2e]
# chkconfig --on clamd
# chkconfig --list
*手動 [#hf60e03d]
スキャン対象ディレクトリで
# clamscan --infected --recursive
~
clamav-milterとの同期によるウイルス検知については、clamav...
参考URL:http://futuremix.org/2009/11/postfix-clamav-milter
ページ名: