How to upgrade with CentOS 7.3
to Centos 7.6
? It is necessary exactly on 7.6.1810
, not newer. I tried to connect the distribution ISO 7.6
and make it a repository, but updates from there are not tightened.
Answer 1
Outdated versions of Centos
Download and install, you can download: http: //vault.centos. ORG / . Next you need to add (edit) repository for basic and additional packages.
Create a file /etc/yum.repos.d/centos-base.Repo
(edit existing):
[base]
Name = CentOS 7.6.1810 - Base
BaseURL = http: //vault.ceptos.org/7.6.1810/os/$basearch/
Enabled = 1.
[Updates]
Name = CentOS 7.6.1810 - Updates
BaseURL = http: //vault.centos.org/7.6.1810/updates/$basearch/
Enabled = 1.
[EXTRAS]
Name = CentOS 7.6.1810 - Extras
BaseURL = http: //vault.ceptos.org/7.6.1810/extras/$basearch/
Enabled = 1.
[CentOSplus]
Name = CentOS 7.6.1810 - Plus
BaseURL = http: //vault.centos.org/7.6.1810/centosplus/$basearch/
Enabled = 1.
Unnecessary repositories turn off (or you can simply delete *. REPO
):
$ sudo yum --disablerepo = reponame
We write in the terminal:
$ sudo yum update
see “How to Add a Centos Repo, Having URL of Packages” . sup>