特牛网址导航

Linux CentOS7 同步时间的两种方式(npt 或者 rdate)_centos npt-CSDN博客

网友收藏
1. 设置时区# 查看当前时区[root@localhost ~]# timedatectl status|grep 'Time zone'# 设置系统时区为上海[root@localhost ~]# timedatectl set-timezone Asia/Shanghai# 设置硬件时钟调整为与本地时钟一致[root@localhost ~]# timedatectl set-local-rtc 1# 重启依赖于系统时间的服务[root@localhost ~]# system_centos npt
标签:centos npt