linux-NTP
查看当前时区
# timedatectl # timedatectl list-timezones # timedatectl set-timezone Asia/Shanghai
修改国内NTP服务器
]# vim /etc/chrony.conf
server ntp.aliyun.com
server ntp1.aliyun.com
]# ll /etc/localtime lrwxrwxrwx. 1 root root 35 Jan 22 20:01 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai
服务器常用信息:https://help.aliyun.com/document_detail/92704.html
配置Linux实例Chrony服务(CentOS 7):https://help.aliyun.com/document_detail/187016.html
本文来自博客园,作者:不会跳舞的胖子,转载请注明原文链接:https://www.cnblogs.com/rtnb/p/15832137.html

浙公网安备 33010602011771号