修改LINUX时区和同步时间

查看时区:date -R

修改整个系统时区:

rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

网络时间同步:ntpdate -u ntp.api.bz

NTP服务器(上海) :ntp.api.bz







猜你喜欢

转载自blog.csdn.net/suhiymof/article/details/78782279