您的位置:首页 > 运维架构 > Linux

linux安装fprot扫描病毒

2016-04-25 14:50 513 查看
cd /
如果没有nfs8205,则

yum install -y nfs-utils mount -t nfs 172.28.8.205:/nfs205 /nfs8205/

mkdir nfs8205

mount -t nfs 172.31.8.205:/nfs8205 /nfs8205/

vi /etc/fstab
##开机自动挂载
172.28.8.205:/nfs205 /nfs8205 nfs defaults 0 0

172.31.8.205:/nfs8205 /nfs8205 nfs defaults 0 0

如果有nfs8205,没有fprot,则cd /
mkdir -m 777 fprot
cp /nfs8205/fprot/fp-Linux.x86.64-ws.tar.gz /fprot
cd /fprot

tar -xvzf fp-Linux.x86.64-ws.tar.gz

cd /fprot/f-prot
./install-f-prot.pl

y,enter,enter,ctrl+c,y,n

cp /nfs8025/fprot/antivir.def /fprot/f-prot

crontab -e

#杀毒软件定期复制
17 3 * * 1 cp /nfs8205/fprot/antivir.def /fprot/f-prot

检验一下
/fprot/f-prot/fpscan /fprot

更新服务器(172.28.15.210,172.31.8.197)到8205
##更新数据库并复制到共享盘
0 1 * * 1 /fprot/f-prot/fpupdate
0 1 * * 1 cp /fprot/f-prot/antivir.def /nfs8205/fprot
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux fprot