{"id":438,"date":"2024-05-28T18:30:00","date_gmt":"2024-05-28T09:30:00","guid":{"rendered":"https:\/\/seuheu.com\/?p=438"},"modified":"2024-05-23T22:09:58","modified_gmt":"2024-05-23T13:09:58","slug":"rocky9-local-repository-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/seuheu.com\/?p=438","title":{"rendered":"[Rocky] local repository \uc124\uc815"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"[Rocky] local repository \uc124\uc815\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/-shTZacwUCo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><br><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\ubaa9\ucc28<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\ubaa9\ucc28 \ud1a0\uae00\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/seuheu.com\/?p=438\/#1_%EB%B2%84%EC%A0%84\" >1. \ubc84\uc804<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/seuheu.com\/?p=438\/#2_%EC%84%A4%EB%AA%85\" >2. \uc124\uba85<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/seuheu.com\/?p=438\/#2-1_repository_%EC%84%A4%EB%AA%85\" >2-1. repository \uc124\uba85<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/seuheu.com\/?p=438\/#3_Local_Repository\" >3. Local Repository<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/seuheu.com\/?p=438\/#3-1_%EA%B8%B0%EC%A1%B4_repo_%EB%B0%B1%EC%97%85\" >3-1. \uae30\uc874 repo \ubc31\uc5c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/seuheu.com\/?p=438\/#3-2_repo_%ED%99%95%EC%9D%B8\" >3-2. repo \ud655\uc778<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/seuheu.com\/?p=438\/#3-3_ISO_%EB%A7%88%EC%9A%B4%ED%8A%B8\" >3-3. ISO \ub9c8\uc6b4\ud2b8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/seuheu.com\/?p=438\/#3-4_local_repo_%EC%83%9D%EC%84%B1\" >3-4. local repo \uc0dd\uc131<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/seuheu.com\/?p=438\/#3-5_repo_%ED%99%95%EC%9D%B8\" >3-5. repo \ud655\uc778<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/seuheu.com\/?p=438\/#3-6_%EC%B6%94%EA%B0%80_repo_%EC%83%9D%EC%84%B1\" >3-6. \ucd94\uac00 repo \uc0dd\uc131<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/seuheu.com\/?p=438\/#4_%ED%85%8C%EC%8A%A4%ED%8A%B8\" >4. \ud14c\uc2a4\ud2b8<\/a><\/li><\/ul><\/nav><\/div>\n<br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-center\" id=\"1-%EB%B2%84%EC%A0%84\"><span class=\"ez-toc-section\" id=\"1_%EB%B2%84%EC%A0%84\"><\/span>1. \ubc84\uc804<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"has-text-align-center\">Rocky-9.2<\/p>\n\n\n\n<p><br><br><br><br><br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-center\" id=\"2-%EC%84%A4%EB%AA%85\"><span class=\"ez-toc-section\" id=\"2_%EC%84%A4%EB%AA%85\"><\/span>2. \uc124\uba85<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p><br><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\" id=\"2-1-repository-%EC%84%A4%EB%AA%85\"><span class=\"ez-toc-section\" id=\"2-1_repository_%EC%84%A4%EB%AA%85\"><\/span>2-1. repository \uc124\uba85<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\">Rocky 8 \ubc84\uc804\ubd80\ud130\ub294 2\uac1c\uc758 repository\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-text-align-center\">BaseOS<br>&#8211; \uc6b4\uc601\uccb4\uc81c\uc758 \uae30\ubc18\uc774 \ub418\ub294 \uae30\ubcf8 \uae30\ub2a5\uc758 \ucf54\uc5b4 \uc138\ud2b8\ub97c \uc81c\uacf5\ud558\ub294 \ub370 \uc0ac\uc6a9<br><br>AppStream<br>&#8211; \uc6b4\uc601 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc218\ud589 \uac00\ub2a5\ud55c Application, \ub7f0\ud0c0\uc784 \uc5b8\uc5b4 \ubc0f \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub4f1\uc774 \ud3ec\ud568<\/p>\n\n\n\n<p><br><br><br><br><br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-center\" id=\"3-local-repository\"><span class=\"ez-toc-section\" id=\"3_Local_Repository\"><\/span>3. Local Repository<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p><br><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\" id=\"3-1-%EA%B8%B0%EC%A1%B4-repo-%EB%B0%B1%EC%97%85\"><span class=\"ez-toc-section\" id=\"3-1_%EA%B8%B0%EC%A1%B4_repo_%EB%B0%B1%EC%97%85\"><\/span>3-1. \uae30\uc874 repo \ubc31\uc5c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># mkdir \/etc\/yum.repos.d\/repo_backup<br># mv \/etc\/yum.repos.d\/*.repo \/etc\/yum.repos.d\/repo_backup\/<\/p>\n\n\n\n<p><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\"><span class=\"ez-toc-section\" id=\"3-2_repo_%ED%99%95%EC%9D%B8\"><\/span>3-2. repo \ud655\uc778<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># dnf repolist<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>No repositories available<\/code><\/pre>\n\n\n\n<p><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\"><span class=\"ez-toc-section\" id=\"3-3_ISO_%EB%A7%88%EC%9A%B4%ED%8A%B8\"><\/span>3-3. ISO \ub9c8\uc6b4\ud2b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># mount Rocky-9.2-x86_64-dvd.iso \/mnt\/<\/p>\n\n\n\n<p><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\" id=\"3-4-local-repo-%EC%83%9D%EC%84%B1\"><span class=\"ez-toc-section\" id=\"3-4_local_repo_%EC%83%9D%EC%84%B1\"><\/span>3-4. local repo \uc0dd\uc131<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># dnf config-manager &#8211;add-repo file:\/\/\/mnt\/BaseOS<br># ls \/etc\/yum.repos.d\/<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mnt_BaseOS.repo  repo_backup<\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-text-align-center\"># echo &#8220;gpgcheck=0&#8221; >> \/etc\/yum.repos.d\/mnt_BaseOS.repo<br># cat \/etc\/yum.repos.d\/mnt_BaseOS.repo<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;mnt_BaseOS]\nname=created by dnf config-manager from file:\/\/\/mnt\/BaseOS\nbaseurl=file:\/\/\/mnt\/BaseOS\nenabled=1\ngpgcheck=0<\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-text-align-center\">name: repo \uc774\ub984<br>baseurl: package, repodata \uc704\uce58<br>enabled: repo \ud65c\uc131, \ube44\ud65c\uc131 \uc124\uc815<br>gpgcheck: GPG \uc11c\uba85 \uc0ac\uc6a9<br><br>\u203b GPG(GNU Privacy Guard)<br>&#8211; rpm package\ub97c \uc778\uc99d\ud558\ub294\ub370 \uc0ac\uc6a9\ud558\ub294 \uc554\ud638\ud654 \uc11c\uba85<\/p>\n\n\n\n<p><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\"><span class=\"ez-toc-section\" id=\"3-5_repo_%ED%99%95%EC%9D%B8\"><\/span>3-5. repo \ud655\uc778<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># dnf repolist<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>repo id        repo name\nmnt_BaseOS     created by dnf config-manager from file:\/\/\/mnt\/BaseOS<\/code><\/pre>\n\n\n\n<p><br><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\"><span class=\"ez-toc-section\" id=\"3-6_%EC%B6%94%EA%B0%80_repo_%EC%83%9D%EC%84%B1\"><\/span>3-6. \ucd94\uac00 repo \uc0dd\uc131<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-text-align-center\"># dnf config-manager &#8211;add-repo file:\/\/\/mnt\/AppStream<br># echo &#8220;gpgcheck=0&#8221; >> \/etc\/yum.repos.d\/mnt_AppStream.repo<br># dnf repolist<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>repo id        repo name\nmnt_AppStream  created by dnf config-manager from file:\/\/\/mnt\/AppStream\nmnt_BaseOS     created by dnf config-manager from file:\/\/\/mnt\/BaseOS<\/code><\/pre>\n\n\n\n<p><br><br><br><br><br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-center\"><span class=\"ez-toc-section\" id=\"4_%ED%85%8C%EC%8A%A4%ED%8A%B8\"><\/span>4. \ud14c\uc2a4\ud2b8<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"has-text-align-center\"># dnf search nfs<br># dnf -y install nfs-utils<br># rpm -qa | grep nfs-utils<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nfs-utils-2.5.4-18.el9.x86_64<\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubc84\uc804 Rocky-9.2 2. \uc124\uba85 2-1. repository \uc124\uba85 Rocky 8 \ubc84\uc804\ubd80\ud130\ub294 2\uac1c\uc758 repository\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. BaseOS&#8211; \uc6b4\uc601\uccb4\uc81c\uc758 \uae30\ubc18\uc774 \ub418\ub294 \uae30\ubcf8 \uae30\ub2a5\uc758 \ucf54\uc5b4 \uc138\ud2b8\ub97c \uc81c\uacf5\ud558\ub294 \ub370 \uc0ac\uc6a9 AppStream&#8211; \uc6b4\uc601 \uc11c\ube44\uc2a4\uc5d0\uc11c \uc218\ud589 \uac00\ub2a5\ud55c Application, \ub7f0\ud0c0\uc784 \uc5b8\uc5b4 \ubc0f \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub4f1\uc774 \ud3ec\ud568 3. Local Repository 3-1. \uae30\uc874 repo \ubc31\uc5c5 # mkdir \/etc\/yum.repos.d\/repo_backup# mv \/etc\/yum.repos.d\/*.repo \/etc\/yum.repos.d\/repo_backup\/ 3-2. repo \ud655\uc778 # dnf &#8230; <a title=\"[Rocky] local repository \uc124\uc815\" class=\"read-more\" href=\"https:\/\/seuheu.com\/?p=438\" aria-label=\"[Rocky] local repository \uc124\uc815\uc5d0 \ub300\ud574 \ub354 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694\">\ub354 \uc77d\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-linux","category-rocky"],"_links":{"self":[{"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seuheu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":7,"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":464,"href":"https:\/\/seuheu.com\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions\/464"}],"wp:attachment":[{"href":"https:\/\/seuheu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seuheu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seuheu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}