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
Linux NTPServer(time server)Date–s 22:12:30 # Set timeleap seconds 7 months 1 days : minutes at this time, to turn off the NTP service1.1.Software InstallationRequired software: installed by defaultYum Install Ntp-yntpdate-4.2.6p5-1.el6.centos.i686Fontpackages-filesystem-1.4
Install and configure the NTP server in CentOSIntroduction
See wikipedia: Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks.Refer to Baidu Encyclopedia: NTP is a Networ
Driftfile option, a file is specified to hold the system clock frequency deviation, which is used by the NTPD program to automatically compensate for the natural drift of the clock so that the clock remains fairly accurate even when the external source is cut off
Broadcastdelay 0.008
Logfile/var/log/ntp.log
Keys/etc/ntp/keys
Client settings:
Set by crontab timer, run once every 5 minutes
*/5 * * * */usr/local/wapsh/ntprsync.sh
[Root@appserver
Machine Networking:If the server can be networked: Perform ntpdate 1.cn.pool.ntp.org the server will automatically synchronize time write a scheduled task to perform a time synchronization every two minutes;Crontab-e/2 */usr/sbin/ntpdate 1.cn.pool.ntp.org//So that time sync
If the server's time is messed up, it can cause a lot of unexpected problems. Using NTP, you can make the server get the right time to avoid problems.
NTP is a network time protocol, meaning "Network
Simple hands-on operationThe machine's system time synchronization is very important, otherwise it may be a big deal.Realize:Yum-y Install NTPPut NTP services on each machineVim/etc/ntp.conf650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/88/A3/wKioL1f9_8vzFY2NAABeojcm_8w465.png "title=" 4.png " alt= "Wkiol1f9_8vzfy2naabeojcm_8w465.png"/>Use # to comment out the system default
NTP server ConstructionNTP is a time server that provides the Synchronization Update time of other computers, so that the time of each computer is the same, without any deviation due to the long running of the system. The client a
11grac Configuring the NTP server TIP01 IP:162.20.1.228NBSP;NBSP;NTP service-side TIP02 ip:162.20.1.229 Before the NTP client configures the NTP server, verify that the server is instal
On the basis of the Linux system after installation--based on CentOS (5.8/6.4)--we mentioned how to automatically update the server time at timed intervals. Also mentioned, when the number of intranet machines, if all go to the public network NTP server synchronization time
NTP Server: Network TimeprotocolBIOS the intrinsic characteristics of the internal chip can easily cause BIOS Time and UTC There are differences in global standard time. Time synchronization (Synchronize) is an effective way to avoid the
1, start--> run input gpedit.msc
2, Computer Configuration--> Management Template--> system-->windows Time service--> time provider--> Right click Configure window NTP client to select Properties. A, select Enabled B, and enter the time synchronization server's address in the NT
Build ntp service on centos Server1. Preparations before installation
View the time zone set above the system
[Root @ linux-node1 ~] # Cat/etc/sysconfig/clock ZONE = "Asia/Shanghai" Thought: how to modify the solution on a linux host: change the time zone vim/etc/sysconfig/clockZONE = "Asia/Shanghai" UTC = trueARC = false to overwrite the system
1.windows Server 2008 Standard servers do not have NTP.2. Some of the tutorials on the web are inaccurate and can be implemented below. The NTP server has been running for a long time and the problem does not occur.3. Information is collected online.The steps are as follows:
1. Confirm NTP Package: #yuminstallntp2, configure time source #vi/etc/ntp.conf serverpool.ntp.org #可选择其他优先服务器server 2.cn.pool.ntp.orgserver1.asia.pool.ntp.orgserver 2.asia.pool.ntp.org# allows the upper-level time server to proactively modify the native
The installation of the NTP server on centos 5.6 requires time synchronization between some services and multiple machines in the experiment. Therefore, the prerequisites for building NTP are as follows: 1. install the ntp service yum install
Protocol Package:
The main fields are interpreted as follows:
L LI (Leap indicator): The length is 2 bits, the value is "11" when the alarm state, the clock is not synchronized. NTP itself does not process for other values.
L VN (version number): 3 bits in length, the version of NTP, the current version is 3.
L Mode: Length is 3 bits, indicating the mode of operation of
Modify/etc/ntp. conf file content: add a line: serverasia. pool. ntp. orgprefer comment out this line: server127.127.1.0 start the ntp service: servicentpdstart modify the/etc/sysconfig/ntpd file, and change SYNC_HWCLOCKno to SYNC_H... modify/etc/ntp. conf file content:
Add a row:
Tags: 1.0 technical Pictures Add Firewall boot start ODA watch tarPre-configuration: Turn off the firewall, configure the HOSTS,SSH password-free login1. Select the standard for synchronization, I am using hadoop002 (set to the current time) as the synchronization standard, hadoop003 (Time is March 2018 21, set with Date-s) and hadoop004 (March 2018 21) with which to keep in syncSee if
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.