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
如果没有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 socket 初步
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- Linux 下无损图片压缩小工具介绍