Update CentOS : Upgrade CentOS to latest version using yum command (CentOS7.0/7.1/7.2/7.3/7.4/7.5/7.6 to CentOS 7.7).
Introduction
CentOS is a free, community-supported Linux distribution
from community Enterprise Operating system compatible with its upstream source,
Red Hat Enterprise Linux (RHEL)
Upgrade CentOS to latest version using yum update command
is not so difficult task.
Also find the configure
latest yum repository on CentOS and update CentOSpackages using yum update command without upgrading to minor release to
upgrade packages without upgrading the CentOS latest version
(CentOS7.0/7.1/7.2/7.3/7.4/7.5/7.6 to CentOS 7.7).
Upgrade
CentOS to latest version using yum update command: 5 Easy Steps
Step 1: Check current version
# cat /etc/redhat-release
Step 2: Backup for the OS
Take a healthy backup for operating system to avoid
operating system update level failure latter.
Step 3: Check for repository and cleanup
# cd /etc/yum.repos.d/
# ls
Here you can sea a list of repository which are availabel.
Start a cleanup task to clean yum repository.
#
yum clean all
Step 4: Update yum repository to get latest
packages
# yum makecache fast
Step 5: Check for available updated packages
# yum check-update
It will list for updated packages available for your CentOS.
Run below command to Update centos using yum update command.
# yum update
Reboot the server
Reboot the server
#
reboot
Still if you are unable to find latest packaged then find configure
latest yum repository on CentOS. and also fellow update CentOSpackages using yum update command without upgrading to minor release to
upgrade packages without upgrading the CentOS latest version
(CentOS7.0/7.1/7.2/7.3/7.4/7.5/7.6 to CentOS 7.7).
Thankx .. really helpfull
ReplyDelete