Ci-dessous, les différences entre deux révisions de la page.
— |
welcome:fedora:clean_the_os [2016/12/04 07:57] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | **Clean an installed Fedora OS:** | ||
+ | |||
+ | ====== clean /var/cache ====== | ||
+ | |||
+ | ===== / | ||
+ | [[http:// | ||
+ | < | ||
+ | < | ||
+ | Disable the saving of the rpm's: \\ | ||
+ | Edit ''/ | ||
+ | # Keep the packages after they have been downloaded | ||
+ | KeepCache=false </ | ||
+ | |||
+ | ===== dnf ===== | ||
+ | < | ||
+ | |||
+ | ====== clean / | ||
+ | [[http:// | ||
+ | |||
+ | You can delete everything inside of / | ||
+ | * You can also query '' | ||
+ | $ journalctl --disk-usage | ||
+ | Journals take up 3.8G on disk.</ | ||
+ | * You can control the size of this directory using this parameter in your ''/ | ||
+ | * You can force a log rotation: < | ||
+ | $ sudo systemctl kill --kill-who=main --signal=SIGUSR2 systemd-journald.service </ | ||
+ | * You might need to restart the logging service to force a log rotation, if the above signaling method does not do it. \\ You can restart the service like so: < | ||
+ | $ sudo systemctl restart systemd-journald.service </ | ||
+ | |||
+ | |||
+ | |||