ntp

yum -y install ntpdate
/usr/sbin/ntpdate ntp1.aliyun.com
echo "*/5 * * * * /usr/sbin/ntpdate ntp1.aliyun.com" >> /etc/crontab
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Copyright © weiliang 2021 all right reserved,powered by Gitbook本书发布时间: 2024-04-22 16:03:42

results matching ""

    No results matching ""