Build NTP time server NTP-(Network Protocol)

Source: Internet
Author: User

1th Chapter ntp1.1 NTP Introduction

NTP, Network Time Protocol, is a protocol that is used to synchronize the time of each computer in a network. Its purpose is to synchronize the computer clock to the World coordinated UTC, its accuracy in the LAN up to 0.1ms, in most places on the Internet its accuracy can reach 1-50ms.

1.2 NTP server-side deployment
1.2.1Environment Description Use System: CentOS7.4(CentOS6 with CentOS7 required) IP address: External network- NTP yum-y install NTP1.2.3Modify configuration file Vim/etc/ntp.conf #添加 Restrict172.16.1.0Mask255.255.255.0nomodify notrap Server ntp1.aliyun.com1.2.4start Systemctl start ntpd #启动 systemctl status ntpd #查看状态 [email protected]~]# Ntpstat #查看是否正常 Synchronised (synchronized) to NTP server ( at stratum3Time correct to within1230MS Polling server every -S
1.1 Client Use
1.3. 1 Test ntpdate    172.16. 1.62  -D  172.16.  1.621.3. 2  "*/5 * * * * */usr/sbin/ntpdate  &>/dev/null"  >>/var/spool/cron/root

Build NTP time server NTP-(Network Protocol)

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.