更新 PVE 制作虚拟机模板

This commit is contained in:
CallMeR
2023-06-26 21:58:03 +08:00
parent d3b67c178e
commit 88891aa1f5
+3 -6
View File
@@ -54,11 +54,8 @@ $ sudo systemctl restart ssh.service
Debian12 云镜像的软件源配置采用了 `DEB822` 格式,新版 `sources.list` 配置文件内容如下。 Debian12 云镜像的软件源配置采用了 `DEB822` 格式,新版 `sources.list` 配置文件内容如下。
```bash ```bash
## 进入系统源配置文件目录
$ cd /etc/apt/
## 查看镜像配置文件 ## 查看镜像配置文件
$ cat sources.list $ cat /etc/apt/sources.list
#### 配置文件示例输出 #### 配置文件示例输出
# See /etc/apt/sources.list.d/debian.sources # See /etc/apt/sources.list.d/debian.sources
@@ -435,10 +432,10 @@ $ sudo crontab -e
$ cd $ cd
## 使用 curl 安装 oh-my-zsh ## 使用 curl 安装 oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
## 或者使用 wget 安装 oh-my-zsh ## 或者使用 wget 安装 oh-my-zsh
$ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" $ sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
## 询问是否切换默认 shell,输入 Y ## 询问是否切换默认 shell,输入 Y