Skip to main content

How to Migrate from CentOS 8 to Rocky Linux 8


If you are reading this post to migrate your system from CentOS 8 to Rocky Linux 8, you might be aware of the CentOS announcement, making CentOS an upstream build for RHEL. Whereas previously, CentOS was a downstream build of Red Hat Enterprise Linux.

Since CentOS will end its support for CentOS 8 at the end of 2021, only a few options come in front of us.
Switch to CentOS 8 streamMigrate to Rocky Linux or other compatible distributions
Rocky Linux, the most anticipated Linux distribution from the Rocky Linux community led by Gregory Kurtzer, founder of the CentOS project. It is 100% binary compatible with Red Hat Enterprise Linux.

Rocky Linux community has announced the general availability of Rocky Linux 8.4 "Green Obsidian" on June 21, 2021. It also offers a conversion tool to support the conversion to Rocky Linux 8.4 from other EL systems.

Follow the below procedure to migrate from CentOS 8 to Rocky Linux 8.4 without any struggle. Use this procedure at your own RISK.
You can also download Rocky Linux 8 VirtualBox or VMware images to try it before planning the migration.


Update CentOS 8

Bring up your system to the latest release of CentOS 8 (8.4.210).

dnf update -y

Reboot the system to complete the update.
reboot

Check the OS version post the reboot.
cat /etc/centos-release

Output:
CentOS Linux release 8.4.210

Migrate from CentOS 8 to Rocky Linux

Download the official conversion tool from Github.
curl -O https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh

Run the below command to perform pre-check.
bash migrate2rocky.sh -V

Output:
Creating a list of RPMs installed: begin Verifying RPMs installed against RPM database: begin A log of this installation can be found at /var/log/migrate2rocky.log

If there are no errors in pre-check, proceed to convert your system to Rocky Linux 8.
bash migrate2rocky.sh -r

This conversion would take some time to complete, and it depends on the speed of your internet connection. Wait for the update to complete.

Output:

Preparing to migrate CentOS Linux 8 to Rocky Linux 8. Determining repository names for CentOS Linux 8..... Found the following repositories which map from CentOS Linux 8 to Rocky Linux 8: CentOS Linux 8  Rocky Linux 8 appstream       appstream baseos          baseos extras          extras Getting system package names for CentOS Linux 8......... Found the following system packages which map from CentOS Linux 8 to Rocky Linux 8: CentOS Linux 8        Rocky Linux 8 centos-backgrounds    rocky-backgrounds centos-gpg-keys       rocky-gpg-keys centos-logos          rocky-logos .    .    . .    .    . xkeyboard-config-2.28-1.el8.noarch yum-4.4.2-11.el8.noarch zlib-1.2.11-17.el8.x86_64 Removed: kernel-4.18.0-80.el8.x86_64              kernel-core-4.18.0-80.el8.x86_64 kernel-modules-4.18.0-80.el8.x86_64 Complete! Done, please reboot your system. A log of this installation can be found at /var/log/migrate2rocky.log

Reboot the system post-migration.
reboot

Validate the OS release after the reboot.
cat /etc/rocky-release

Output:
Rocky Linux release 8.4 (Green Obsidian

Sumber: disini

Comments

Popular posts from this blog

How to Install Traefik in Debian (Without Docker)

 Download the suitable version of Traefik for your system from here: https://github.com/traefik/traefik/releases as an example, we'll be download the linux 64 bit version: wget https://github.com/traefik/traefik/releases/download/v2.8.7/traefik_v2.8.7_linux_amd64.tar.gz extract those package: tar -xzvf traefik_v2.8.7_linux_amd64.tar.gz set the traefik as executable and move the traefik binary to linux bin folder

Create AdminLTE Dashboard with NextJS

Sure, you can create an AdminLTE dashboard in a Next.js project using TypeScript. Here's a step-by-step guide:  Create a Next.js Project with TypeScript:  If you haven't already, create a new Next.js project with TypeScript by running the following commands: npx create-next-app my-adminlte-dashboard --use-npm --typescript cd my-adminlte-dashboard Install Dependencies: 

Cara Disable Antimalware Service Executable di Windows 10

Disadari atau tidak, Windows 10 (dan juga windows-windows lainnya) hadir dengan banyak sekali aplikasi bloatware (aplikasi yang tidak perlu-perlu amat dimiliki oleh end user). Contohnya, adalah aplikasi yang seharusnya sudah tergantikan fungsinya oleh antivirus, seperti Antimalware Service Executable . Aplikasi ini dicurigai membuat Windows 10 mengalami inefisiensi memori/RAM, memakan resource yang tinggi, dengan Load yang tinggi (tanpa limit terkadang). Nah, berikut adalah cara men-disable nya: Tekan tombol Windows + I untuk membuka apliaksi Windows Setting. Pilih icon menu Update and Security Pilih lagi menu disamping kiri Windows Security Pada jendela baru yang muncul, ada pilihan Virus & Threat protection Klik ini Lalu matikan proses Real-time protection tersebut. Dengan Regedit. Buka dialog regedit, Windows + R dan ketik ‘regedit’ Cari Folder regedit ini HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Buat sebuah DWORD baru dengan klik kanan