centos 简单时间同步

原创
2014/02/16 17:13
阅读数 117
// 安装ntpdate
yum install ntpdate

// 配置本地时区
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

// 同步时间
ntpdate us.pool.ntp.org



展开阅读全文
加载中

作者的其它热门文章

打赏
0
1 收藏
分享
打赏
1 评论
1 收藏
0
分享
返回顶部
顶部