vps时间同步
1.更改时间为上海时区:rm -rf /etc/localtimeln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2.NTP同步时间:apt-get updateapt-get install ntp ntpdate -y
3.更新时间:service ntpd stop #停止ntp服务ntpdate us.pool.ntp.org #同步ntp时间service ntpd start #启动ntp服务
评论已关闭