Friday, 20 July 2018

Recovery Centos System

# Get all yum commands previously run
yum history list all

# Get the details of the command
yum history info [entry number]

# Undo each command top-down
yum history undo [entry number]

free -m
sync; echo 1 > /proc/sys/vm/drop_caches
sync; echo 2 > /proc/sys/vm/drop_caches
sync; echo 3 > /proc/sys/vm/drop_caches

sudo yum clean all
#sudo yum autoremove
sudo yum -y update

No comments:

Post a Comment