{"id":2267,"date":"2022-01-04T12:29:25","date_gmt":"2022-01-04T17:29:25","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2267"},"modified":"2024-12-05T19:13:57","modified_gmt":"2024-12-06T00:13:57","slug":"how-to-migrate-from-centos-8-to-almalinux-conversion","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-migrate-from-centos-8-to-almalinux-conversion\/","title":{"rendered":"How to migrate from CentOS 8 to AlmaLinux 8.5(conversion)"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">How to migrate from CentOS 8 to AlmaLinux (conversion)<\/h1>\n\n\n\n<p><\/p>\n\n\n\n<p>I already wrote about&nbsp;migrating<a href=\"https:\/\/dialer.one\/how-to-migrate-from-centos-8-to-rocky-linux-conversion\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"How to migrate from CentOS 8 to Rocky Linux (conversion)\"> from CentOS 8 to Rocky Linux<\/a>. Today, this quick post will list steps to convert existing VM or bare metal server from CentOS 8 to AlmaLinux 8. <\/p>\n\n\n\n<p><strong>WARNING!<\/strong>&nbsp;Make a backup before you start upgrading and the conversion procedure. I am an experienced Linux user, developer and sysadmin. However, there is no substitute for backups. Keep verified backups. Do not proceed further without backups. CyburDial is not responsible for data loss.<\/p>\n\n\n\n<p>If you are doing this over an SSH session, I recommend running commands over GNU\/screen or Tmux terminal multiplexer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Migrating from CentOS 8 to AlmaLinux (conversion)<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Log in as the root user:<br><code>sudo -i<\/code><\/li><li>Apply pending updates to CentOS 8 by running the dnf command\/yum command:<br><code>dnf update<\/code><\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"606\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png\" alt=\"\" class=\"wp-image-2287\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png 562w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2-278x300.png 278w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2-500x539.png 500w\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Apply pending updates before migration starts<\/li><li>Reboot the Linux box&nbsp;when new kernel updates are installed:<br><code>reboot<\/code><\/li><li>After reboot, you need to download the almalinux-deploy.sh script using the wget or curl command, type:<br><code>wget https:\/\/raw.githubusercontent.com\/AlmaLinux\/almalinux-deploy\/master\/almalinux-deploy.sh<br># read the script #<br>vim almalinux-deploy.sh<\/code><\/li><li>Next set up executable permission using the chmod command, run:<\/li><li><code>chmod -v +x almalinux-deploy.sh<\/code><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"487\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-1.png\" alt=\"\" class=\"wp-image-2286\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-1.png 671w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-1-600x435.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-1-300x218.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-1-500x363.png 500w\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Downloading almalinux-deploy.sh script<\/li><li>Finally, migrate CentOS to AlmaLinux by typing the almalinux-deploy.sh:<br><code>.\/almalinux-deploy.sh<\/code><\/li><li><img decoding=\"async\" alt=\"Migrating from CentOS 8 to AlmaLinux started\" src=\"https:\/\/www.cyberciti.biz\/media\/new\/cms\/2022\/01\/Migrating-from-CentOS-8-to-AlmaLinux-started.png\" title=\"\"><\/li><li>AlmaLinux migration tool in action<\/li><li>The upgrade and migration will take their own sweet time. It all depends upon your server hardware specification and the Internet speed. So wait and watch for errors on the screen. In the end, you should see a confirmation message as follows on screen:Complete! Run dnf distro-sync -y OK Restoring of alternatives is done OK Generating grub configuration file &#8230; done All Secure Boot related packages which were released by not AlmaLinux are reinstalledOK &nbsp; Migration to AlmaLinux is completed<\/li><li>Reboot the Linux box hosted at AWS or Linode:<br><code>shutdown -r now<br><kbd><small>Connection to 3.1x.2xx.2xx closed by remote host.<\/small><\/kbd><\/code><\/li><li>Finally, verify the AlmaLinux version, run: <code>cat \/etc\/redhat-release<br>## OR ##<br>cat \/etc\/os-release<\/code><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"272\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image.png\" alt=\"\" class=\"wp-image-2285\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image.png 597w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-300x137.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/01\/image-500x228.png 500w\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>CentOS to Almalinux migration successfully executed<\/li><li>Also, make sure all services such as PGSQL, Apache and others are running using the ps command or ss command:<br><code>ss -tulpn | more<br>ss -tulpn | grep \":80\"<br><small># Verify logs using the tail command and dmesg command+egrep command&nbsp;#<\/small><br>tail -f \/var\/log\/httpd\/app_name_goes_here<br>dmesg | egrep -i 'error|critical|warn'<\/code><\/li><\/ul>\n\n\n\n<p>This will convert your centos8 system over to AlmaLinux<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Last step is to recompile dahdi:<\/h2>\n\n\n\n<p>cd \/usr\/src\/dahdi-linux-complete-3.1.0+3.1.0\/<\/p>\n\n\n\n<p>make &amp;&amp; make install<\/p>\n\n\n\n<p>modprobe dahdi<\/p>\n\n\n\n<p>dahdi_cfg -v (to check no errors)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>I hope this helps<\/p>\n\n\n\n<p>-Carpenox aka Chris<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to migrate from CentOS 8 to AlmaLinux (conversion) I already wrote about&nbsp;migrating 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!&nbsp;Make a backup before you start upgrading and the conversion procedure. I am an experienced [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2287,"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-2267","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\/2022\/01\/image-2.png","jetpack-related-posts":[{"id":2263,"url":"https:\/\/dialer.one\/index.php\/how-to-migrate-from-centos-8-to-rocky-linux-conversion\/","url_meta":{"origin":2267,"position":0},"title":"How to migrate from CentOS 8 to Rocky Linux (conversion)","author":"carpenox","date":"December 31, 2021","format":false,"excerpt":"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\u2026","rel":"","context":"In &quot;Information&quot;","block_context":{"text":"Information","link":"https:\/\/dialer.one\/index.php\/category\/information\/"},"img":{"alt_text":"RockyLinux","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/12\/image.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2267,"position":1},"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":2168,"url":"https:\/\/dialer.one\/index.php\/how-to-scratch-install-the-dynportal-on-alma-rocky-centos\/","url_meta":{"origin":2267,"position":2},"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":5150,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-10\/","url_meta":{"origin":2267,"position":3},"title":"How to &#8211; Install ViciDial on Alma Linux 10","author":"carpenox","date":"January 29, 2026","format":false,"excerpt":"How to - Install ViciDial on Alma Linux 10 How to Install VICIdial on AlmaLinux 10 Using My Updated Auto\u2011Installer VICIdial admins have been waiting for this one. AlmaLinux 10 is here with a modernized kernel, updated libraries, and a cleaner security model \u2014 but it also breaks a lot\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Alma 10","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3455,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-9-with-my-new-auto-installer\/","url_meta":{"origin":2267,"position":4},"title":"How to &#8211; Install Vicidial on Alma Linux 9 with my new auto installer","author":"carpenox","date":"September 15, 2023","format":false,"excerpt":"How to - Install Vicidial on Alma Linux 9 with my new auto installer That's right, I have fixed the issues with dahdi and php7 installations on Alma Linux 9 and created the auto installer for it, complete with the dynamic portal and the CyburPhone. Its been tested and is\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Alma Linux 9 Vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?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":2267,"position":5},"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":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2267","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=2267"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2267\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/2287"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}