Linux system calibration time cp/etc/localtime. bakcp/usr/share/zoneinfo/Asia/Shanghai/etc/localtimentpdatepool. ntp. orghwclock -- systohc automatically obtains the network time and synchronizes the timed correction server through the ntp service... linux system calibration time cp/etc/localtime. bakcp/usr/share/zoneinfo/Asia/Shanghai/etc/localtimentpdate pool. ntp. orghwclock -- systohc uses the ntp service, automatically obtain the network time and synchronize the timed calibration server time # yum install-y ntp // install the ntp service # crontab-e // open the linux scheduled task 0 23 ***/usr/ sbi N/ntpdate 210.72.145.44 // add the preceding command to save the disk. #/Sbin/service crond reload // Configure your machine to automatically calibrate the time at every day based on the NTP server time of the China National Time service Center.
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.