さくらのVPSにアンチウィルスソフトClam AntiVirusを入れる

メールサーバの運用をしていることから、アンチウィルスソフトを入れなくてはと考えました。インストール方法は、ほぼすべてこちらに書いてある通りでオッケーです。素晴らしい。

[shell]
$ sudo yum -y install clamd
$ sudo vi /etc/cram/cramd.conf
#User clam
#TCPSocket 3310
#メールサーバと連携させるため、TCPはオフにしておきます。

$ sudo freshclam

$ sudo service clamd start
$ sudo chkconfig clamd on

$ sudo clamscan –infected –remove –recursive
[/shell]

参考サイトにある一日一度のスキャン設定も入れておきました。

Author: rutoru

Find joy in everyday life. Be tolerant of others.

Leave a Reply

Your email address will not be published. Required fields are marked *