mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
update 3.PVE系统调整.md.
Signed-off-by: 狐狸Nomad <9463297+callmer@user.noreply.gitee.com>
This commit is contained in:
+2
-2
@@ -48,7 +48,7 @@ Debian 系统常用 `systemd-timesyncd.service` 来同步时间,而 PVE 系统
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 编辑 chrony 配置文件
|
## 编辑 chrony 配置文件
|
||||||
sudo nano /etc/chrony/chrony.conf
|
nano /etc/chrony/chrony.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
在编辑器对话框中,将 `pool 2.debian.pool.ntp.org iburst` 这行内容 “注释” 掉,并添加国内的 NTP 服务器,参考如下内容:
|
在编辑器对话框中,将 `pool 2.debian.pool.ntp.org iburst` 这行内容 “注释” 掉,并添加国内的 NTP 服务器,参考如下内容:
|
||||||
@@ -68,7 +68,7 @@ pool ntp.aliyun.com iburst
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 重启 chrony 服务
|
## 重启 chrony 服务
|
||||||
sudo systemctl restart chrony.service
|
systemctl restart chrony.service
|
||||||
```
|
```
|
||||||
|
|
||||||
再检查系统 NTP 服务器是否被正确修改:
|
再检查系统 NTP 服务器是否被正确修改:
|
||||||
|
|||||||
Reference in New Issue
Block a user