When there are multiple Web Servers, and the time of each server needs to be consistent, then you can consider using the NTP service.
1. First use ntpstat to check the current status of the NTP service. #ntpstat If the following content is output, it means that it has not been started yet. You need to set the NTP service to start when the server is restarted: Unable to talk to NTP daemon. Is it running? If the output below is already working: synchronised to NTP server (198.55. 111.5) at stratum 3time correct to within 238 mspolling server every 64 s If the output: unsynchronised, you need to restart (ntpd restart) to synchronize.
2.Use ntpq -p to view NTP server list
#ntpq -premote refid st t when poll reach delay offset jitter=============== =========================================================== ======== .sjtu.edu.cn .STEP. 16 u - 64 0 0.000 0.000 0.000
3. Manual synchronization time #ntpdate If the following content is output, the ntp service has been started, causing the manual synchronization time to fail. You need to stop ntp first. Service: the NTP socket is in use. exiting#service ntpd stop#ntpdate cn.pool.ntp.org If the following content is output, the manual synchronization time is successful: adjust time server xxx Finally remember to start the ntp service and let him update automatically.
4.Start NTP service#service ntpd startStarting ntpd: [ OK ] Enable NTP to start at boot time with the chkconfig command.
5.Enable NTP self-start #chkconfig ntpd onVerify that NTP Is enabled with the following command.
6. Check NTP self-starting condition #chkconfig --list ntpdntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:offHere ntpd is on In runlevels 2, 3, 4, and 5, which is correct.
Because the installation of debian uses a minimal installation, the default installation in Chinese,
In the era of Internet, the high availability of the network has always been a very critical part, n
The configuration steps of Telnet service are as follows: First, install telnet package (usually tw
Its still a process of generating vmlinux from the compiled link. It is made up of a bunch of .o fi
Linux environment variables (a)
USB image acquisition driver installation under Linux operating system
Linux shell array creation and use skills
Linux administrators must not know the top ten PHP security points
Getting Started with AT&T Syntax under Linux (GNU as Assembly Syntax)
Linux to view a port usage and kill
11 Linux terminal commands let you use it even better
Steam host will enable Linux system
Xshell configuration file backup tutorial
Linux system how to configure rdate time server
What if NBA2k13 lacks rld.dll? NBA2k13 start error reporting Fatal Error solution
XP system startup speed optimization (1)
Win10 sound suddenly big and small how to do Win10 sound suddenly big and small solution
Windows 10 system natively supports mkv format video playback
Computer-installed software recommended
How does Win10 9879 solve the steam crash problem?
Small note IptabLes and IptabLex virus cleanup process