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


已发布

分类

来自

标签:

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注