mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
更新文案描述
This commit is contained in:
+2
-5
@@ -32,11 +32,10 @@ Components: main contrib non-free-firmware
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
```
|
||||
|
||||
这里将使用 [中国科技大(USTC)](http://mirrors.ustc.edu.cn/help/proxmox.html) 的镜像仓库进行替换,使用如下命令。
|
||||
这里将使用 [中国科技大(USTC)](http://mirrors.ustc.edu.cn/help/proxmox.html) 的镜像仓库进行替换,执行以下命令。
|
||||
|
||||
```bash
|
||||
## 配置 PVE 系统默认软件源脚本
|
||||
|
||||
$ cat > /etc/apt/sources.list.d/debian.sources <<EOF
|
||||
Types: deb
|
||||
URIs: https://mirrors.ustc.edu.cn/debian
|
||||
@@ -62,7 +61,6 @@ EOF
|
||||
|
||||
```bash
|
||||
## 配置 PVE 系统免订阅软件源脚本
|
||||
|
||||
$ cat > /etc/apt/sources.list.d/pve-no-subscription.sources <<EOF
|
||||
Types: deb
|
||||
URIs: https://mirrors.ustc.edu.cn/proxmox/debian/pve
|
||||
@@ -80,7 +78,6 @@ EOF
|
||||
|
||||
```bash
|
||||
## 配置 PVE Ceph 免订阅软件源脚本
|
||||
|
||||
$ if [ -f /etc/apt/sources.list.d/ceph.sources ]; then
|
||||
CEPH_CODENAME=`ceph -v | grep ceph | awk '{print $(NF-1)}'`
|
||||
source /etc/os-release
|
||||
@@ -161,7 +158,7 @@ $ apt full-upgrade
|
||||
$ apt update
|
||||
|
||||
## 安装系统软件
|
||||
$ apt install btop lm-sensors curl tmux neovim unzip unattended-upgrades powermgmt-base sshguard knot-dnsutils
|
||||
$ apt install btop lm-sensors curl tmux neovim unattended-upgrades powermgmt-base sshguard knot-dnsutils
|
||||
|
||||
## 安装 CPU 调度调整工具
|
||||
$ apt install linux-cpupower
|
||||
|
||||
Reference in New Issue
Block a user