Updating CentOS Linux is pretty simple procedure. Recently I updated one of my CentOS VM from one release to another and I want to share this information and keep it for future reverences. I did it though terminal window and started with checking initial release version:
# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) |
So according to mirrorlink http://mirror.centos.org/centos/ from /etc/yum.repos.d/CentOS-Base.repo repository file it is not the latest version, so I started my update process:
# sude yum update |
When update was competed I checked the release version again and I saw that it is higher 7.6.1810 and the latest one which could be found in repository:
# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) |
Also check-update shows that no updates are available:
# sudo yum check-update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.lstn.net * extras: centos.mirror.lstn.net * updates: centos.mirror.lstn.net |