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:
@@ -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 的系统调整已经完成。
|
||||||
|
|||||||
Reference in New Issue
Block a user