Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Configure A System To Use Time Services ====== **General Information** Managing time using different methods. ---- ===== Time Options ===== * ntpd => the default in RHEL 5/6 * chronyd => the default in RHEL 7 (ntpd can still be used instead) * Chronyd has faster time sync than ntpd and can recover from network connection problems faster. ---- ===== Chrony ===== Two new RHEL 7 tools: * chronyd - new red hat 7 time daemon (ntpd was previous daemon) * timedatectl - time and date settings information \\ View current detailed time information <code bash> timedatectl </code> \\ View available timezones <code bash> timedatectl list-timezones </code> \\ Set timezone <code bash> timedatectl set-timezone America/Chicago </code> \\ Set system clock to 12:30pm and 10 seconds: <code bash> timedatectl set-time 12:30:10 </code> \\ Enable the use of NTP for time <code bash> timedatectl set-ntp true </code> \\ NTP service config file (chronyd) * /etc/chrony.conf \\ NTP server entry examples in /etc/chrony.conf <code bash> server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst server 2.pool.ntp.org iburst server 3.pool.ntp.org iburst </code> * If you make any changes, chronyd service must be restarted \\ Check status of NTP service, Restart it <code bash> systemctl status chronyd systemctl restart chronyd </code> \\ View NTP sources <code bash> chronyc sources -v </code> ---- linux_wiki/configure_a_system_to_use_time_services.txt Last modified: 2019/05/25 23:50(external edit)