{"id":2263,"date":"2021-12-31T08:52:55","date_gmt":"2021-12-31T13:52:55","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2263"},"modified":"2024-12-05T19:14:15","modified_gmt":"2024-12-06T00:14:15","slug":"how-to-migrate-from-centos-8-to-rocky-linux-conversion","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-migrate-from-centos-8-to-rocky-linux-conversion\/","title":{"rendered":"How to migrate from CentOS 8 to Rocky Linux (conversion)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is Rocky Linux?<\/h2>\n\n\n\n<p>Rocky Linux is an open-source operating system and one of the strongest replacement candidates for CentOS 8. It is a 100% binary-compatible release using the Red Hat Enterprise Linux (RHEL). Let us see how to migrate CentOS 8 Linux live server to Rocky Linux 8 using a shell script provided by the Rocky Linux project.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 \u2013 Backup CentOS 8<\/h2>\n\n\n\n<p>I started the migration process with backup. I do have nightly backups, but before upgrading, I made a snapshot to revert back when something goes wrong. In other words, keep verified backups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 \u2013 Installing all updates on CentOS 8<\/h2>\n\n\n\n<p>Then I log in using the ssh command:<br><code>ssh user@cyburdial-php8-app1<\/code><\/p>\n\n\n\n<p><br>Now, all we have to do is use the dnf command to apply all pending updates:<br><code>sudo dnf update<\/code><\/p>\n\n\n\n<p><br>Finally,&nbsp;reboot the Linux box&nbsp;using the shutdown command or&nbsp;reboot command:<br><code>sudo reboot<\/code><\/p>\n\n\n\n<p><br>Let us verify CentOS Linux 8 version using the&nbsp;cat command&nbsp;or&nbsp;more command\/less command:<br><code>more \/etc\/centos-release<\/code><br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1.png\" alt=\"RockyLinux\" class=\"wp-image-2261\" width=\"750\" height=\"746\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1.png 615w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1-100x100.png 100w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1-600x597.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1-150x150.png 150w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image-1-500x498.png 500w\" \/><figcaption>RockyLinux<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2013 Installing git client on CentOS 8<\/h2>\n\n\n\n<p>We need git to install the migration script. Is git installed on the server? Let us find out. Execute the\u00a0type command:<br><code>type -a git<\/code><\/p>\n\n\n\n<p><br>Let us search for the git package, Execute:<br><code>dnf list git<br>dnf search git<br>dnf info git<\/code><\/p>\n\n\n\n<p><br>Now, install git on your server with the help of the dnf utility, Execute:<br><code>sudo dnf install git<br>type -a git<\/code><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Clone the repo to install migration tool called rocky-tool<\/h3>\n\n\n\n<p>Finally, we need to clone the rocky-tools repo with the help of the git command:<br><code>cd \/tmp\/<br>git clone https:\/\/github.com\/rocky-linux\/rocky-tools.git<\/code><br>Getting ready for Rocky Linux migration<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2013 Migrating from CentOS 8 to Rocky Linux<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Change the directory using&nbsp;cd command&nbsp;where rocky-tools cloned:<br><kbd>cd \/tmp\/rocky-tools\/migrate2rocky<\/kbd><\/li><li>Set up executable permissions using the chmod command:<br><kbd>chmod -v +x migrate2rocky.sh<\/kbd><\/li><li>Start the migration from CentOS 8 to Rocky Linux by typing the migrate2rocky.sh command:<br><kbd>.\/migrate2rocky.sh -r<\/kbd><br><\/li><li>Follow on-screen instructions and wait for some time to finish the migration job. At the end you should see:Done, please reboot your system.<br>A log of this installation can be found at \/var\/log\/migrate2rocky.log<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>What is Rocky Linux? Rocky Linux is an open-source operating system and one of the strongest replacement candidates for CentOS 8. It is a 100% binary-compatible release using the Red Hat Enterprise Linux (RHEL). Let us see how to migrate CentOS 8 Linux live server to Rocky Linux 8 using a shell script provided by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2257,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[530],"tags":[533],"class_list":["post-2263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information","tag-howto"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2021\/12\/image.png","jetpack-related-posts":[{"id":2267,"url":"https:\/\/dialer.one\/index.php\/how-to-migrate-from-centos-8-to-almalinux-conversion\/","url_meta":{"origin":2263,"position":0},"title":"How to migrate from CentOS 8 to AlmaLinux 8.5(conversion)","author":"carpenox","date":"January 4, 2022","format":false,"excerpt":"How to migrate from CentOS 8 to AlmaLinux (conversion) I already wrote about\u00a0migrating from CentOS 8 to Rocky Linux. Today, this quick post will list steps to convert existing VM or bare metal server from CentOS 8 to AlmaLinux 8. WARNING!\u00a0Make a backup before you start upgrading and the conversion\u2026","rel":"","context":"In &quot;Information&quot;","block_context":{"text":"Information","link":"https:\/\/dialer.one\/index.php\/category\/information\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2168,"url":"https:\/\/dialer.one\/index.php\/how-to-scratch-install-the-dynportal-on-alma-rocky-centos\/","url_meta":{"origin":2263,"position":1},"title":"How to &#8211; Scratch install the dynportal on CentOs, Rocky or Alma Linux","author":"carpenox","date":"July 14, 2021","format":false,"excerpt":"How to - Scratch install the dynportal on CentOs, Rocky, or Alma Linux This article will go over the steps to Scratch install the dynportal on a scratch CentOs, Rocky or Alma Linux Vicidial box that normally comes with the ISO. I have created the files you need and host\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"how-to-scratch-install-the-dynportal-on-centos\/","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5029,"url":"https:\/\/dialer.one\/index.php\/how-to-fix-unable-to-open-master-device-dev-dahdi-ctl-for-dahdi\/","url_meta":{"origin":2263,"position":2},"title":"How to &#8211; Fix: Unable to open master device &#8216;\/dev\/dahdi\/ctl&#8217; for Dahdi","author":"carpenox","date":"July 7, 2025","format":false,"excerpt":"How to - Fix: Unable to open master device '\/dev\/dahdi\/ctl' for Dahdi This happens after updating your operating system for redhat distro's such as Alma, Rocky or CentOS. Its an easy fix thats outlined below: Step 1 - Browse to proper directory cd \/usr\/src\/dahdi-linux-complete-3.4.0+3.4.0\/ Step 2 - Recompile Dahdi make\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2263,"position":3},"title":"Table of Contents &#8211; Knowledge Base","author":"carpenox","date":"March 7, 2022","format":false,"excerpt":"Welcome to my blog, some of you may know me from the ViciDial forums, I am carpenox and I am here to share my knowledge with everyone, for free!","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":2458,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-an-archive-server\/","url_meta":{"origin":2263,"position":4},"title":"How to &#8211; Setup an archive server","author":"carpenox","date":"April 17, 2022","format":false,"excerpt":"How to - Setup an archive server This article is going to go over how to \"scratch\" install an archive server on CentOS 8, Rocky Linux or Alma Linux. You can pretty much follow it for OpenSuSe as well but there would be some small variations for installing vsftpd. Step\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"archive","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2183,"url":"https:\/\/dialer.one\/index.php\/how-to-install-a-webphone-viciphone-on-your-vicidial-server\/","url_meta":{"origin":2263,"position":5},"title":"How to &#8211; install a webphone\/viciphone on your Vicidial server","author":"carpenox","date":"July 25, 2021","format":false,"excerpt":"How to - install a webphone\/viciphone on your Vicidial server UPDATED: Oct. 10th 2023 I've been having a bunch of people ask me to write up an article for installing the Viciphone which I never did before because Viciphone.com has some really great instructions already. But I will create this\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image-8-png.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image-8-png.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image-8-png.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/image-8-png.webp?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=2263"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/2257"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}