Linux的时间同步

1.date 查看时间
2.yum -y install ntpdate 安装时间的命令
3.ntpdate us.pool.ntp.org
4.ls -sf /usr/share/zoneinfo/Asia/shanghai /etc/localtim
5.ntpdate us.pool.ntp.org
6.date 就可以啦

 

posted @ 2017-01-03 14:35  代玉龙博客  阅读(112)  评论(0编辑  收藏  举报