CentOS 6 ==================================================================================================================== CentOS 6 的 EOL ( End of Life ) : 30 November 2020 . 請注意 , 這邊提供的是 x86_64 的版本 , 也就是 64 位元 的 CentOS 6 . ( 直接覆蓋掉你 CentOS 6 原本的 CentOS-Base.repo 和 epel.repo 即可 ) 方法 ( 共 4 行 指令 ) : curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.vpnforgame.net/centos/6/CentOS-Base.repo curl -o /etc/yum.repos.d/epel.repo http://mirrors.vpnforgame.net/epel/6/epel.repo yum clean all yum makecache 這樣就可以了 , 然後你就可以 yum update 試試看 . ==================================================================================================================== CentOS 7 ==================================================================================================================== CentOS 7 的 EOL ( End of Life ) : 30 June 2024 . 請注意 , 這邊提供的是 x86_64 的版本 , 也就是 64 位元 的 CentOS 7 . ( 直接覆蓋掉你 CentOS 7 原本的 CentOS-Base.repo 和 epel.repo 即可 ) 方法 ( 共 4 行 指令 ) : curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.vpnforgame.net/centos/7/CentOS-Base.repo curl -o /etc/yum.repos.d/epel.repo http://mirrors.vpnforgame.net/epel/7/epel.repo yum clean all yum makecache 這樣就可以了 , 然後你就可以 yum update 試試看 . ====================================================================================================================