How to fix yum after centos 6 went eol

curl https://www.maxko-hosting.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo