安装ntp服务分别vi /etc/ntp.conf里找到 server 开头的地址配置修改为 server 10.2.2.102 server 10.2.2.103保存#注释掉#pool 0.ubuntu.pool.ntp.org iburst 原本的时间同步 service ntprestart 重启时间服务 检查同步ntpq -p
esc 退出编辑模式, I 进入编辑模式
保存退出 esc :wq不保存退出 esc :q!