CentOS 时间同步
- 安装
yum install ntpdate - 配置时区
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime - 同步
ntpdate time.apple.com
本文详细介绍了如何在CentOS系统中进行时间同步。首先通过yum命令安装ntpdate工具,然后设置上海时区,最后使用ntpdate命令与苹果的时间服务器进行时间同步。
CentOS 时间同步
yum install ntpdateln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate time.apple.com
526
1253
425

被折叠的 条评论
为什么被折叠?