mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
更新截图
This commit is contained in:
+8
-13
@@ -52,12 +52,6 @@ $ sudo systemctl restart ssh.service
|
||||
|
||||
### 1.2.配置软件源
|
||||
|
||||
使用终端工具登录 TS 服务器,常用终端工具请参阅 [01.PVE系统安装](./01.PVE系统安装.md) 。
|
||||
|
||||
首先需要对 Debian 系统软件源进行修改,这里使用 [USTC](https://mirrors.ustc.edu.cn) 镜像站作为演示。
|
||||
|
||||
当系统版本发生变化时,请参考 USTC 镜像站的官方说明 [USTC Mirror Help - Debian](https://mirrors.ustc.edu.cn/help/debian.html) 。
|
||||
|
||||
使用如下命令对 `debian.sources` 配置文件进行修改。
|
||||
|
||||
```bash
|
||||
@@ -125,7 +119,7 @@ $ sudo apt full-upgrade
|
||||
$ sudo apt install qemu-guest-agent btop curl tmux logrotate cron neovim zsh git
|
||||
|
||||
## 安装系统自动更新工具
|
||||
$ sudo apt install unattended-upgrades powermgmt-base python3-gi
|
||||
$ sudo apt install unattended-upgrades powermgmt-base
|
||||
|
||||
## 安装网络工具
|
||||
$ sudo apt install dnsmasq conntrack nftables sshguard lsof knot-dnsutils
|
||||
@@ -172,14 +166,15 @@ Debian 系统默认编辑器为 `nano` ,推荐将默认编辑器更换为 `neo
|
||||
$ sudo update-alternatives --config editor
|
||||
|
||||
#### 系统默认编辑器示例输出
|
||||
There are 3 choices for the alternative editor (providing /usr/bin/editor).
|
||||
There are 4 choices for the alternative editor (providing /usr/bin/editor).
|
||||
|
||||
Selection Path Priority Status
|
||||
Selection Path Priority Status
|
||||
------------------------------------------------------------
|
||||
* 0 /bin/nano 40 auto mode
|
||||
1 /bin/nano 40 manual mode
|
||||
2 /usr/bin/nvim 30 manual mode
|
||||
3 /usr/bin/vim.tiny 15 manual mode
|
||||
* 0 /bin/nano 40 auto mode
|
||||
1 /bin/nano 40 manual mode
|
||||
2 /usr/bin/nvim 30 manual mode
|
||||
3 /usr/bin/vim.basic 30 manual mode
|
||||
4 /usr/bin/vim.tiny 15 manual mode
|
||||
|
||||
Press <enter> to keep the current choice[*], or type selection number: 2
|
||||
update-alternatives: using /usr/bin/nvim to provide /usr/bin/editor (editor) in manual mode
|
||||
|
||||
Reference in New Issue
Block a user