Archived
更新 PVE 制作虚拟机模板
This commit is contained in:
+3
-6
@@ -54,11 +54,8 @@ $ sudo systemctl restart ssh.service
|
||||
Debian12 云镜像的软件源配置采用了 `DEB822` 格式,新版 `sources.list` 配置文件内容如下。
|
||||
|
||||
```bash
|
||||
## 进入系统源配置文件目录
|
||||
$ cd /etc/apt/
|
||||
|
||||
## 查看镜像配置文件
|
||||
$ cat sources.list
|
||||
$ cat /etc/apt/sources.list
|
||||
|
||||
#### 配置文件示例输出
|
||||
# See /etc/apt/sources.list.d/debian.sources
|
||||
@@ -435,10 +432,10 @@ $ sudo crontab -e
|
||||
$ cd
|
||||
|
||||
## 使用 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
|
||||
$ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user