centos7时间调整

查看时区是否正确,命令date -R

不正确先调整时区,命令tzselect

安装ntp,命令yum install ntp

同步时间,命令ntpdate cn.pool.ntp.org

 

设置自动同步时间,参考:https://www.cnblogs.com/chenmh/p/5485829.html

(完)

posted @ 2019-08-31 14:16  lishidefengchen  阅读(2408)  评论(0编辑  收藏  举报