centos7 时间同步

yum -y install ntp

systemctl enable ntpd

systemctl start ntpd

ntpdate -u cn.pool.ntp.org

posted @ 2018-07-04 10:50  mingzhang  阅读(151)  评论(0编辑  收藏  举报