1分钟
远程接收端
开启514端口
#$ModLoad imudp ==> 去掉注释
#$UDPServerRun 514 ==> 去掉注释
# Save boot messages also to boot.log
local2.* /var/log/local2.log #添加此行
重启日志服务
systemctl restart rsyslog
查看514端口是否已开启
ss -untl
开启514端口
#$ModLoad imudp ==> 去掉注释
#$UDPServerRun 514 ==> 去掉注释
# Save boot messages also to boot.log
local2.* /var/log/local2.log #添加此行
重启日志服务
systemctl restart rsyslog
查看514端口是否已开启
ss -untl
Copyright © 2013-2025 Tencent Cloud.All Rights Reserved. 腾讯云 版权所有
学员评价