Limping along with CentOS 6

 I have a CentOS 6 system that’s not Internet accessible and that I need to limp along until I can orchestrate an upgrade to something newer (and maintained). It’s accumulated a lot of cruft over the years, so swapping in a new OS install isn’t all that straightforward. But I also need to configure OpenVPN on the box (I’m remote for the holidays) and, well, CentOS shut the repos down hard. I was getting:

http://mirror.centos.org/centos/6/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"


A visit to a parent URL got me this:

Not helpful or useful, really. I did find the “vault,” however, e.g. https://vault.centos.org/6.10/os/i386/repodata/, and added it to the Yum repos:

# yum-config-manager --add-repo=https://vault.centos.org/6.10/os/i386/


Then, just edited /etc/yum.repos.d/CentOS-Base.repo to add enabled=0 to every entry.

Now, installing OpenVPN worked:

# yum install -y openvpn easy-rsa


Totally a hack, but at least I’m not stymied.


Comments

  1. Look for PCLinuxOS. It's a rolling release, free of the taint of systemd, and it looks a LOT like Centos6 but with updates and a different window manager .

    ReplyDelete
    Replies
    1. Thanks! I ended up going with Oracle Linux 8. Don't really care about the window manager (99.995% of the time I'm logged in remotely via SSH, command line only), and I really just want a fixed (non-"rolling") target with security updates for as long as the hardware's viable ;)

      Delete

Post a Comment