CentOS
NTP
Description | Command |
---|---|
Install byobu | $ yum -y install epel-release
$ yum -y install byobu |
Enable byobu | $ byobu-enable
|
Enable NTP | $ yum install -y ntp
$ systemctl enable ntpd $ systemctl start ntpd |
Synchronize with NTP server | $ systemctl stop ntpd
$ ntpdate pool.ntp.org $ systemctl start ntpd |
Check date & time and NTP status | $ timedatectl
|
SELinux
Description | Command |
---|---|
Install SETools and SETroubleshoot | $ yum install setroubleshoot setools
|
Analyze the audit log used by SELinux | $ sealert -a /var/log/audit/audit.log
|