Updating a CentOS Server without an internet connection

Support for security such as Firewalls and securing linux
Post Reply
Intercase
Posts: 2
Joined: 2017/07/17 09:58:12

Updating a CentOS Server without an internet connection

Post by Intercase » 2017/07/17 10:01:27

So we got several CentOS Servers with one not having an active internet connection. We'd like update all security updates anyway so I am looking for a way to do that. Is there a lsit of security updates that gets updated all the time ? So I could get those updates manually.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Updating a CentOS Server without an internet connection

Post by TrevorH » 2017/07/17 10:19:30

Easiest thing to do is to set up your own local mirror: https://wiki.centos.org/HowTos/CreateLocalMirror

There is a yum-plugin-security package that allows yum to work out what updates are for security but it does not work on CentOS as there is no metadata in the yum repos to allow it to function. For this reason it's only possible to yum update and apply all updates.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Intercase
Posts: 2
Joined: 2017/07/17 09:58:12

Re: Updating a CentOS Server without an internet connection

Post by Intercase » 2017/07/17 10:39:33

Too bad. Isn't there a possible way for example with a ftp storing all security updates for a specific version ? If that's not the case than I eventually have to do it with yum.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Updating a CentOS Server without an internet connection

Post by TrevorH » 2017/07/17 11:00:03

yum is the package manager and the only supported way to update.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply