パッケージを全部アップデートしておく †
sudo yum update -y
タイムゾーンが変わっていたら元に戻す †
date
sudo cp -f /usr/share/zoneinfo/Japan /etc/localtime
sudo service crond restart
ClamAVインストール †
sudo yum install clamav clamav-scanner-sysvinit clamav-update -y
設定ファイル更新1 †
定義ファイルの更新 †
sudo freshclam
設定ファイル更新2 †
起動 †
sudo service clamd.scan start
自動起動設定 †
sudo chkconfig clamd.scan on
chkconfig
シンボリックシンクの作成 †
sudo ln -s /etc/clamd.d/scan.conf /etc/clamd.conf
手動スキャン †
/usr/bin/clamdscan .
or
/usr/bin/clamscan -r .
定義更新 †
/usr/bin/freshclam
自動設定 †
テストデータ †
wget http://www.eicar.org/download/eicar.com.txt
wget http://www.eicar.org/download/eicar_com.zip
wget http://www.eicar.org/download/eicarcom2.zip