======================================================================
Restrict default nomodify notrap noquery
Restrict 127.0.0.1
Restrict 192.168.0.0 mask 255.255.0.0 nomodify
Server 0.pool.ntp.org
Server 1.pool.ntp.org
Server 2.pool.ntp.org
Server 127.127.1.0 # Local clock
Fudge 127.127.1.0 stratum #调整为8 that will use local time as an NTP service for NTP
Ntp server in Linux 1. what is ntp? NetworkTimeProtocol (Network Time Protocol) is a protocol used to synchronize the computer's time. it can synchronize the computer's server or clock source, it provides high-precision time correction. 2. Introduction to the ntp configuration file 1. main configuration files of/etc/
Multiple CentOS7 computers use NTP for Time Synchronization1. NTP Clock Synchronization Methods
NTP has two clock synchronization modes in linux: Direct synchronization and smooth synchronization:Direct SynchronizationUse the ntpdate command to synchronize and directly chang
Preface a time error occurred on a self-managed Ubuntu server, which caused a problem in the display time of mail sending, here, we will take the time to record the process of building an ntp server. The Network Time Protocol (NetworkTimeProcotol) aims to transmit unified and standard time on the Internet. The specific implementation scheme is to specify several clock source websites on the network to provi
Experiment environment for configuring NTP server under RHEL6: [root@www.linuxidc.com ~] # Cat/etc/RedHat-releaseRedHatEnterpriseLinuxServerrelease6.0 (Santiago) [root@www.linuxidc.com ~] # Uname-r2.6.32-71.el6.x86_64 I. Principle of NTP service 1. Principle N
NTP server configuration in RHEL6
Lab environment:Root@www.linuxidc.com ~ # Cat/etc/RedHat-releaseRed Ha
ObjectiveIn the world of computers, time synchronization is extremely important for co-ordination between computers, and it takes time to synchronize our high availability clusters, load balancing, DNS services, and so on. NTP (Network time Protocol) is a protocol 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 ac
Http://blog.sina.com.cn/s/blog_68f909c30100pli7.htmlReal-time Clock: RTC Clock, which provides real time information for years, months, days, hours, minutes, seconds, and weeks, powered by a back-up battery, and RTC still maintains the correct time and date when you shut down the system at night and open the system in the morning.System clock: Is a logical
I. Installing the NTP software1. Check if the NTP-related package is installed. Rpm-qa | grep ntp2. Install NTP software. Yum-y Install NTP
Two. Parameter explanation ignore: Turn off all NTP Online Services Nomodify: The client cannot change the time parameters on the
Use NTP for Time Synchronization in CentOS71. NTP Clock Synchronization Methods
NTP has two clock synchronization modes in linux: Direct synchronization and smooth synchronization:Direct SynchronizationUse the ntpdate command to synchronize and directly change the time. If
========================================================== ==============================================210.72.145.44. INIT. 16 u-64 0 0.000 0.000218.21.130.42. INIT. 16 u-64 0 0.000 0.000 0.000125.62.193.121. INIT. 16 u-64 0 0.000 0.000 0.00082.200.209.194. INIT. 16 u-64 0 0.000 0.000 0.000218.189.210.4. INIT. 16 u-64 0 0.000 0.000 0.000
Ntptrace # It can be used to track the time correspondence between a Time ServerNtpdate IP # The client must synchronize the
The/etc/linux ntp.conf system-config-date network Time Protocol (Linux NTP, web-hour protocol) is used to synchronize all of its client clock services. The Linux NTP server synchronizes the clock of the local system with a common Linux NTP server and then serves as a time ho
# manycast server
# Manycastclient 239.415254.254 autokey # manycast client
# Allow update time by the upper server
# Allow the upper-layer time server to actively modify the local time
Restrict 210.72.145.44 nomodify notrap noquery
Restrict 202.112.10.36 nomodify notrap noquery
Restrict 59.124.196.83 nomodify notrap noquery
# Undisciplined Local Clock. This is a fake driver intended for backup
# And when no outside source of synchronized time is ava
Linux ntp time server and client installation and configuration 1. Main file and command:/etc/ntp. conf server configuration file/etc/sysconfig/clock time zone configuration file/bin/date display and set the time command/sbin/hwclock for BIOS clock (hardware clock) the comma
Linux Time synchronization Server SetupNTP(Network Time Protocol) is used to make the computerTime Synchronizationudp protocol 123 The port provides services externally, it can make the computer to its server or clock source (such as quartz clock, gps and so on to do time synchronization, it can provide high accuracy time correction (lan is less than the standard difference between 1 milliseconds, wa
1. "The NTP socket is on use, exiting" error appears. The reason for this is that the system NTPD server is running and can be via PS aux | grep ntpd View, if you still want to manually synchronize time, you must first stop the service, the command is:service ntpd stop or/etc/init.d/ntpd stop2. Npdate time.windows.com or ntpdate us.pool.ntp.org will be able to synchronize time successfully. This article is from the Linux Technical Exchange blog, so b
start---- StopService ntpd stopOr/Etc/rc. d/init. d/ntpd stop---- Manage commandsNtpq-p # view the time synchronization result between the local server and the upper-layer serverNtptrace # It can be used to track the time correspondence between a Time ServerNtpdate IP # The client must synchronize the clock with the NTP server./Var/log/ntp. log # view
, you can use the network layer or the carrier to implement ACL protection.2. Use anti-DDoS devices for cleaning
The above solution is for me:1. disable the monlist function of the NTP service, and add the "disable monitor" option in the ntp. conf configuration file:Practice has proved that this method is very effective!
2. Disable UDP port 123 at the network Exit:Because many devices need to synchronize
NTP server configuration 1. NTP service Introduction NTP (network time Protocol) is a network Protocol used to synchronize computer clocks. It can synchronize time between computers and other servers or clock sources. The time server verifies the time in three ways with other time servers (1) Broadcast/Multicast this m
Over time, computer clock tends to drift. Network Time Protocol (NTP) is a way to ensure that your clock remains accurate. NTP is installed by default.
Use the following command to view
[Root @ wap etc] # rpm-qa | grep ntp
Ntp-4.2
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.