update PVE系统调整.md.

This commit is contained in:
秋刀狐狸
2022-07-20 09:52:10 +00:00
committed by Gitee
parent 72f49b7a6b
commit dbf141cea5
+19 -1
View File
@@ -66,7 +66,7 @@ Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service →
执行完成后,再次通过前面的命令检查服务自启状态。
后续如果想查看 Fail2ban 有关 sshd 的执行状态,可使用如下命令:
后续如果想查看 `Fail2ban` 有关 `sshd` 的执行状态,可使用如下命令:
```bash
## 检查 sshd 的执行情况
@@ -85,3 +85,21 @@ Status for the jail: sshd
```
如果均为0,表示 PVE 系统没有 SSH 错误密码的尝试记录。
## 2.系统时区配置
如果在安装 PVE 系统时选错了时区,导致系统时间和北京时间不一致,可以使用以下命令修正:
```bash
## 修改系统时区
timedatectl set-timezone Asia/Shanghai
## 检查系统时间
date -R
## 参考输出
Wed, 20 Jul 2022 16:21:28 +0800
```
输出结果如果和北京时间一致,则代表修改正确。