A
A
arakchi2021-09-08 11:05:09
linux
arakchi, 2021-09-08 11:05:09

How to organize the installation and updating of software for linux servers without direct access to the Internet?

There are dozens of servers with centos (mostly) and debian-like systems. How can you ensure the installation and updating of software via yum \ apt in the absence of direct access to the Internet from servers (the Internet is generally available, but direct access to it is closed to these servers specifically)? Repositories are used different, both basic from distributions, and separate software (rsyslog, mysql, etc. with the ability to add).
At the moment, I see two ways - to raise a local mirror for each repository within the network and update the rest of the servers from it. Or raise a proxy that yum \ apt can use to work.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
ValdikSS, 2021-09-08
@arakchi

There is a specialized caching proxy for apt: that's what it's called, apt-proxy.
There should be something similar for yum too.

R
res2001, 2021-09-08
@res2001

I am for local turnips. This will save you traffic. True, quite a lot of disk space is required.

C
CityCat4, 2021-09-08
@CityCat4

Proxies are an easier way
Local turnips are more reliable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question