linux解决时间同步的问题及更新headers

690 apt-get install linux-headers-$( uname -r )
691 shutdown -h now

671 vi /etc/default/rcs
672 timedatectl set-local-rtc 1
673 hwclock --localtime --systohc
674 timedatectl set-local-rtc 1 --adjust-system-clock

679 ntpdate time.windows.com
680 timedatectl set-local-rtc 1 --adjust-system-clock

apt install ntpdate
663 ntpdate time.windows.com
664 timedatectl set-local-rtc 1
665 timedatectl set-timezone
666 timedatectl set-timezone Asia/Shanghai
667 hwclock --localtime --systohc
668 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

版权声明:
作者:yxbinghe
链接:https://www.zhanhao.ch/?p=518
来源:ice.99
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>