{"id":111396,"date":"2024-06-14T11:30:00","date_gmt":"2024-06-14T15:30:00","guid":{"rendered":"https:\/\/jumpcloud.com\/?p=111396"},"modified":"2024-09-10T12:20:32","modified_gmt":"2024-09-10T16:20:32","slug":"how-to-migrate-centos-to-almalinux","status":"publish","type":"post","link":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux","title":{"rendered":"How to Migrate CentOS 7 to AlmaLinux"},"content":{"rendered":"\n

Jump to Tutorial<\/a><\/p>\n\n\n\n

As of June 30, 2024, CentOS 7 will reach its end of life (EOL). That means it will no longer receive updates, bug fixes, critical security patches, or any new features. It is very important to migrate to a supported operating system to maintain the functionality and security of your systems. AlmaLinux is a reliable alternative to CentoOS. It\u2019s a community-driven enterprise distribution that is binary compatible with Red Hat Enterprise Linux (RHEL). It\u2019s an environment similar to what CentOS users are used to as well as being free and open source. <\/p>\n\n\n\n

This tutorial will walk you through the process of migrating from CentOS 7 to AlmaLinux 8 and the AlmaLinux 9 version. <\/p>\n\n\n\n

Prerequisites<\/h2>\n\n\n\n

Before starting the migration, make sure that you have:<\/p>\n\n\n\n

    \n
  1. At least 20 GB of free space, since the migration process can require significant temporary space as well as for downloading and installing new packages. The needed space on your system could be potentially higher, depending on the size of your backup. You can always check the disk free space by running the df -h<\/strong> command.<\/li>\n\n\n\n
  2. You need root or sudo permissions to your system since the commands we will be running require higher administrative access for the upgrade process.<\/li>\n\n\n\n
  3. Make sure that you have a fast and stable internet connection, to avoid the risk of interruptions and also don’t cancel the operation after you start the process.<\/li>\n\n\n\n
  4. Check your power supply and make sure that you have redundant power sources if needed.<\/li>\n<\/ol>\n\n\n\n

    Step 1: Backup your data<\/h2>\n\n\n\n

    It is important to back up your data before this major upgrade between distributions. So ensure you have a comprehensive backup strategy that covers all critical data, configurations, and system settings. Store your backups on a separate disk, external storage, or a remote backup server to ensure they are safe in case the migration process encounters issues. Here\u2019s a checklist of what to back up:<\/p>\n\n\n\n

      \n
    • System Configuration Files (\/etc)<\/li>\n\n\n\n
    • User Data (\/home)<\/li>\n\n\n\n
    • Application Data (databases, web server data)<\/li>\n\n\n\n
    • Custom Scripts and Cron Jobs<\/li>\n\n\n\n
    • Service Configuration<\/li>\n\n\n\n
    • Installed Package List<\/li>\n\n\n\n
    • Important Logs (\/var\/log)<\/li>\n\n\n\n
    • SSH Keys and Configuration<\/li>\n\n\n\n
    • Custom Network Configuration<\/li>\n\n\n\n
    • Virtual Hosts and Containers<\/li>\n\n\n\n
    • Email Server Configuration<\/li>\n\n\n\n
    • Firewall and Security Configurations<\/li>\n<\/ul>\n\n\n\n

      Step 2: Update your CentOS 7 System<\/h2>\n\n\n\n

      First, we will verify our current CentOS version. We can do so by running the following command:<\/p>\n\n\n\n

      \n

      cat \/etc\/centos-release<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Next, we need to ensure that our CentOS 7 system is up to date before we run the migration:<\/p>\n\n\n\n

      \n

      sudo yum update -y<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Reboot the server so you can apply the latest kernel version:<\/p>\n\n\n\n

      \n

      sudo reboot<\/p>\n<\/div><\/div>\n\n\n\n

      Step 3: Install EPEL Repository<\/h2>\n\n\n\n

      For the migration process, we need to check if we already have the Extra Packages for Enterprise Linux (EPEL) repository that contains the necessary additional packages.<\/p>\n\n\n\n

      \n

      sudo yum install epel-release -y<\/p>\n<\/div><\/div>\n\n\n\n

      You will get the output on the screen that the process is complete:<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Step 4: Install the Migration Script<\/h2>\n\n\n\n

      Now we will install the ‘Elevate’ migration script to assist in the migration process. What it does is, it replaces CentOS 7 repositories with AlmaLinux 8 repositories. It also handles package installation, configures system configuration, and preserves user data so no or little reconfiguration is needed after the migration. <\/p>\n\n\n\n

      This command will install the elevate-release package with the project repo and GPG key:<\/p>\n\n\n\n

      \n

      sudo yum install -y http:\/\/repo.almalinux.org\/elevate\/elevate-release-latest-el$(rpm –eval %rhel).noarch.rpm<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      We also need to install the Leapp packages and necessary data for AlmaLinux migration:<\/p>\n\n\n\n

      \n

      sudo yum install -y leapp-upgrade leapp-data-almalinux<\/p>\n<\/div><\/div>\n\n\n\n

      Next, start a pre-upgrade check, which is an important step. The Leapp utility will create a report file under the path \/var\/log\/leapp\/leapp-report.txt where we will get information about potential problems and some recommended solutions. In this phase, the utility doesn’t install any rpm packages.<\/p>\n\n\n\n

      \n

      sudo leapp preupgrade<\/p>\n<\/div><\/div>\n\n\n\n

      We will get the similar output below, and make sure you review it, especially if you have some custom configuration.<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      At the end of the process, you might get a warning related to the package that doesn’t exist in AlmaLinux:<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Let’s open the answer file with details:<\/p>\n\n\n\n

      \n

      sudo cat \/var\/log\/leapp\/answerfile<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Here we can see that this PAM module is no longer available on newer version, because it has been replaced with SSSD. Leaving this package in the system may cause problems. We need to confirm the answer to True, so run the following command:<\/p>\n\n\n\n

      \n

      sudo leapp answer –section remove_pam_pkcs11_module_check.confirm=True<\/p>\n<\/div><\/div>\n\n\n\n

      After editing the answer file, run the pre-upgrade check again to ensure all required confirmations are in place.<\/p>\n\n\n\n

      \n

      sudo leapp preupgrade<\/p>\n<\/div><\/div>\n\n\n\n

      Step 5: Migrate CentOS 7 to AlmaLinux 8<\/h2>\n\n\n\n

      After we have reviewed our pre-upgrade log file and determined that we are ready to proceed, we can start with the process.<\/p>\n\n\n\n

      \n

      sudo leapp upgrade<\/p>\n<\/div><\/div>\n\n\n\n

      Based on the instructions, we need to reboot the server.<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n
      \n

      sudo reboot<\/p>\n<\/div><\/div>\n\n\n\n

      The reboot will disconnect the SSH connection and during the boot process and by using the dedicated boot entry, the Leapp will upgrade needed packages and reboot again automatically.<\/p>\n\n\n\n

      When the process is complete, we can check the current release version on our server:<\/p>\n\n\n\n

      \n

      cat \/etc\/os-release<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      This confirms that our system is running the AlmaLinux 8.9 version.<\/p>\n\n\n\n

      Step 6: Upgrade AlmaLinux 8 to AlmaLinux 9<\/h2>\n\n\n\n

      AlmaLinux 8 will receive security support until May 31st 2029, but the active support ends on May 31st 2024, so you can consider upgrading to the latest AlmaLinux version to keep the benefits of the active support.<\/p>\n\n\n\n

      We need to make sure to clean our yum.conf file and remove everything from the exclude line especially that refers to elevate<\/strong> or leapp <\/strong>related to the previous migration.<\/p>\n\n\n\n

      \n

      sudo vi \/etc\/yum.conf<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Also, change the dnf.conf file and remove similar entries if there is an ‘excluded’<\/strong> line.<\/p>\n\n\n\n

      \n

      sudo vi \/etc\/dnf\/dnf.conf<\/p>\n<\/div><\/div>\n\n\n\n

      Check packages left from CentOS 7 by using the rpm command:<\/p>\n\n\n\n

      \n

      rpm -qa | grep ‘\\.el7’<\/p>\n<\/div><\/div>\n\n\n\n

      You will get the similar output:<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Check dependencies and if any other packages depend on them.<\/p>\n\n\n\n

      \n

      for pkg in $(rpm -qa | grep ‘\\.el7’); do rpm -q –whatrequires $pkg; done<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      We can proceed by removing the leftover packages:<\/p>\n\n\n\n

      \n

      sudo rpm -e $(rpm -qa | grep ‘\\.el7’)<\/p>\n<\/div><\/div>\n\n\n\n

      Now we will clean up the package manager cache to free up space, remove any unnecessary data and verify the system integrity:<\/p>\n\n\n\n

      \n

      sudo dnf clean all

      sudo dnf autoremove -y

      sudo dnf check<\/p>\n<\/div><\/div>\n\n\n\n

      We can then proceed to elevate-release package installation from the project repo:<\/p>\n\n\n\n

      \n

      sudo yum install -y http:\/\/repo.almalinux.org\/elevate\/elevate-release-latest-el$(rpm –eval %rhel).noarch.rpm<\/p>\n<\/div><\/div>\n\n\n\n

      Next install leapp packages and migration data again:<\/p>\n\n\n\n

      \n

      sudo yum install -y leapp-upgrade leapp-data-almalinux<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      For the transition between AlmaLinux 8 and AlmaLinux 9, it is recommended to disable SELinux and also the firewalld ZoneDrifting feature.<\/p>\n\n\n\n

      First, edit the SELinux configuration file and change to option ‘disabled<\/strong>‘.<\/p>\n\n\n\n

      \n

      sudo vi \/etc\/sysconfig\/selinux<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Reboot the server to apply the changes:<\/p>\n\n\n\n

      \n

      sudo reboot<\/p>\n<\/div><\/div>\n\n\n\n

      After the reboot, log in to your system and edit the firewalld option:<\/p>\n\n\n\n

      \n

      sudo vi \/etc\/firewalld\/firewalld.conf<\/p>\n<\/div><\/div>\n\n\n\n

      Here we will set AllowZoneDrifting<\/strong> option to ‘no<\/strong>‘<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Save the file and run the pre-upgrade check, to make sure everything is prepared for the upgrade:<\/p>\n\n\n\n

      \n

      sudo leapp preupgrade<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Based on the output, we need to confirm the answer again:<\/p>\n\n\n\n

      \n

      sudo leapp answer –section check_vdo.no_vdo_devices=True<\/p>\n<\/div><\/div>\n\n\n\n

      In the report, we also got the error for the network configuration:<\/p>\n\n\n\n

      \n

      Network configuration for unsupported device types detected
      Summary: RHEL 9 does not support the legacy network-scripts package that was deprecated in RHEL 8 in favor of NetworkManager. Files for device types that are not supported by NetworkManager are present in the system. Files with the problematic configuration:
        – \/etc\/sysconfig\/network-scripts\/ifcfg-enp0s3<\/p>\n<\/div><\/div>\n\n\n\n

      The official recommendation from the AlmaLinux team is to consider removing the file.<\/p>\n\n\n\n

      \n

      sudo rm \/etc\/sysconfig\/network-scripts\/ifcfg-enp0s3<\/p>\n<\/div><\/div>\n\n\n\n

      Review the exact file name from the report in your case, as it can be different.<\/p>\n\n\n\n

      We can also remove the make-devel package as it can often conflict with the upgrade process:<\/p>\n\n\n\n

      \n

      sudo dnf remove make-devel<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      Now we can proceed to the upgrade by running the command:<\/p>\n\n\n\n

      \n

      sudo leapp upgrade<\/p>\n<\/div><\/div>\n\n\n\n

      This will take some time and after the process, we need to reboot again.<\/p>\n\n\n\n

      \"code<\/figure>\n\n\n\n
      \n

      sudo reboot<\/p>\n<\/div><\/div>\n\n\n\n

      After the process, log in to your system and check the current version:<\/p>\n\n\n\n

      \n

      cat \/etc\/os-release<\/p>\n<\/div><\/div>\n\n\n\n

      \"code<\/figure>\n\n\n\n

      It is recommended that you check logs and packages left from the previous OS version, so consider removing them in a similar way we did for old CentOS 7 packages.<\/p>\n\n\n\n

      \n

      rpm -qa | grep el8
      sudo cat \/var\/log\/leapp\/leapp-report.txt
      sudo cat \/var\/log\/leapp\/leapp-upgrade.log<\/p>\n<\/div><\/div>\n\n\n\n

      Migrating from CentOS 7 to AlmaLinux is a crucial step to ensure your systems remain secure and supported beyond the CentOS 7 end-of-life date. By following this guide, you can migrate your system with minimal disruption and ensure a smooth transition to newer AlmaLinux versions.<\/p>\n","protected":false},"excerpt":{"rendered":"

      Learn how to upgrade to CentOS 7 in this step-by-step tutorial.<\/p>\n","protected":false},"author":150,"featured_media":111556,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"categories":[2781],"tags":[],"collection":[2778],"platform":[],"funnel_stage":[3017],"coauthors":[2535],"acf":[],"yoast_head":"\nHow to Migrate CentOS 7 to AlmaLinux - JumpCloud<\/title>\n<meta name=\"description\" content=\"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Migrate CentOS 7 to AlmaLinux\" \/>\n<meta property=\"og:description\" content=\"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-14T15:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T16:20:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png\" \/>\n\t<meta property=\"og:image:width\" content=\"498\" \/>\n\t<meta property=\"og:image:height\" content=\"334\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Worthington\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Worthington\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#article\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\"},\"author\":{\"name\":\"David Worthington\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/185ca12034835ee50ee17b100abdfb2e\"},\"headline\":\"How to Migrate CentOS 7 to AlmaLinux\",\"datePublished\":\"2024-06-14T15:30:00+00:00\",\"dateModified\":\"2024-09-10T16:20:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\"},\"wordCount\":1454,\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png\",\"articleSection\":[\"How-To\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\",\"url\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\",\"name\":\"How to Migrate CentOS 7 to AlmaLinux - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png\",\"datePublished\":\"2024-06-14T15:30:00+00:00\",\"dateModified\":\"2024-09-10T16:20:32+00:00\",\"description\":\"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png\",\"width\":498,\"height\":334,\"caption\":\"code for technical tutorial\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Migrate CentOS 7 to AlmaLinux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/185ca12034835ee50ee17b100abdfb2e\",\"name\":\"David Worthington\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/d9acf1381c6e5b50c0f50d47b7b05411\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a6dde901b469c9005c22973e42038d62?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a6dde901b469c9005c22973e42038d62?s=96&d=mm&r=g\",\"caption\":\"David Worthington\"},\"description\":\"I'm the JumpCloud Champion for Product, Security. JumpCloud and Microsoft certified, security analyst, a one-time tech journalist, and former IT director.\",\"sameAs\":[\"https:\/\/jumpcloud.com\/blog\",\"david.worthington@jumpcloud.com\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Migrate CentOS 7 to AlmaLinux - JumpCloud","description":"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux","og_locale":"en_US","og_type":"article","og_title":"How to Migrate CentOS 7 to AlmaLinux","og_description":"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.","og_url":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux","og_site_name":"JumpCloud","article_published_time":"2024-06-14T15:30:00+00:00","article_modified_time":"2024-09-10T16:20:32+00:00","og_image":[{"width":498,"height":334,"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png","type":"image\/png"}],"author":"David Worthington","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Worthington","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#article","isPartOf":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux"},"author":{"name":"David Worthington","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/185ca12034835ee50ee17b100abdfb2e"},"headline":"How to Migrate CentOS 7 to AlmaLinux","datePublished":"2024-06-14T15:30:00+00:00","dateModified":"2024-09-10T16:20:32+00:00","mainEntityOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux"},"wordCount":1454,"publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png","articleSection":["How-To"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux","url":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux","name":"How to Migrate CentOS 7 to AlmaLinux - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png","datePublished":"2024-06-14T15:30:00+00:00","dateModified":"2024-09-10T16:20:32+00:00","description":"Learn how to upgrade to CentOS 7 in this step-by-step tutorial.","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#primaryimage","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/06\/9.png","width":498,"height":334,"caption":"code for technical tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/blog\/how-to-migrate-centos-to-almalinux#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"How to Migrate CentOS 7 to AlmaLinux"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/185ca12034835ee50ee17b100abdfb2e","name":"David Worthington","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/d9acf1381c6e5b50c0f50d47b7b05411","url":"https:\/\/secure.gravatar.com\/avatar\/a6dde901b469c9005c22973e42038d62?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a6dde901b469c9005c22973e42038d62?s=96&d=mm&r=g","caption":"David Worthington"},"description":"I'm the JumpCloud Champion for Product, Security. JumpCloud and Microsoft certified, security analyst, a one-time tech journalist, and former IT director.","sameAs":["https:\/\/jumpcloud.com\/blog","david.worthington@jumpcloud.com"]}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/111396"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/150"}],"replies":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/comments?post=111396"}],"version-history":[{"count":2,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/111396\/revisions"}],"predecessor-version":[{"id":111572,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/111396\/revisions\/111572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media\/111556"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=111396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/categories?post=111396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/tags?post=111396"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/collection?post=111396"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/platform?post=111396"},{"taxonomy":"funnel_stage","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/funnel_stage?post=111396"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=111396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}