linux时间不对怎么修改?
1、使用cp命令将/etc/localtime覆盖掉。
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime cp: overwrite ‘/etc/localtime’? y
查看:date
Fri May 10 15:06:17 CST 2019
2、使用软件进行时间同步
yum install ntpdate -y ntpdate -u 210.72.145.44 # 网络时间同步命令
210.72.145.44:中国国家授时中心的官方服务器。
推荐:linux教程
以上就是linux时间不对怎么修改?的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号