LINUX时间同步

来源:互联网 发布:js获取class 编辑:程序博客网 时间:2024/06/05 14:15

1.  安装ntpdate工具

# sudo apt-get install ntpdate

2.  设置系统时间与网络时间同步

# ntpdate cn.pool.ntp.org

3.  将系统时间写入硬件时间# hwclock --systohc


0 0
原创粉丝点击