# ----- 设置时间同步+时区(上海) -----

rpm -qa ntp || yum -y install ntp
systemctl enable ntpd
timedatectl set-ntp true

timedatectl set-timezone Asia/Shanghai

 

相关文章:

  • 2021-12-21
  • 2021-04-24
  • 2021-07-25
  • 2021-09-15
  • 2022-02-12
  • 2021-08-10
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-01-22
  • 2021-07-01
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案