Proxy for ispmanager repositories in CentOS 7
Why?
The use of a proxy server is an effective solution for cases where a CentOS 7 server lacks access to ispmanager repositories.
Instructions
In order for the server to work with repositories through a proxy server, the following directives must be added to the repository files:
proxy <proxy-server-address>
;proxy_username <login>
(optional);proxy_password <password>
(optional).
Typically, modifications should be made to the repository files located in /etc/yum.repos.d
:
ispsystem.repo
;ispsystem-base.repo
;exosoft.repo
;epel.repo
.
As repository files can contain multiple sections, denoted by the name in square brackets (e.g. [epel]
), it is important that directives should be added to those sections where the following directives are present:
mirrorlist
with a value that looks like "https://download.ispmanager.com/...";enable
with a value set to "1".