更新 Proxmox Virtual Environment
parent
9740755321
commit
9731c675f0
@ -9,12 +9,36 @@ Proxmox Virtual Environment 提供了一个开源且功能强大的虚拟化平
|
|||||||
|
|
||||||
# 三、初始配置
|
# 三、初始配置
|
||||||
### 3.1 配置时间和时区
|
### 3.1 配置时间和时区
|
||||||
|
|
||||||
|
- 设置时区
|
||||||
|
|
||||||
```
|
```
|
||||||
timezonectl -set-timezone Asia/Shanghai
|
timezonectl -set-timezone Asia/Shanghai
|
||||||
|
```
|
||||||
|
|
||||||
#安装ntpsec
|
- 安装ntpsec,配置时钟同步
|
||||||
|
```
|
||||||
apt install ntpsec
|
apt install ntpsec
|
||||||
#编辑配置文件,注释默认服务器,添加中科院授时中心域名
|
# 添加中科院授时中心服务器:vim /etc/ntpsec/ntp.conf
|
||||||
vim /etc/ntpsec/ntp.conf
|
|
||||||
“server ntp.ntsc.ac.cn”
|
“server ntp.ntsc.ac.cn”
|
||||||
|
```
|
||||||
|
### 3.2 配置镜像源
|
||||||
|
|
||||||
|
- 删除默认企业订阅源、Ceph源
|
||||||
|
|
||||||
|
```
|
||||||
|
rm -rf /etc/apt/sources.list.d/pve-enterprise.list
|
||||||
|
rm -rf /etc/apt/sources.list.d/ceph.list
|
||||||
|
```
|
||||||
|
|
||||||
|
- 添加debian12镜像源和PVE非订阅源
|
||||||
|
```
|
||||||
|
#vim /etc/apt/sources.list
|
||||||
|
deb https://mirrors.ustc.edu.cn/debian bookworm main contrib
|
||||||
|
deb https://mirrors.ustc.edu.cn/debian bookworm-updates main contrib
|
||||||
|
# security updates
|
||||||
|
deb https://mirrors.ustc.edu.cn/debian-security bookworm-security main contrib
|
||||||
|
|
||||||
|
#vim /etc/apt/sources.list.d/pve-no-subscription.list
|
||||||
|
deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user