更新 PVE 系统调整

This commit is contained in:
CallMeR
2023-06-25 15:43:02 +08:00
parent 1bc34548c2
commit 79531b8431
+19
View File
@@ -503,6 +503,25 @@ find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/9/devices/0000:00:1c.6 /sys/kernel/iommu_groups/9/devices/0000:00:1c.6
``` ```
## 6.系统清理
PVE 系统配置完成后,可逐条执行以下命令,对系统进行清理。
```bash
## 清理系统软件包
apt clean && apt autoclean && apt autoremove --purge
## 清理系统缓存
rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
## 清理系统日志
find /var/log/ -type f | xargs rm -rvf
## 清理命令历史记录文件
rm -rvf ~/.bash_history
## 清理命令历史
history -c
```
至此 PVE 的系统调整已经完成。 至此 PVE 的系统调整已经完成。