mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新 PVE 制作虚拟机模板
This commit is contained in:
+3
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user