Chinaunix首页 | 论坛 | 博客
  • 博客访问: 537354
  • 博文数量: 105
  • 博客积分: 6010
  • 博客等级: 准将
  • 技术积分: 1132
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 09:57
文章分类

全部博文(105)

文章存档

2011年(1)

2009年(41)

2008年(63)

我的朋友

分类: LINUX

2009-02-06 11:37:52

查看了相关的资料,发现趋势杀毒软件服务器版for linux的版本内核支持中没有redflag的核心,但是有一个很好的地方就是支持redhat的。因此我们可以通过这点来判断趋势的杀毒软件一定能够在redflag上面跑起来,除非有特殊的制定,不然是没什么问题。

 

首先,先安装好AX3.0 OS,把趋势杀毒软件cp到指定目录下面。

其次,解压趋势杀毒软件,由于从趋势的官方网站上面下载的是一个tar包――是3.0 for linux的版本,用tar xvzf 来解压

[root@ora 趋势]#tar xvzf splx_3.0.tgz

SProtectLinux-3.0/
SProtectLinux-3.0/GettingStartedGuide.pdf
SProtectLinux-3.0/AdminGuide.pdf
SProtectLinux-3.0/README
SProtectLinux-3.0/MD5SUM
SProtectLinux-3.0/SProtectLinux-3.0.bin

 

其次,进入解压后的目录,执行bin文件,来安装

[root@ora 趋势]#cd SProtectLinux-3.0
[root@ora SProtectLinux-3.0]# ls
AdminGuide.pdf  GettingStartedGuide.pdf  MD5SUM  README  SProtectLinux-3.0.bin

 

安装过程:
[root@ora SProtectLinux-3.0]# ./SProtectLinux-3.0.bin

Do you agree to the above license terms? (yes or no)
                                                      
yes
Installing ServerProtect for Linux:
Unpacking...
Installing rpm file...
Preparing...                ########################################### [100%]
   1:SProtectLinux          ########################################### [100%]
Do you wish to connect this SPLX server to Trend Micro Control Manager? (y/n) [y]       
SPLX will now collect information in order to complete the Control Manager settings.
Please follow the instructions and enter the required information.
[Note: If the Control Manager Web server requires authentication, you need to set the login information using the "CMconfig -P" command.]
******NETWORK******
===========================================================
List of available IP(s):
eth0            192.168.228.237
===========================================================
SPLX server name or IP address: 192.168.228.237
Do you wish to connect to Control Manager server using HTTPS? (y/n) [n]
n
Control Manager server name or IP address: 192.168.228.237
Control Manager server port [80]:
80
Do you access Control Manager through a proxy server? (y/n) [n]           
Do you access Control Manager through a proxy server? (y/n) [n]
n
*******PRODUCT******
Please specify the name you would like to display on the Control Manager console [SPLX server name or IP address]: 192.168.228.237
Please specify a folder name for this product (for example: /SPLX) [New entity]:
New entity

**************************************************
Control Manager network/product information entered
Control Manager server name or IP: 192.168.228.237
Control Manager port: 80
Connect using HTTPS: no
Display Name on Control Manager: 192.168.228.237
Installation folder: New entity
**************************************************
Is the above information correct? (y/n) [n]
Is the above information correct? (y/n) [n] y
Saving information to the configuration file...done.

Activate ServerProtect to continue scanning and security updates.
Activation is a two-step process that you can complete during or after installation.

Step 1. Register
Use the Registration Key that came with your product to register online
().
(Please skip this step if the product is already registered.)

Step 2. Activate
Type the Activation Code received after registration to activate ServerProtect.
(Press [Ctrl+D] to abort activation.)

Activation Code:                    

World Virus Tracking Program

Trend Micro consolidates virus-scanning results from worldwide customers,
compiles real-time statistics, and displays them on the Virus Map
(). Use this map to view virus trends for
each continent and selected countries.

  Yes, I would like to join the World Virus Tracking Program.
       I understand that when a virus is detected on my system, aggregated
       detection information, including virus names and number of detections,
       will be sent to the World Virus Tracking Program. It will not send out
       company names, individual names, machine names, site names, IP addresses,
       or any other identifying information. I understand that I can disable
       this automatic reporting function at any time by changing the
       configuration to "No" within the product's management console.

  No,  I don't want to participate.


Please input your choice [Yes] :                       

输入yes后回车,

Starting services...
Starting ServerProtect for Linux:
Checking configuration file:                               [  OK  ]
Starting splxcore:
Starting Entity:                                           [  OK  ]
Loading splx kernel module:                                [FAILED]
Starting vsapiapp:                                         [FAILED]
ServerProtect for Linux core started.
                                                           [  OK  ]
Starting splxhttpd:
Starting splxhttpd:                                        [  OK  ]
ServerProtect for Linux httpd started.
                                                           [  OK  ]
ServerProtect for Linux started.

ServerProtect has not been activated.
You must activate your product to enable scanning and security updates.

ServerProtect for Linux installation completed.

可以看出是跟核心有关,需要编译一下或是修改核心来匹配趋势防火墙。

 

再次,安装后出现一个failed,如何去解决这个问题?之前提到过,趋势已经跟redhat做了认证关系,而且核心上也支持redhat,这样子redflag的核心应该也没什么问题。查看了README之后,发现原来不是有没有做认证的原因,可以通过make来操作。

[root@ora SProtectLinux-3.0]#cd /opt/TrendMicro/SProtectLinux/SPLX.module/src/module

[root@ora SProtectLinux-3.0]#vi README 

============
Installation
============

Please refer to the INSTALL file for details on building and installation.

Note: Before you start, make sure you have the configured Linux kernel source
      on your system. For Red Hat Enterprise Linux, install the kernel-devel
      package. For SUSE Linux Enterprise Server/Desktop, install the
      kernel-source and kernel-syms packages.

The following outlines the general build procedure:

# /etc/init.d/splx stop
# cd /opt/TrendMicro/SProtectLinux/SPLX.module/src/module
# make
# make test
# make install
# /etc/init.d/splx start
然后使用make来编译

[root@ora module]# make
Making module in bin

 

再make install

[root@ora module]# make install
Copying bin/splxmod-2.6.18-8.10AX.i686.o ... OK

建议先停止趋势杀毒软件,再执行上面的操作。

查看核心的情况:

[root@ora SPLX.module]# ll

-rw-r--r-- 1 root root 601096 02-06 10:45 splxmod-2.6.18-8.10AX.i686.o
-rw-r--r-- 1 root root  88844 02-06 10:39 splxmod-2.6.18-8.1.4.el5.i686.o
-rw-r--r-- 1 root root  88860 02-06 10:39 splxmod-2.6.18-8.1.4.el5PAE.i686.o
-rw-r--r-- 1 root root 205696 02-06 10:39 splxmod-2.6.18-8.1.4.el5.x86_64.o
-rw-r--r-- 1 root root  88860 02-06 10:39 splxmod-2.6.18-8.1.4.el5xen.i686.o
-rw-r--r-- 1 root root 205696 02-06 10:39 splxmod-2.6.18-8.1.4.el5xen.x86_64.o
-rw-r--r-- 1 root root  88844 02-06 10:39 splxmod-2.6.18-8.el5.i686.o
-rw-r--r-- 1 root root  88860 02-06 10:39 splxmod-2.6.18-8.el5PAE.i686.o
-rw-r--r-- 1 root root 205696 02-06 10:39 splxmod-2.6.18-8.el5.x86_64.o
-rw-r--r-- 1 root root  88860 02-06 10:39 splxmod-2.6.18-8.el5xen.i686.o
-rw-r--r-- 1 root root 205568 02-06 10:39 splxmod-2.6.18-8.el5xen.x86_64.o
lrwxrwxrwx 1 root root     70 02-06 10:46 splxmod.o -> /opt/TrendMicro/SProtectLinux/SPLX.module/splxmod-2.6.18-8.10AX.i686.o
-r-------- 1 root root 664563 2007-06-26 splxmod.tgz
drw-r--r-- 4 root root   4096 02-06 10:38 src

接着,修改连接,再重启SPLX服务,查看是否启动正常,如果正常那就成功了,弱不正常,那么需要修改内核为redhat的内核来做启动,相对比较麻烦。

 

上面的操作是成功解决问题的!!!

阅读(1968) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~