Linux Time Synchronization Service

Source: Internet
Author: User
Tags chrony

1. Synchronize network time to System time ntpdate command

[[Email protected] test1]# Date

Tue SEP 6 07:12:03 CST 2016

[Email protected] test1]# ntpdate

6 Sep 09:18:23 ntpdate[13047]: Step time server offset 7566.199829 sec

[[Email protected] test1]# Date

Tue SEP 6 09:18:25 CST 2016 (The official Time synchronization server IP domain name of China National Timing Center)

After synchronizing the network time to the system time, you can use HWCLOCK-W to synchronize the system time to hardware time.

2. Build your own Time synchronization server

Time Synchronization server settings:

Systemctl Stop Firewalld



Local stratum 10

Systemctl Restart Chrony

3. How to synchronize the system time automatically (synchronize server time)

Chronyc Sources-v See who is syncing with.

1. Determine the time source address (which time to synchronize)

2. Determine the time synchronization service used by the customer's host


3. Load the time source address in the Chronyd.service service


Server172.25.254.254 iburst

#systemctl Restart Chronyd.service

This article from the "Technology life, Simple not simple" blog, please be sure to keep this source

Linux Time Synchronization Service

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.