1. syslog-ng的安装地址
https://github.com/balabit/syslog-ng/releases
下载最新版本。
2. 安装gnomeui开发包,因为syslog-ng依赖glib这个库在该开发包中,安装指令:
sudo yum install libgnomeui-devel
3. 切换到syslog-ng的解压目录
./configure
make
make install
附:
yum install glib2-devel -y
yum install libesmtp-devel -y