Set up ntp time server and ntp Time Server

Source: Internet
Author: User

Set up ntp time server and ntp Time Server



Chapter 1 Introduction to ntp1.1 ntp

NTP(Network Time Protocol) is a Protocol used to synchronize Time between computers in the Network. Its purpose is to synchronize the computer clock to the Coordinated Universal Time UTC, and its accuracy can reach 0.1 ms in the LAN. In most places on the Internet, its accuracy can reach 1-50 ms.

1.2 ntp server deployment
1.2.1 Environment Description System: CentOS 7.4 (CentOS6 comes with CentOS7 to be installed) IP Address: Internet- intranet- install ntp yum-y install ntp1.2.3 modify the configuration file vim/etc/ntp. conf # Add restrict mask limit 255.0 nomodify notrap server ntp1.aliyun. com1.2.4 start systemctl start ntpd # start systemctl status ntpd # view status [root @ m02 ~] # Ntpstat # Check whether synchronised is normal (synchronous) to NTP server ( at stratum 3 time correct to within 1230 MS polling server every 64 s
1.1 client usage
1.3.1 test ntpdate ntpdate-d Add the scheduled task echo "*/5 *****/usr/sbin/ntpdate &>/dev/null">/var/spool /cron/root


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.