mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-11-01 12:34:12 +08:00
更新清理命令
This commit is contained in:
1 parent
34e55b8daa
commit
641aa555b9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -634,7 +634,7 @@ PVE 系统配置完成后,可执行以下命令,对系统进行清理。
|
||||
$ apt clean && apt autoclean && apt autoremove --purge
|
||||
|
||||
## 清理系统缓存
|
||||
$ rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
|
||||
$ bash -c 'find /var/cache/apt /var/lib/apt/lists /tmp -type f -print -delete'
|
||||
|
||||
## 清理系统日志
|
||||
$ find /var/log/ -type f -print -delete
|
||||
|
||||
Reference in new issue
Block a user