{"id":221,"date":"2022-03-20T19:13:02","date_gmt":"2022-03-21T02:13:02","guid":{"rendered":"https:\/\/my.apolonio.tech\/?p=221"},"modified":"2022-03-20T19:13:04","modified_gmt":"2022-03-21T02:13:04","slug":"base-rocky-linux-install","status":"publish","type":"post","link":"https:\/\/my.apolonio.tech\/?p=221","title":{"rendered":"Base Rocky Linux Install"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">BY LARRY APOLONIO \u00b7 October 19, 2021<br>Original Document was created October 19, 2021<br>Updated March 20, 2022 for Rocky Linux 8.5<br><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Introduction<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to build a system like the ones I use in my lab, use the Rocky-8.5-x86_64-dvd1.iso, and do a server build. I do not normally do a DVD, I use kickstart from either a custom USB (I got those for sale) or a network boot using PXE(That is covered in another document), but these instructions get you close.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Quickstart<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">This section doesn\u2019t get you there quicker but goes through essentially what is below it but without some description and the screen shots. So if you were printing something out to follow, save a tree and print the first page or two of this document.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Boot from the DVD and select Install Rocky 8<\/li><li>On the Welcome to Rocky Linux 8 screen select English\/English(United States) and click continue<\/li><li>On the Installation Summary screen, do the network &amp; hostname settings first, depending on your screen, you may need to scroll down to get to it.<\/li><li>The reason you need to set networking up first is because DATE and TIME will not have NTP available.<\/li><li>For the Software Installation, for the Base Environment select Server (no GUI)<\/li><li>For the Add-Ons for the Selected Environment Select<br>\u2022 Windows File Server<br>\u2022 File and Storage Server<br>\u2022 Network File System Client<br>\u2022 Performance Tools<br>\u2022 Remote Management for Linux<br>\u2022 System Tools<br>\u2022 Guest Agents<\/li><li>For the Installation Destination, select the hard disk you want installed and Automatic configure partitioning.<\/li><li>When all the orange warnings are gone, you can click begin installation<\/li><li>It will begin installing, while it is doing that, set the root password and create an admin user account.<\/li><li>Wait, the indicator line moves quickly at first, but it slows down at the end.<\/li><li>When Done you can click Reboot<\/li><li>After a reboot, log in as root<\/li><li>Download the list of packages to install with the following command (note the two dashes)<br>wget \u2013no-check-certificate https:\/\/my.apolonio.tech\/linux\/server85.txt<\/li><li>Install those packages using the following command, from the DVD (no updates)<br>dnf -y install $(cat server84.txt)<\/li><li>Disable selinux editing \/etc\/selinux\/config and changing<br>SELINUX=enforcing<br>to<br>SELINUX=disabled<\/li><li>Reboot<\/li><\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">Optional<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">I also prefer using older interface names of ethX so this is enabled in the kickstart, but this is how to do it manually.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Edit \/etc\/default\/grub<\/li><li>On the GRUB_CMDLINE_LINUX I add &#8220;net.ifnames=0 biosdevname=0&#8221; after swap and before rhgb<\/li><li>Run grub2-mkconfig to check config<\/li><li>Run grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/li><li>Reboot<\/li><li>Run nmtui and delete the old connection<\/li><li>Add a new ethernet connection called System eth0 with the device eth0<\/li><\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">Final<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">At this point you should be close to where the homeserver kickstart is at, I recommend running<br>Patch your server<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><br>dnf -y update<br><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And reboot one last time<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BY LARRY APOLONIO \u00b7 October 19, 2021Original Document was created October 19, 2021Updated March 20, 2022 for Rocky Linux 8.5 Introduction If you want to build a system like the ones I use in&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-linux-server"],"_links":{"self":[{"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":1,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my.apolonio.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}