CONTACTUS
Live Chat
Chat now with us
Email Us
Send us an email, and we'll get back to you soon
Call Us
Reach out to us now

  Home > Knowledge Base >  服务器教程 >  RAKsmart:centos系统修改时区

RAKsmart:centos系统修改时区

2020-06-11

已修改为中国时区举例用date命令查看系统当前时间,发现和北京时间有一定的误差

已修改为中国时区举例

用date命令查看系统当前时间,发现和北京时间有一定的误差

RAKsmart

1.在系统连网的情况,修改时间最快的方法就是使用ntpdate命令自动同步网络服务器上的时间

RAKsmart

2.使用命令修改设置Linux服务器时区,命令 tzselect,选择5,回车

RAKsmart

选择9 所对应的中国,回车

RAKsmart

选择1北京时间,继续回车

RAKsmart

选择1,将时区定为Asia/Shanghai

RAKsmart

3.也可以直接用下面命令直接更换时区
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RAKsmart

Previous:

It's the first one

Next:

It's the last one

If you find 【RAKsmart:centos系统修改时区】 useful, please share it with your friends. Thank you!

Copy link