1. Determine that two hosts are in the same network segment and can ping each other. (Change the server type to NTP.) To do this, follow these steps: A. Click Start, click Run, type regedit, and then click OK.
B. Locate and click the following registry subkey:
Hkey_local_machinesystemcurrentcontrolsetservicesw32timeparameterstype
C. In the right pane, right-click Type, and then click Modify.
D. Type NTP
Reprint Address: HTTP://HI.BAIDU.COM/MESSUP/ITEM/4FCB2533A1553020B2C0C5F2
Because just contact Linux, so many places do not understand. At first, there was a problem-time synchronization.
So the internet search for a relevant article, and finally sorted out the idea of synchronization success, take out to share.
= = This row is the following text:
First of all, need to have a win system machine to do NTP
// Effect: Send NTP packet and get the NTP packet, make the time OK// 2014.7.31 is OK//# Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include
///////////////// Something for the NTP control; do by ZHB /////////////
One. Time Synchronization serverYou can use the database server as a synchronization serverNtp.conf remains unchangedStart the serviceService NTPD StartSet NTPD service self-bootChkconfig ntpd onCheckChkconfig--list ntpdTwo. Client Configuration1. Modify the server configuration entry for the ntp.conf.Comment out any pre-defined server-time-synchronization servers
Configure NTP time synchronization on Linux with a break operation step, sorted as follows:
1. Install packages (on server and client):
The code is as follows
Copy Code
Yum Install NTP
2. Server-side configurationFor example:First, the server IP address is set to: 192.168.146.110
Modifying the
Network Time Protocol (NTP) is a network protocol used for Packet Exchange to synchronize the clock of two computers. NTP uses UDP port 123 as the transport layer. It is used to offset the impact of variable latency.
NTP is one of the oldest network protocols in use (started before January 1, 1985 ).
the command line; Export TZ can be. When the date view time, the system is to find the TZ environment variable, TZ is not set to take the search for/etc/localtime file, so the TZ environment variable settings will overwrite the /etc/localtime file information, but the environment variable settings at the next logon is not valid, To be permanently valid, you can write commands to the/etc/profile file. Time
Current network of the host, the business side sent to have an unsynchronized. Before also encountered similar problems, generally are NTP dead, resulting in the time is not synchronized. This view NTP service is operating properly.
Www.111cn.net: ~ #:~ # RCNTP StatusChecking for Network Time Protocol Daemon (NTPD): R
Configuration on node 1:More/etc/NTP. conf
Restrict default ignore
Restrict 192.168.0.0 mask 255.255.255.0 notrap nomodify
Server 162.105.129.27 # time server on the Internet
Server 127.127.1.0 # local clock
Fudge 127.127.1.0 stratum 10
Driftfile/var/lib/NTP/drift
Broadcastdelay 0.008
Keys/etc/NTP/keys
Confi
Streaming Server to see how people did it, grabbed the package, found several RTCP points, and drew a number axis, the packet capture tool Wireshark will display the NTP time (for example,), so I used to calculate it, and finally calculated that the unit is about 232 picoseconds. I substituted this value into my source code, sure enough.
Although the problem has been solved, there has been a knot in my
The client first installs NTP Yum install ntpshell> ntpdate 95.222.122.210 shell> ntpdate 202.112.10.60 shell> ntpdate 192.93.2.20 Note: When the client Synchronizes time, the following error occurs: No server suitable for synchronization found. Cause: After you restart the NTP service on the NTP server, it
This article describes in detail how to configure the NTP time synchronization server, and takes CISCO 7200 as an example. I hope this article will help you.
For the purpose of network management, we set up netflow to monitor traffic and obtain detailed access records for Intranet users to access the Internet. Such records can be accurate to seconds, the premise is that the
turn from: http://hi.baidu.com/uc100200/blog/item/cccef6b517b512de37d3ca02.html
a
, BackgroundThe machine is loaded with BusyBox, using the smallest set of Linux. The hardware clock is local time, the kernel clock is UTC time, no time zone is set, and there is no option for any time zone setting.
Second, demand
quickly build NTP time synchronization server under LinuxBackground:server more, time consistency and readiness is particularly important, although this problem is always ignored, but the unification of time is very necessary, because the time problem caused by service probl
--date= "06/18/14 14:55" (Month/day/year: minutes: seconds)The hardware clock is synchronized with the system clock:# Hwclock--hctosys or # clock--hctosys? HC represents the hardware time, SYS represents the system time, i.e. the system clock is synchronized with the hardware clocksystem clock and Hardware clock synchronization:# Hwclock--SYSTOHC or # clock--SYSTOHC? Synchronize the hardware clock with the
SYN2136 type Beidou NTP network time serverProduct OverviewSYN2136-type Beidou NTP network time server is designed by Xi ' an synchronous Electronic Technology Co., Ltd., self-developed and produced a time server based on the NTP/
Configuring NTP to set up the local time server NTP is a protocol used to keep the system and a precise time source at time. in Linux, we can use the Network Time Protocol to keep our system accurate. install: # Yum install
Time synchronization is important when the Linux service needs time-stamping. Here is a synchronization command that I used recently.ntpdateMy virtual machine is CentOS, install Ntpdateinstall ntpdateAnd thenSelect the NTP server in Shanghai Jiaotong University to synchronizentpdate ntp.sjtu.edu.cnCommonly used NTP add
About NTPNTP ( networktime Protocol UTC 0.1ms In most places on the Internet its accuracy can be achieved 1-50ms . NTP The server is using NTP the protocol provides time synchronization services. NTP Server InstallationView system comes with NTP[Email protected] ~]
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.