ClamAVの導入

「検索エンジンがサイトをインデックスしないようにする」のチェック外しに伴い、ClamAVを導入してみる。物自体はaptで簡単に導入できたが、freshclamがうごかない。
ERROR: /var/log/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/freshclam.log).
って怒られちゃう。調べるとパーミッションの問題ぽいんで、chmod766でfreshclam.logの権限変更して無事動作を確認。
crontabでfreshclam、clamscanを設定して、自動スキャン化、以上。

参考サイト:
春霞,”「clamav」でウィルス定義ファイルアップデートエラー”,”http://blog.canpan.info/hofu_nanboku/archive/190”,(access:2017.8.17)

WSUSのクリーンアップ自動化

手動でするのが面倒くさくなったので自動化を検討する。以下PowerShellScriptをタスクスケジューラで定時実行するように設定。問題なく動作を確認。

参考サイト:
64 Blog,”WSUS 3.0 のクリーンアップを自動化”,”http://blogs.gine2.jp/kusa/archives/53”,(access:2017.8.17)
TechNet,”WSUS Cleanup”,”https://gallery.technet.microsoft.com/ScriptCenter/fd39c7d4-05bb-4c2d-8a99-f92ca8d08218/”,(access:2017.8.17)

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny