In 2024, the support period for the popular CentOS 7 operating system, which many users and server admins considered the de facto standard for use on their physical and virtual servers, ended. The era of CentOS 7 is over, and it has been replaced by newer OSes
But what do you do when the operating system is running like clockwork and there is no sense, opportunity or desire to upgrade a perfectly working and reliable system to newer releases? After the end of support, CentOS 7 users faced the problem that the standard repositories from which they could install utilities or non-essential libraries became unavailable
When we ran the yum update, we saw the following:
Put aside the panic. Fortunately, the problem is quite simple to solve. The official CentOS 7 repositories have moved to a new address, all you need to do is replace some URLs and disable unnecessary repositories
All you need to do is run three commands as root
Done! Now we can install any packages from the standard CentOS 7 repository