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

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

Setup Debian 11 Official Repository In sources.list (/etc/apt/sources.list)

When you install Debian 11 using a DVD, the OS installer sets the DVD as the source for getting packages for your system if you didn't choose to scan for network mirrors. Due to this reason, the system would ask you to insert a DVD if the disc is not present in the DVD drive when you try to install any software.  Also, the packages on DVD may not be the latest release.  So, we need to get the packages from the Internet. Media change: please insert the disc labeled 'Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04' in the drive '/media/cdrom/' and press [Enter] The /etc/apt/sources.list file with DVD as a source would look something like below. # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04]/ bullseye contrib main deb http://security.debian.org/debian-security bullseye-security

Cara Berlangganan ke Akun OnlyFans

Ada dua jenis akun di OnlyFans: akun pengguna dan akun pembuat konten. Jika Anda berlangganan akun OnlyFans, maka Anda adalah pengguna. Sementara beberapa akun pembuat OnlyFans tidak mengenakan biaya untuk melihat konten mereka, yang lain dapat mengenakan biaya bulanan $50. Dalam artikel ini, kami akan menunjukkan cara berlangganan akun OnlyFans di berbagai perangkat. Kami juga akan membahas proses berlangganan akun OnlyFans tanpa kartu kredit atau debit. Cara Berlangganan Akun OnlyFans Tanpa Menggunakan Kartu Kredit Pribadi Anda Sebagai salah satu platform paling populer di industri hiburan dewasa, OnlyFans memiliki 130 juta pelanggan dan 2 juta kreator. Meskipun ada sedikit kontroversi seputar aplikasi ini, ada akun pengguna baru yang dibuat setiap hari. Jika Anda ingin membuat akun pengguna, Anda harus melakukannya di situs OnlyFans. Ingatlah bahwa Anda harus berusia minimal 18 tahun untuk membuat akun OnlyFans.