mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
更新清理目录
This commit is contained in:
+1
-1
@@ -634,7 +634,7 @@ PVE 系统配置完成后,可执行以下命令,对系统进行清理。
|
||||
$ apt clean && apt autoclean && apt autoremove --purge
|
||||
|
||||
## 清理系统缓存
|
||||
$ bash -c 'find /var/cache/apt /var/lib/apt/lists /tmp -type f -print -delete'
|
||||
$ bash -c 'find /var/cache/apt/ /var/lib/apt/lists/ /tmp/ -type f -print -delete'
|
||||
|
||||
## 清理系统日志
|
||||
$ bash -c 'find /var/log/ -type f -print -delete'
|
||||
|
||||
Reference in New Issue
Block a user