Professional Documents
Culture Documents
Lesson 8 - Administering The System - Part 2
Lesson 8 - Administering The System - Part 2
Lesson 8 - Administering The System - Part 2
o 107.1 Manage user and group accounts and related system files
(weight: 5)
o 108.2 System logging (weight: 4)
o 108.1 Maintain system time (weight: 3)
o 108.3 Mail Transfer Agent (MTA) basics (weight: 3)
UDP/514
UDP/514
PRI = facility value*8 + serverity value HEADER = Timestamp + Hostname/IP MSG = process name + PID + MsgID + Content
sysklogd
syslogd-ng
rsyslog
Systemd-journald
/etc/rsyslogd.conf Ubuntu
facility.serverity action
CentOS
/etc/rsyslogd.conf
facility.serverity TCP|UDP[(z#)]HOST:[PORT#]
logger [-isd] [-f file] [-p priority] [-t tag] [-u socket] [message]
/etc/systemd/journald
--disk-usage Show total disk usage of all -D --directory=PATH Show journal files
journal files from directory
--vacuum-size=BYTES Reduce disk usage below --file=PATH Show journal file
specified size
--vacuum-time=TIME Remove journal files older
than specified time