What happen to Centos version
Solution 1:
You can download the EPEL RPM and the other packages on another machine:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-x86_64/zip-3.0-11.el7.x86_64.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-updates-x86_64/zlib-1.2.7-19.el7_9.x86_64.rpm -P ~/Downloads
wget https://centos.pkgs.org/7/centos-updates-x86_64/zlib-devel-1.2.7-19.el7_9.x86_64.rpm -P ~/Downloads
...and then "sneakernet" them to your server (I would verify the hashes (https://getfedora.org/security/)). You also need to make sure that /usr/sbin/ldconfig
, /lib64/libc.so.6
, and rtld
(from glibc-2.17
) are on your system.
Once the RPM is verified, you can install them:
sudo yum install ~/Downloads/epel-release-latest-7.noarch.rpm
sudo yum install ~/Downloads/zip-3.0-11.el7.x86_64.rpm
sudo yum install ~/Downloads/zlib-1.2.7-19.el7_9.x86_64.rpm
sudo yum install ~/Downloads/zlib-devel-1.2.7-19.el7_9.x86_64.rpm