linux ntp服务
修改时区:
timedatectl set-timezone Asia/Shanghai
linux启动ntp服务

服务端修改参数:
vi /etc/chrony.conf

客户端指定服务端地址:vi /etc/chrony.conf

手动设置时间:
date -s "2023-11-15 14:30:00"
客户端检查与服务器时间同步情况:
chronyc sources -V
修改时区:
timedatectl set-timezone Asia/Shanghai
linux启动ntp服务

服务端修改参数:
vi /etc/chrony.conf

客户端指定服务端地址:vi /etc/chrony.conf

手动设置时间:
date -s "2023-11-15 14:30:00"
客户端检查与服务器时间同步情况:
chronyc sources -V