1.购买了VPS,CentOS系统,发现服务器时间与北京时间往往不一致,存在时差。

[clive@server workspace]$ date
2018年 05月 30日 星期三 02:02:47 UTC

1.可以执行tzselect命令按提示更换时区,依次选择5-Asia,9-China,1-Beijing Time。

Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
 1) Africa
 2) Americas
 3) Antarctica
 4) Arctic Ocean
 5) Asia
 6) Atlantic Ocean
 7) Australia
 8) Europe
 9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#"color: #ff0000">总结

以上所述是小编给大家介绍的修改CentOS服务器时间为北京时间,希望对大家有所帮助,如果大家有任何疑问欢迎给我留言,小编会及时回复大家的!

标签:
centos服务器

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
狼山资源网 Copyright www.pvsay.com

评论“如何修改CentOS服务器时间为北京时间”

暂无“如何修改CentOS服务器时间为北京时间”评论...