Linux Sync ntpd server time mode

Source: Internet
Author: User

Use Ubuntu14.04 to synchronize NTPD network time, first by referring to the following address

http://www.douban.com/note/171309770/

You can get a common NTPD address and directly synchronize the server time with the command:

[Email protected]:/home/alex# date-s "2015-01-01"
Thursday, January 01, 2015 00:00:00 CST
[Email protected]:/home/alex# Date
Thursday, January 01, 2015 00:00:01 CST
[Email protected]:/home/alex# ntpdate s1a.time.edu.cn
2 May 10:24:22 ntpdate[3246]: Step time server 202.112.10.60 offset 10491809.558505 sec
[Email protected]:/home/alex# Date
Saturday, May 02, 2015 10:25:05 CST
[Email protected]:/home/alex#

Get time to succeed!

Linux Sync ntpd server time mode

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: info-contact@alibabacloud.com 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.