centos7 时间同步

yum -y install ntp

systemctl enable ntpd

systemctl start ntpd

ntpdate -u cn.pool.ntp.org

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