摘要: apt install ntp 开启ntp服务器步骤编辑配置文件sudo vim /etc/ntp.conf增加内容 restrict 0.0.0.0 mask 255.255.255.255 nomodify notrap作用:允许外网所有client(0.0.0.0代表任意IP,如果限制局域网那 阅读全文
posted @ 2023-06-30 11:28 谁主沉浮1226 阅读(243) 评论(0) 推荐(0) 编辑
摘要: cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 上面这个有问题,现在修改为这个: sudo timedatectl set-timez 阅读全文
posted @ 2023-06-30 09:44 谁主沉浮1226 阅读(9) 评论(0) 推荐(0) 编辑