一、软件:
wget http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/syslog-ng-2.0.5.tar.gz
wget http://nchc.dl.sourceforge.net/sourceforge/php-syslog-ng/php-syslog-ng-2.9.1r10.tar.gz
wget http://www.mirrors.wiretapped.net/security/host-security/syslog-ng/libol/0.2/libol-0.2.24.tar.gz
wget http://ftp.uk.debian.org/debian/pool/main/e/eventlog/eventlog_0.2.5.orig.tar.gz
二、安装:
[quote]
tar -zxvf eventlog_0.2.5.orig.tar.gz
cd eventlog-0.2.5
./configure
make && make install
tar -zxvf libol-0.2.24.tar.gz
cd libol-0.2.24
./configure
make && make install
wget http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/syslog-ng-2.0.5.tar.gz
wget http://nchc.dl.sourceforge.net/sourceforge/php-syslog-ng/php-syslog-ng-2.9.1r10.tar.gz
wget http://www.mirrors.wiretapped.net/security/host-security/syslog-ng/libol/0.2/libol-0.2.24.tar.gz
wget http://ftp.uk.debian.org/debian/pool/main/e/eventlog/eventlog_0.2.5.orig.tar.gz
二、安装:
[quote]
tar -zxvf eventlog_0.2.5.orig.tar.gz
cd eventlog-0.2.5
./configure
make && make install
tar -zxvf libol-0.2.24.tar.gz
cd libol-0.2.24
./configure
make && make install
通过shell获取最新的网通、电信、铁通......最新IP段分部文件。
shell参考:http://www.chinaunix.net/jh/4/577601.html
修改/etc/named.conf
添加:include "/var/named/CNCGROUP";//网通IP段
vi /var/named/CNCGROUP
shell参考:http://www.chinaunix.net/jh/4/577601.html
修改/etc/named.conf
添加:include "/var/named/CNCGROUP";//网通IP段
vi /var/named/CNCGROUP