Friday, February 5, 2021

RHEL - Remove software from system

 RHEL - Remove software from system

1. Remove the software from the system
# yum erase httpd
# yum --setopt=clean_requirements_on_remove=0 erase https
# cd /var/lib.aide && aide --init && /bin/cp -a aide.db.new.gxaide.db.gz && top
2. Verify its removed
# ansible -i hosts-all all -a "rpm -q https" | grep CHANGED | sort
3. Remove any cronjob related to web server
# crontab -l
4. Remove the entry from DNS

No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...