{"id":318,"date":"2023-01-22T16:12:00","date_gmt":"2023-01-22T15:12:00","guid":{"rendered":"https:\/\/securityeye.wordifysites.com\/?p=318"},"modified":"2024-02-23T11:18:18","modified_gmt":"2024-02-23T10:18:18","slug":"rocky-linux","status":"publish","type":"post","link":"https:\/\/swissmakers.ch\/en\/rocky-linux\/","title":{"rendered":"Rocky Linux 8 - The replacement for CentOS 8"},"content":{"rendered":"<p><strong>Rocky Linux<\/strong> is an open source project focussed on creating a <strong>free of charge<\/strong> and <strong>reliable<\/strong> <strong>Alternative<\/strong> to <strong>Red Hat Enterprise Linux<\/strong> (<strong>RHEL<\/strong>) to offer.<\/p>\n\n\n\n<p>It is based on the <strong>Source code<\/strong> from <strong>CentOS 8<\/strong> and was founded by the former President and CEO of CentOS, <strong>Gregory Kurtzer<\/strong>, was launched.<\/p>\n\n\n\n<p>The background to the creation of Rocky Linux was that <strong>Red Hat, <\/strong>the company behind RHEL,<strong> has decided to discontinue support for CentOS 8.<\/strong><\/p>\n\n\n\n<p>This has the consequence that <strong>Users<\/strong>which are currently still <strong>CentOS 8<\/strong> on their servers, <strong>No security updates<\/strong> more and so <strong>forced<\/strong> are, to the <strong>Expensive enterprise solution<\/strong> from Red Hat or to switch to <strong>another distribution<\/strong> to <strong>migrate<\/strong>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote zitate is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Rocky Linux offers <\/strong>the same <strong>look &amp; feel like Red Hat<\/strong>but is predominantly community-based supported<strong>.<\/strong><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"die-migration-zu-rocky-8\">The migration to Rocky 8<\/h2>\n\n\n\n<p>The easiest way to migrate to Rocky Linux 8 is to use the tool published by Rocky Linux \"<code>migrate2rocky<\/code>\" used.<br>Link to the documentation: <a href=\"https:\/\/docs.rockylinux.org\/guides\/migrate2rocky\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.rockylinux.org\/guides\/migrate2rocky\/<\/a><\/p>\n\n\n\n<p>This tool is basically a <strong>Bash script<\/strong>which was generously provided by <strong>Rocky Linux co-developed<\/strong> has been developed to <strong>Migration<\/strong> from old CentOS 8 distributions to Rocky Linux 8 <strong>Simplify<\/strong>.<\/p>\n\n\n\n<p>The script <strong>Automates all steps of the migration<\/strong>. So it leads <strong>automatically an upgrade<\/strong> of all repositories to those of Rocky Linux. It replaces all packages that are no longer supported and updates the remaining ones. Last but not least, the <strong>Kernel replaced by this one from Rocky Linux<\/strong> and the old unsupported kernel versions deleted.<\/p>\n\n\n\n<p><strong>Please note that migrating from one distribution to another may lead to incompatibilities. This applies in particular when using third-party manufacturer packages.<\/strong> It is therefore recommended to test the system thoroughly after the upgrade to ensure that everything is working properly.<\/p>\n\n\n\n<p>Here are the steps you need to take to perform the migration:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Back up your data<\/strong>Before you start the migration, you should definitely create a backup of your data or, in the case of a VM, a snapshot to ensure that you do not lose any important data or that the systems can be restored if the migration is cancelled.<\/li>\n\n\n\n<li><strong>Preparation of migrate2rocky<\/strong>: You can use the tool <code>migrate2rocky<\/code> with the following CURL command and download it by executing <code>chmod +x<\/code> then make it executable for your Linux system:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background has-link-color wp-elements-f92402d382669adb8fa73ba1df44acae\"><code lang=\"vim\" class=\"language-vim\"># curl -L https:\/\/raw.githubusercontent.com\/RockyLinux\/migrate2rocky\/main\/migrate2rocky -o \/usr\/local\/bin\/migrate2rocky\n# chmod +x \/usr\/local\/bin\/migrate2rocky<\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Executing the migration process<\/strong>: To start the migration <code>migrate2rocky<\/code> on your <strong>CentOS 8 system<\/strong> as shown below. Important to mention: the <code>#<\/code> symbolises that we execute our commands as root. If you are not generally logged in as root, please use the following command to start the migration <code>sudo .\/migrate2rocky<\/code>.<br>Once the migration process is complete, the Linux system is automatically rebooted.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background has-link-color wp-elements-5d15a2d4ac975152a30d0b1415224b73\"><code lang=\"vim\" class=\"language-vim\"># .\/migrate2rocky<\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><strong>First update after the migration<\/strong>: After the migration and the first boot, it is recommended to restart the system using<br><code># dnf update -y<\/code> to <strong>update<\/strong> and again to <strong>reboot<\/strong>. If this procedure runs without problems, everything should be fine with the Linux system itself.<\/li>\n\n\n\n<li><strong>Checking the services<\/strong>After the reboot, check all important services on your system to ensure that all applications, such as an Apache web server, MySQL, PHP, etc., are working properly. are working properly.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"vorteile-nachteile\">Why not go straight to Red Hat?<\/h2>\n\n\n\n<p>A <strong>Advantage<\/strong> from <strong>Rocky Linux<\/strong> compared to Red Hat is that it <strong>free of charge<\/strong> is and no <strong>Licence fees<\/strong> requires. It also offers a longer support period than Red Hat, which makes it more attractive for companies planning their IT infrastructure for the long term.<\/p>\n\n\n\n<p>A <strong>Disadvantage<\/strong> from <strong>Rocky Linux<\/strong> is that it may not offer as much enterprise support out-of-the-box as <strong>Red Hat<\/strong> (manufacturer offers). If there are no Linux experts employed in-house who can solve any problems that may arise, it will be difficult.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fazit\">Conclusion<\/h2>\n\n\n\n<p>Overall offers <strong>Rocky Linux<\/strong> an excellent option for users who are forced to switch from <strong>CentOS 8<\/strong> migrate away. Support for your services can thus continue seamlessly in most cases, <strong>without having to switch to expensive enterprise solutions<\/strong> to have to.<\/p>\n\n\n\n<p>If the worst comes to the worst, Swissmakers GmbH can also help you at any time with all your Linux-related concerns. Rocky Linux, Red Hat, security, migrations and hardening.<\/p>","protected":false},"excerpt":{"rendered":"<p>Rocky Linux is an open source project focussed on providing a free and reliable alternative to ... <\/p>\n<p class=\"read-more-container\"><a title=\"Rocky Linux 8 - The replacement for CentOS 8\" class=\"read-more button\" href=\"https:\/\/swissmakers.ch\/en\/rocky-linux\/#more-318\" aria-label=\"Read more about Rocky Linux 8 - The replacement for CentOS 8\">Read more<\/a><\/p>","protected":false},"author":2,"featured_media":1540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","footnotes":""},"categories":[55,1,26],"tags":[33,41],"class_list":["post-318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-allgemein","category-enginering","tag-linux","tag-rocky-linux","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"taxonomy_info":{"category":[{"value":55,"label":"Linux"},{"value":1,"label":"Allgemein"},{"value":26,"label":"Engineering"}],"post_tag":[{"value":33,"label":"linux"},{"value":41,"label":"rocky linux"}]},"featured_image_src_large":["https:\/\/swissmakers.ch\/wp-content\/uploads\/2022\/04\/AdobeStock_130008-scaled-1-1024x683.webp",1024,683,true],"author_info":{"display_name":"Michael Reber","author_link":"https:\/\/swissmakers.ch\/en\/author\/michael\/"},"comment_info":0,"category_info":[{"term_id":55,"name":"Linux","slug":"linux","term_group":0,"term_taxonomy_id":55,"taxonomy":"category","description":"","parent":0,"count":10,"filter":"raw","cat_ID":55,"category_count":10,"category_description":"","cat_name":"Linux","category_nicename":"linux","category_parent":0},{"term_id":1,"name":"Allgemein","slug":"allgemein","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":3,"filter":"raw","cat_ID":1,"category_count":3,"category_description":"","cat_name":"Allgemein","category_nicename":"allgemein","category_parent":0},{"term_id":26,"name":"Engineering","slug":"enginering","term_group":0,"term_taxonomy_id":26,"taxonomy":"category","description":"","parent":0,"count":5,"filter":"raw","cat_ID":26,"category_count":5,"category_description":"","cat_name":"Engineering","category_nicename":"enginering","category_parent":0}],"tag_info":[{"term_id":33,"name":"linux","slug":"linux","term_group":0,"term_taxonomy_id":33,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw"},{"term_id":41,"name":"rocky linux","slug":"rocky-linux","term_group":0,"term_taxonomy_id":41,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":16,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":6880,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/posts\/318\/revisions\/6880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/media\/1540"}],"wp:attachment":[{"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swissmakers.ch\/en\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}