KHMインストール2010/05/03 |
リアルタイムスキャン機能を使うためにカーネルフックモジュールをインストールします。
|
|
[1] | まずは必要なものをインストールします。 |
[root@rx7 ~]# yum -y install kernel-devel
|
[2] | KHMのインストールです。 |
[root@rx7 ~]# /etc/rc.d/init.d/splx stop # 一旦停止 Shutting down ServerProtect for Linux: Shutting down splxcore: Shutting down vsapiapp: OK ] Unloading splx kernel module: [ OK ] Shutting down entity: [ OK ] ServerProtect for Linux core stopped normally. [ OK ] Shutting down splxhttpd: [ OK ] ServerProtect for Linux httpd stopped normally. [ OK ] ServerProtect for Linux stopped normally. [root@rx7 ~]# cd /lib/modules/2.6.18-128.4.1.el5/build [root@rx7 build]# make menuconfig (1) 「Kernel Hacking」を選択して次へ
(2) 「Compile the kernel with debug info」のチェックをはずして(Nキー)終了
[root@rx7 build]# make modules_prepare HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/x86_64/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/genksyms/lex.o HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost [root@rx7 build]# cd /opt/TrendMicro/SProtectLinux/SPLX.module/src/module [root@rx7 module]# make [root@rx7 module]# make install Copying bin/splxmod-2.6.18-128.4.1.el5.x86_64.o ... OK [root@rx7 module]# /etc/rc.d/init.d/splx start Starting ServerProtect for Linux: Checking configuration file: [ OK ] Starting splxcore: Starting Entity: [ OK ] Loading splx kernel module: [ OK ] Starting vsapiapp: [ OK ] ServerProtect for Linux core started. [ OK ] Starting splxhttpd: Starting splxhttpd: [ OK ] ServerProtect for Linux httpd started. [ OK ] ServerProtect for Linux started. |
Sponsored Link |
|