setting up centos 7 as a syslog server
yum -y install rsyslog
vi /etc/rsyslog.conf
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
systemctl restart rsyslog
netstat -antup | grep 514
firewall-cmd --permanent --add-port=514/tcp
firewall-cmd --reload
firewall-cmd --permanent --add-port=514/udp
firewall-cmd --reload
tail -f /var/log/messages
Also in Shell:
- git reset remote origin
- install cpanm
- delete file linux terminal
- setting up centos 7 as a syslog server
- how to see all branches in git
- foreach loop powershell
- how to kill tasks using grep
- start mariadb on linux terminal
- [mysqld] ubuntu 18
- docker alpine create user and group
- mv folder linux
- git tag checkout
- powershell foreach
- how to get mac cpu temp
- linux vim set tab to 4 spaces
- open pdf command line linux
- install jake
- git remove added file to commint
- cordova ios emulators
- pip install django-allauth
- git store credentials
- add-apt-repository
- git diff two commits one file
- conda install mmcv