syslog-ng
發表於 : 2012-05-14 10:52:35
適用於 RHEL 6 x86_64 且有安裝預設的GUI
http://forum.icst.org.tw/phpbb/viewtopic.php?t=348
http://swampcritter.drupalgardens.com/c ... -enabled-0
http://wiki.engardelinux.org/index.php/ ... _syslog-ng
yum install gcc
yum install glib2-devel
wget http://dl.fedoraproject.org/pub/epel/6/ ... x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/ ... x86_64.rpm
wget http://www.balabit.com/downloads/files? ... 3.5.tar.gz
rpm -Uvh eventlog-0.2.12-1.el6.x86_64.rpm
rpm -Uvh eventlog-devel-0.2.12-1.el6.x86_64.rpm
tar -zxvf syslog-ng_3.3.5.tar.gz
cd syslog-ng-3.3.5
sh configure
make
make install
chkconfig --level 2345 rsyslog off
cp contrib/init.d.RedHat-7.3 /etc/init.d/syslog-ng
chmod 755 /etc/init.d/syslog-ng
cd /etc/init.d/
chkconfig --level 2345 syslog-ng on
cp /opt/syslog-ng-3.3.5/syslog-ng/.deps /usr/local/sbin/
cp /opt/syslog-ng-3.3.5/syslog-ng/.libs /usr/local/sbin/
cd /bin
ln -s /usr/local/sbin/syslog-ng syslog-ng
/etc/init.d/syslog-ng start
http://forum.icst.org.tw/phpbb/viewtopic.php?t=348
http://swampcritter.drupalgardens.com/c ... -enabled-0
http://wiki.engardelinux.org/index.php/ ... _syslog-ng
yum install gcc
yum install glib2-devel
wget http://dl.fedoraproject.org/pub/epel/6/ ... x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/ ... x86_64.rpm
wget http://www.balabit.com/downloads/files? ... 3.5.tar.gz
rpm -Uvh eventlog-0.2.12-1.el6.x86_64.rpm
rpm -Uvh eventlog-devel-0.2.12-1.el6.x86_64.rpm
tar -zxvf syslog-ng_3.3.5.tar.gz
cd syslog-ng-3.3.5
sh configure
make
make install
chkconfig --level 2345 rsyslog off
cp contrib/init.d.RedHat-7.3 /etc/init.d/syslog-ng
chmod 755 /etc/init.d/syslog-ng
cd /etc/init.d/
chkconfig --level 2345 syslog-ng on
cp /opt/syslog-ng-3.3.5/syslog-ng/.deps /usr/local/sbin/
cp /opt/syslog-ng-3.3.5/syslog-ng/.libs /usr/local/sbin/
cd /bin
ln -s /usr/local/sbin/syslog-ng syslog-ng
/etc/init.d/syslog-ng start