You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Applies to

CentOS 8

Zend Server 2019.x and 2021.x

Problem

As CentOS 8 is EOL, you cannot run yum update against the OS repos, which were moved, or any mirror.

That renders a situation which prevents "normal" operations such as update, install and any other repo involved yum command to fail,

thus breaking Zend Server installer (and manual installation).

Solution

In case there is a requirement to keep working with Zend Server on a CentOS 8 machine, before we move to Rocky Linux 8,

and there is no replacement RHEL 8 host to migrate to, there is an option to change the CentOS 8 repositories to the Vault copies,

which are not updates anymore, but exists and will allow yum to continue working for 3rd party software like Zend Server, using zend.com repos.

These 2 commands will fix the repos to the Vault, and stop looking up mirrors:

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*
sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*

Once the repos have been changed, you can install / upgrade Zend Server on the machine(s).


  • No labels