How to upgrade CentOS 7 to CentOS 8 Linux
How to upgrade CentOS 7 to CentOS 8 Linux in tamil
Step 1:
yum update –y
#Install the EPEL Repository
yum install epel-release
#Install yum-utils tools
[root@upgrade-centos ~]# yum install yum-utils -y
#Install rpmconf to resolve RPM packages
[root@upgrade-centos ~]# yum install rpmconf -y
rpmconf -a
package-cleanup –leaves
package-cleanup –orphans
#Step 2:
#Install dnf (package manager) on CentOS 7
yum install dnf -y
#Remove YUM package manager
dnf remove yum yum-metadata-parser
rm -rf /etc/yum
Step 3:
#Upgrade CentOS 7 to Centos 8
dnf upgrade
Step 4:
#Install CentOS 8 release package using dnf
dnf install http://vault.centos.org/8.5.2111/BaseOS/x86_64/os/Packages/{centos-linux-repos-8-3.el8.noarch.rpm,centos-linux-release-8.5-1.2111.el8.noarch.rpm,centos-gpg-keys-8-3.el8.noarch.rpm}
#Upgrade EPEL Repository
dnf -y upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
#Remove all temporary files
dnf clean all
#Remove the old CentOS 7 Kernel
rpm -e `rpm -q kernel`
#Remove all the conflicting packages
rpm -e –nodeps sysvinit-tools
Step 5:
#Upgrade to CentOS 8. This will take some time
dnf -y –releasever=8 –allowerasing –setopt=deltarpm=false distro-sync
#Install new kernel for CentOS 8
dnf -y install kernel-core
#Install CentOS 8 minimal packages
dnf -y groupupdate “Core” “Server with GUI”
Reboot the server
centos 8
hi, here kernel version is same , not upgraded. how to upgrade kernel also because I have a task to convert centos 7 to centos 8 and from centos 8 to rhel 8. Is this possible means plz make a video for the same