IT Share NVP -ViettechgroupVN-Phuong Nguyen blog Viettechgroup.vn | Share make us stronger Knowledge is Sharing Viettechgroup- Sharing Make Us Stronger-Kiến thức CNTT là sự chia sẻ- NVP-Chia sẻ làm chúng ta mạnh hơn-Viettechgroup.vn Viettechgroup.com.vn| ITShareNVP Channel | Phương Nguyễn | Phuong Nguyen Blog| Lưu trữ kiến thức chia sẽ kinh nghiệm CNTT | Phương Nguyễn

GUIDE TO UPGRADE CENTOS 7 TO CENTOS 8

0 232

Check Information

Use the check version CentOS uname-A or cat/etc/redhat-release command

Image 98
Image 99

Step 1 Install the EPEL repository

Yum Install Epel-Release-y
Image 100

Install Yum-utils

Install Yum install yum-utils
Image 101

Install the rpmconf configuration RPM Package

# yum Install rpmconf
# rpmconf-A 
Image 102

Run the command rpmconf-A-> select N means Update the nsswitch. conf file to keep the current version

Image 103

Next step we clean

# Package-cleanup--Leaves
 # Package-cleanup--orphans 
Image 104

Step 3: Install DNF Centos 7

Yum install DNF

Image 105
Image 106

Remove Management Packs with the command

#dnf-y remove yum yum-metadata-parser
 # RM-Rf/etc/yum 
Image 107

Step 4: Upgrade Centos 7 to Centos 8

with DNF Upgrade not using yum command

# DNF Upgrade
Image 108

Steps to install CentOS 8 packages using DNF command

DNF-y Upgrade http://mirror.bytemark.co.uk/centos/8/BaseOS/x86_64/os/Packages/centos-release-8.0-0.1905.0.9.el8.x86_64.rpm
Image 109

Update EPEL Repo

DNF-y Upgrade https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Image 110

After the update is complete we clear DNF

DNF Clean All

Delete always old kernel Centos 7

RPM-E 'rpm-Q kernel'

Always delete conflicting packages if available

# RPM-E--nodeps sysvinit-Tools
Image 114

Launch Run Cenots 8

# DNF-y--releasever = 8--allowerasing--setopt = deltarpm = False distro-sync
Image 111

Step 5: Install new Kernel OS Centos 8

# DNF-y install kernel-core

Set the core.

DNF-y groupupdate "Core" "Minimal Install"
Image 112

Check version for Success

Image 113

I Wish you success

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More