说明:系统整改时发现没有syslog-ng服务,需要整改
1、下载yum源
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2、安装服务
[root@localhost ~]# yum -y install syslog-ng [root@localhost ~]# systemctl status syslog-ng [root@localhost ~]# systemctl restart syslog-ng [root@localhost ~]# systemctl enable syslog-ng
标签:开启,ng,syslog,systemctl,yum,root,localhost From: https://www.cnblogs.com/wangzy-Zj/p/16778918.html