linux_wiki:configure_a_system_to_use_time_services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:configure_a_system_to_use_time_services [2016/02/29 21:51]
billdozor created
linux_wiki:configure_a_system_to_use_time_services [2018/03/18 22:08]
billdozor [Time Options]
Line 3: Line 3:
 **General Information** **General Information**
  
-About this page/how-to/script+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: Two new RHEL 7 tools:
Line 11: Line 21:
   * timedatectl - time and date settings information   * timedatectl - time and date settings information
  
 +\\
 View current detailed time information View current detailed time information
 <code bash> <code bash>
Line 16: Line 27:
 </code> </code>
  
 +\\
 View available timezones View available timezones
 <code bash> <code bash>
Line 21: Line 33:
 </code> </code>
  
 +\\
 Set timezone Set timezone
 <code bash> <code bash>
Line 26: Line 39:
 </code> </code>
  
 +\\
 Set system clock to 12:30pm and 10 seconds: Set system clock to 12:30pm and 10 seconds:
 <code bash> <code bash>
Line 31: Line 45:
 </code> </code>
  
 +\\
 Enable the use of NTP for time Enable the use of NTP for time
 <code bash> <code bash>
Line 36: Line 51:
 </code> </code>
  
 +\\
 NTP service config file (chronyd) NTP service config file (chronyd)
   * /etc/chrony.conf   * /etc/chrony.conf
  
 +\\
 NTP server entry examples in /etc/chrony.conf NTP server entry examples in /etc/chrony.conf
 <code bash> <code bash>
Line 48: Line 65:
   * If you make any changes, chronyd service must be restarted   * If you make any changes, chronyd service must be restarted
  
 +\\
 Check status of NTP service, Restart it Check status of NTP service, Restart it
 <code bash> <code bash>
Line 54: Line 72:
 </code> </code>
  
 +\\
 View NTP sources View NTP sources
 <code bash> <code bash>
  • linux_wiki/configure_a_system_to_use_time_services.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)