*此文章适用于64Bit版本CentOS 6.4, 其他尚未验证;
一、下载Mcafee Agent for Linux和VirusScan for Linux 1.9安装包
1.进入Mcafee产品下载页面(http://www.mcafee.com/cn/downloads/downloads.aspx),输入已经购买的许可号;单击“开始”。
2.进入“Mcafee endpoint protection suite”;(根据购买的许可不同出现不同的产品列表)
3.下载Mcafee VirusScan for Linux 1.9的软件包;
二、解压缩安装包和安装代理;
1.将下载的Mcafee VirusScan for Linux 1.9软件包copy到/mnt/share;(熟悉Linux的知道其实放在任意路径即可)
2.在Linux下进入/mnt/share目录依次执行一下两个命令来解压缩下载的文件包;
tar �Czxvf 下载的文件报名 tar -zxvf McAfeeVSEForLinux-1.9.0.<build number>-others.tar.gz
3.安装Mcafee Agent for Linux
rpm -ivh MFErt.i686.rpm #安装McAfee Runtime rpm -ivh MFEcma.i686.rpm 安装McAfee Agent
4.验证Mcafee Agent for Linux安装后能正常运行;
/etc/init.d/cma status
三、安装VirusScan For Linux 1.9(如果安装期间出错见文章第五点,安装VirusScan For Linux 1.9出错解决方法几例)
(1)执行以下语句进行安装;
bash McAfeeVSEForLinux-1.9.0.28822-installer
(2)验证安装是否成功;
/etc/init.d/nails status
四、卸载VirusScan For Linux 1.9和Mcafee Agent for Linux
rpm -e McAfeeVSEForLinux #卸载VirusScan For Linux 1.9 rpm -e MFEcma #卸载Mcafee Agent for Linux rpm -e MFErt #卸载Mcafee runtime
五、安装VirusScan For Linux 1.9出错解决方法几例;
1.出现“WARNING:McAfeeVSEForLinux web monitor cannot be installed as 32 bit PAM libraries are not present on your system.”错误,需要安装pam.i686包;
yum install pam #先升级现有64Bit的PAM yum install pam.i686 #再安装32Bit版的pam
2.安装过程中出现以下错误,并且安装后进程不运行;
McAfeeVSEForLinux-1.9.0.28822-installer: line 646: ed: command not found
McAfeeVSEForLinux-1.9.0.28822-installer: line 654: ed: command not found
McAfeeVSEForLinux-1.9.0.28822-installer: line 1377: ed: command not found
Would you like to start the McAfeeVSEForLinux services? [y]
nails.initd: Error while checking MD5 checksums (/opt/NAI/LinuxShield/etc/md5)
nails.initd: ./Linux-NAI-i686//opt/NAI/LinuxShield/apache/lib/libexpat.so.0.5.0: No such file or directory
nails.initd: ./Linux-NAI-i686//opt/NAI/LinuxShield/apache/lib/libapr-1.so.0.4.6: No such file or directory
nails.initd: ./Linux-NAI-i686//opt/NAI/LinuxShield/apache/lib/libaprutil-1.so.0.4.1: No such file or directory
……
nails.initd: ./Linux-NAI-i686//opt/NAI/LinuxShield/template/libexec/nails-mert: No such file or directory
nails.initd: 800 of 809 listed files could not be read
[root@szlnmp01_op share]# /etc/init.d/nails status
nailsdctl: daemon is not running
moncg: monitor gateway is not running
the McAfeeVSEForLinux Apache server does not appear to be running
(1)需要安装ed-0.2-39.el5_2包;(下载地址:http://pkgs.org/centos-5/centos-x86_64/ed-0.2-39.el5_2.x86_64.rpm.html)
(2)卸载VirusScan For Linux 1.9后重新安装;