更新清理目录

This commit is contained in:
CallMeR
2025-01-06 18:09:39 +08:00
parent 7d8da1f68e
commit d153773b1f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -452,7 +452,7 @@ Debian 模板虚拟机已经配置完成,在将其转换为模板前需要对
$ sudo bash -c 'apt clean && apt autoclean && apt autoremove --purge'
## 清理系统缓存
$ sudo bash -c 'find /var/cache/apt /var/cache/smartdns /var/lib/apt/lists /tmp -type f -print -delete'
$ sudo bash -c 'find /var/cache/apt/ /var/cache/smartdns/ /var/lib/apt/lists/ /tmp/ -type f -print -delete'
## 清理系统日志
$ sudo bash -c 'find /var/log/ -type f -print -delete'