Alibabacloud.com offers a wide variety of articles about how to configure ntp server in linux, easily find your how to configure ntp server in linux information here online.
============================================================================== news.neu.edu.cn. Init. u-64 0 0.000 0.000 0.000 x202.118.1.130 202.118.1.47 2 U 7 64 377 153.659 9.605 19.941 *time4.aliyun.co 10.137.38.86 2 U 10 64 377 39.666-47.661 15.944
Remote-the IP or hostname of the native and upper NTP, "+" is preferred, "*" indicates a secondary priority refID-refer to the previous level of NTP
Network Time Protocol (NTP) is a standard Internet protocol used for time synchronization on the Internet. NTP is used to synchronize computer time to certain time standards. The current time standard is Universal Time coordinated ). The primary developer of NTP is Professor David L. Mills from the University of Delaware.
What is the use of
communication process is as follows:
1. First, the host needs to start the NTP service.
2. The client sends a message to the NTP server to adjust the time.
3. The NTP server then sends the current standard time to the client
4. After the client receives the time from the
a time server (RedHat9.0 is used as an example)
Step 1: Check whether the ntp software package is installed. Enter "rpm-qa | grep ntp" and the "ntp-4.1.2-0.rc1" should be displayed if it is already installed ".
Step 2: install ntp software, download the rpm package from the
One, build time synchronization server 1, compile and install NTP server RPM- QA | grep NTP If not found, the NTP package is not installed, the NTP package is found on the CD, and the RPM-UVH
Simple ntp server configuration-Linux Enterprise Application-Linux server application information. For details, refer to the following section. About Time Service
Network Time Protocol (NTP, Network Time Protocol) is used to synchronize all of its client clock services. The NTP
============ ==================================================================news.neu.edu.cn. init. u- 64 0 0.000 0.000 0.000x202.118.1.130 202.118.1.47 2 u 7 64 377 153.659 9.605 19.941 *time4.aliyun.co 10.137.38.86 2 u 10 64 377 39.666 nbsp -47.661 15.944
Remote-the IP or hostname of the native and upper NTP, "+" is preferred, "*" indicates secondary priority REFID-refer to the previous level of NTP
server#manycastclient 239.255.254.254 autokey # manycast client# Enable public k EY cryptography. #cryptoincludefile/etc/ntp/crypto/pw# key file containing the keys and key identifiers used when Operatin g# with symmetric key cryptography. keys/etc/ntp/keys# Specify the key identifiers which is trusted. #trustedkey 4 8 42# Specify the key identifier to use WI Th
Timeserver 218.75.4.130 offset-0.111105 sec
3. Configure NTP server
In fact, at this time we use/USR/SBIN/NTPD start to provide the client with a time update service. However, this is not enough to meet the security needs of the enterprise. The following is an explanation of NTP's main configuration file settings.
1) Resolution of the
the normal synchronization to the NTP Serveruse a different computer (need to install ntpdate) , perform ntpdate NTP Server AddressEg:ntpdate 192.168.1.94If you have a similar output like this:17:33:39 ntpdate[29134]: Step time server 192.168.1.94 offset 3.174187 secIndicates a successful synchronization.Fifth step,
not need to install, the hint to do, not bird heBefore you edit the NTP profile, configure the file, first do a pre-work1, to find out a more reliable public network server NTP, can not be full street, casually grabbed2, we can go to the international standard NTP platform,
Configure NTP Automatic Update timeInstalling the Ntpdate Program
shell># yum–y Install Ntpdate
Use Crontab to set the system to synchronize time with the NTP server 0:00 per dayshell># crontab–e
0 0 * * * ntpdate your_ntp_server_domain_name or YOUR_NTP_SERVER_IP_ADDR
When the server is more, time is accurate or not, the same is a big problem. Although this problem is always overlooked, it is necessary to unify the time. Here's how to configure a Linux time server within a LAN.Configuration of the environment and requirements:Assume that in the 192.168.0.0 network segment, a Linux machine time
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 othe
Linux Build local time serverPre-Experiment Description:Lab Machine: VMware 10Experimental system: CentOS6.6Experimental purpose: To make all CentOS systems on VMware the same time, convenient to do cluster experiment;#1, compile and install NTP (on the machine you want to do time server) I this machine IP: 172.16.249.135# Install the GCC compilerYum Install Gcc-y# Download Packageswget http://www.eecis.ude
BackgroundWhen the server is more, time is accurate or not, the same is a big problem. Although this problem is always overlooked, it is necessary to unify the time. Here's how to configure a Linux time server within a LAN.Configuration of the environment and requirements:1. Assume that a Linux machine time server with
The server is very time-critical, the generation of Linux server files, logs, and database connections are based on the logic of timeTask processing, if the time is not synchronized, then, the processing of the task, and the analysis of the problem log, the time is wrong, difficult to analyzeDirectly change the Linux server time, the impact is particularly large,
document configuring Windows Time service to using an internal hardware clock, I configured the Windows 2012 physical machine to be an NTP server that uses an internal hardware clock. Note that Microsoft's article how to configure authoritative time servers in Windows server is not work. Follow the steps in VMware KB
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.