CentOS

From Han Wiki
Revision as of 21:45, 2 April 2018 by Mhan (talk | contribs) (add headers)

Jump to navigation Jump to search

RHEL 7 Documentation

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