installing the NTP serviceYum-y Install NTP ntpdateTo modify a configuration file:Make a backup first:Cp/etc/ntp.conf/etc/ntp.conf.bakThen modify:Vi/etc/ntp.confWhat this file needs to be modified:Find the following two lines, this default is only allow native query, you can add these two lines # comment outRestrict 127.0.0.1Restrict-6:: 1Then add the following so that the meaning is to allow 1.0 network s
NTP server: Network time Protocol (NTP) is a protocol used to synchronize the timing of a computer, which allows the computer to synchronize its servers or clock sources (such as quartz clocks, GPS, etc.) It provides high-precision time correction (less than 1 milliseconds o
Windows is used for several years, and there is always a time to change the system time. However, it is easy to adjust the system time. It is not that easy to call up a correct one. A few years ago (when I was still in college, it was about a junior) I used C # To write an NTP
Program But when the
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
.
Regardless of the time that we want to sync the system through any channel, the provider will usually give only the utc+0 time value and not the time zone (because it doesn't know where you are). So when we set the system time, it's the first thing to do
# date
Thu Oct 11:22:45 EDT 2013
If the
One, SELinux configurationIn order for Cloudstack to work properly, we must set the SELinux to permissive. It needs to be available in the current system running state and after it has been started, with the following configuration.To set SELinux to permissive while the system is running, execute the following command:Setenforce 0Configure the/etc/selinux/config file according to the following Lezilai to ensure that the current SELinux status is permissive. As shown in this example# This file co
1. change the system time zone to the Shanghai time zone cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime2. write a script ntp. cron #! /Bin/bash/usr/sbin/ntpdatentp.fudan.edu.cn | logger-tNTP put the script in/etc/cron. daily...
1. change the system time zone to the Shanghai tim
Linux NTP Server ConfigurationThe first step, check whether the installation NTPRun the following command:Rpm-qa | grep NTPIf you have the following output:ntp-4******** indicates that an NTP server is installedIf not, install it.Step two, modify NTP the configuration fileV
1. Select a server as the time synchronization server.2. Run regedit to open Registry Editor.3. Locate the registry key hkey_local_machine\system\currentcontrolset\services\w32time\config\, and in the right window, change the value of AnnounceFlags to 5.4. Continue to locate the registry key Hkey_local_machine\system\currentcontrolset\services\w32time\timeprovide
Server-side:1. PackagingSlightly....2. Modify the NTP service configuration fileConfiguration file location:/etc/ntp.confWhat to modify:# Set the IP network segment to synchronize with the server time , the following is the 192.168.x.x machine can synchronize with the serverRestrict 192.168.0.0 mask 255.255.0.0# Set th
Basic configuration fileYou want to configure local time server server 127.127.1.0 must write this# --- GENERAL CONFIGURATION ---server aaa.bbb.ccc.dddserver 127.127.1.0fudge 127.127.1.010# Drift file.driftfile /etc/ntp/driftMy exampleRestrict 192.168.0.0 mask 255.255.25
Automatically synchronize the date and time of a linux host through network ntp
If you only need to synchronize data once, run the following command:
Rdate-s time.nist.gov
WhereTime.nist.govIs a time server, of course, you can also use another time
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
GMT/UTC/CST;/etc/localtime,/usr/share/zoneinfo/* time zone file,/etc/profile plus TZ variable;Hardware time RTC, system time; date,hwclock,tzselect;/usr/share/zoneinfo/asiaZdump Sichuan View the current time for each zone# Hwclock--set--date= "Mm/dd/yy hh:mm:ss" Set hardware time
NTP Server Setup1. determine that two hosts are in the same network segment and can ping each other 2. Click start , click run , type regedit, and then click " Determine " . 3. Locate and click the following registry subkey:Hkey_local_machine\system\currentcontrolset\services\w32time\parameters\type4. in the right pane, right-click the Type, and then click Modify . 5. " edit value " " numeric dat
The IP address of the NTP server that can be used in China, and the time deviation value of the Tailfeather server, the Tailfeather clock server live connection antenna, the antenna has been connected for more than 72 hours before testingTime-a.nist.gov 129.6.15.28 NIST, Gai
1. Go to the server, click: Windows+r pop-up run window---regedit---OKthen click OK.2. Expand: HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services, W32Time, Timeproviders, NtpServerOn the right side of the NtpServer key value enablied, the default of 0Instead, turn on the NTP server.3. Expand: HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services, W32Time,
1, domain-joined machines will synchronize with the domain time, the current exsi has not confirmed that only the Windows system effective2, remember the time zone of the system to be set in the East eight district3. Confirm that when ESXi is joined to a domain, the time is synchronized, as with domain control.4, in VCAC and IA configuration encountered
1. Modify the registry keyHkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserverEnabled is set to 1 (default 0)Hkey_local_machine\system\currentcontrolset\services\w32time\config\AnnounceFlags set to 5 (default 10)2. Disable the firewall or set exceptions for UDP 123 ports.3. Run services.msc to set the Windows Time service to Automatic (delayed start)Network devices (such as Cisco, H3C switches ...) ) cannot synchronize
[Admin@arch036088.sqa.cm4 logs] $ ntpq-P remote refID st t when poll reach delay offset jitter ============== ========================================================== ======================= * ntp103.cm4. tbsi 10.225.208.100 2 U 225 256 377 0.464 0.149 0.019 + ntp104.cm4. tbsi 10.228.209.150 2 U 163 256 377-0.459 0.234
The front + number indicates the server responding to this request
RefID superior NTP
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.