{"id":2253,"date":"2022-10-27T04:45:21","date_gmt":"2022-10-27T04:45:21","guid":{"rendered":"https:\/\/sunucucozumleri.com\/?p=2253"},"modified":"2022-10-20T20:50:07","modified_gmt":"2022-10-20T20:50:07","slug":"rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur","status":"publish","type":"post","link":"https:\/\/sunucucozumleri.com\/blog\/rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur\/","title":{"rendered":"RHEL 9&#8217;da Yerel Yum\/DNF Deposu Nas\u0131l Olu\u015fturulur"},"content":{"rendered":"<p>Merhaba teknisyenler, yak\u0131n zamanda Red Hat en son i\u015fletim sistemi RHEL 9&#8217;u piyasaya s\u00fcrd\u00fc. RHEL 9, hibrit bulutun t\u00fcm gereksinimlerini kar\u015f\u0131l\u0131yor.\u00a0Fiziksel sunucuya, sanal makineye ve kapsay\u0131c\u0131 g\u00f6r\u00fcnt\u00fcs\u00fcn\u00fcn i\u00e7ine kurulabilir.<\/p>\n<p>Aboneli\u011fimiz olmad\u0131\u011f\u0131nda ve POC&#8217;leri yapmak i\u00e7in paketler kurmak istedi\u011fimizde, yerel yum veya dnf deposunu kurmak kullan\u0131\u015fl\u0131 olacakt\u0131r.<\/p>\n<p>Bu k\u0131lavuzda, ad\u0131m ad\u0131m DVD veya ISO dosyas\u0131 kullanarak RHEL 9&#8217;da yerel yum\/dnf deposunun nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131 ele alaca\u011f\u0131z.<span id=\"ezoic-pub-ad-placeholder-166\" class=\"ezoic-adpicker-ad\"><\/span><br \/>\nYerel Yum\/DNF deposu olu\u015fturmak i\u00e7in \u00f6n ko\u015fullar<\/p>\n<ul>\n<li>Minimum Kurulum RHEL 9 sistemi<\/li>\n<li>Y\u00f6netici ayr\u0131cal\u0131klar\u0131na sahip Sudo Kullan\u0131c\u0131s\u0131<\/li>\n<li>\u00a0RHEL 9 DVD veya ISO dosyas\u0131<\/li>\n<\/ul>\n<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\">Makale \u0130\u00e7eri\u011fi<\/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=\"\u0130\u00e7indekiler Tablosunu A\u00e7\/Kapat\"><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-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sunucucozumleri.com\/blog\/rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur\/#1_RHEL_9_ISO_Dosyasini_veya_DVDsini_Baglayin\" >1) RHEL 9 ISO Dosyas\u0131n\u0131 veya DVD&#8217;sini Ba\u011flay\u0131n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucucozumleri.com\/blog\/rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur\/#2_%E2%80%98etcyumreposd_Dizininde_Repo_Dosyasi_Olusturun\" >2) &#8216;\/etc\/yum.repos.d\/&#8217; Dizininde Repo Dosyas\u0131 Olu\u015fturun<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sunucucozumleri.com\/blog\/rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur\/#3_Flush_YumDNF_Abonelik_Yoneticisi_Onbellegi\" >3) Flush Yum\/DNF &amp; Abonelik Y\u00f6neticisi \u00d6nbelle\u011fi<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sunucucozumleri.com\/blog\/rhel-9da-yerel-yum-dnf-deposu-nasil-olusturulur\/#4_Yerel_Depoyu_Kullanarak_Paketleri_Kurun\" >4) Yerel Depoyu Kullanarak Paketleri Kurun<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1_RHEL_9_ISO_Dosyasini_veya_DVDsini_Baglayin\"><\/span>1) RHEL 9 ISO Dosyas\u0131n\u0131 veya DVD&#8217;sini Ba\u011flay\u0131n<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>RHEL 9 iso dosyas\u0131n\u0131n sisteme zaten kopyaland\u0131\u011f\u0131n\u0131 varsay\u0131yoruz.\u00a0ISO dosyas\u0131n\u0131 \/opt\/repo\u00a0klas\u00f6r\u00fcne\u00a0ba\u011flamak i\u00e7in a\u015fa\u011f\u0131daki mount komutunu \u00e7al\u0131\u015ft\u0131r\u0131n .<\/p>\n<pre>$ sudo mkdir \/var\/repo\r\n$ sudo mount -o loop rhel-baseos-9.0-x86_64-dvd.iso \/var\/repo\/<\/pre>\n<pre><img decoding=\"async\" class=\"alignnone size-full wp-image-2254\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur.webp\" alt=\"\" width=\"1024\" height=\"381\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur.webp 1024w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur-300x112.webp 300w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur-768x286.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/pre>\n<p>DVD durumunda, \u00e7al\u0131\u015ft\u0131r\u0131n<\/p>\n<pre>$ sudo mount \/dev\/sr0 \/var\/repo\/<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2_%E2%80%98etcyumreposd_Dizininde_Repo_Dosyasi_Olusturun\"><\/span>2) &#8216;\/etc\/yum.repos.d\/&#8217; Dizininde Repo Dosyas\u0131 Olu\u015fturun<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A\u015fa\u011f\u0131daki i\u00e7erikle\u00a0\/etc\/yum.repos.d\/\u00a0klas\u00f6r\u00fc alt\u0131nda &#8216;\u00a0rhel9-local.repo\u00a0&#8216; ad\u0131nda bir repo dosyas\u0131 olu\u015fturun<\/p>\n<pre>$ sudo vi \/etc\/yum.repos.d\/rhel9-local.repo\r\n[Local-BaseOS]\r\nname=Red Hat Enterprise Linux 9 - BaseOS\r\nmetadata_expire=-1\r\ngpgcheck=1\r\nenabled=1\r\nbaseurl=file:\/\/\/var\/repo\/\/BaseOS\/\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\r\n\r\n[Local-AppStream]\r\nname=Red Hat Enterprise Linux 9 - AppStream\r\nmetadata_expire=-1\r\ngpgcheck=1\r\nenabled=1\r\nbaseurl=file:\/\/\/var\/repo\/\/AppStream\/\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release<\/pre>\n<p>Dosyay\u0131 kaydedin ve kapat\u0131n.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-2255\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur2.webp\" alt=\"\" width=\"768\" height=\"367\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur2.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur2-300x143.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"3_Flush_YumDNF_Abonelik_Yoneticisi_Onbellegi\"><\/span>3) Flush Yum\/DNF &amp; Abonelik Y\u00f6neticisi \u00d6nbelle\u011fi<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Yum veya dnf ve abonelik y\u00f6neticisi \u00f6nbelle\u011fini temizlemek i\u00e7in a\u015fa\u011f\u0131daki komutlar\u0131 y\u00fcr\u00fct\u00fcn.<\/p>\n<pre>$ sudo dnf clean all\r\n$ sudo subscription-manager clean<\/pre>\n<pre><img decoding=\"async\" class=\"alignnone size-full wp-image-2256\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur3.webp\" alt=\"\" width=\"768\" height=\"148\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur3.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur3-300x58.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/pre>\n<p>Yukar\u0131daki \u00e7\u0131kt\u0131da, &#8216; Bu sistem bir yetki ile kay\u0131tl\u0131 de\u011fil\u00a0&#8216; uyar\u0131 mesaj\u0131 al\u0131yoruz\u00a0.\u00a0Bu nedenle, bu uyar\u0131 mesaj\u0131n\u0131 bast\u0131rmak i\u00e7in &#8216;\u00a0\/etc\/yum\/pluginconf.d\/subscription-manager.conf &#8216; dosyas\u0131n\u0131 d\u00fczenleyin, &#8216;\u00a0enable=1\u00a0&#8216;\u00a0parametresini &#8216;\u00a0enable=0\u00a0&#8216; olarak de\u011fi\u015ftirin.<\/p>\n<pre>$ sudo vi \/etc\/yum\/pluginconf.d\/subscription-manager.conf<\/pre>\n<pre><img decoding=\"async\" class=\"alignnone size-full wp-image-2257\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur4.webp\" alt=\"\" width=\"768\" height=\"109\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur4.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur4-300x43.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/pre>\n<p>Dosyay\u0131 kaydedin ve \u00e7\u0131k\u0131n.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4_Yerel_Depoyu_Kullanarak_Paketleri_Kurun\"><\/span>4) Yerel Depoyu Kullanarak Paketleri Kurun<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u015eimdi hepimiz yerel depomuzu test etmeye haz\u0131r\u0131z.\u00a0Yap\u0131land\u0131rma deposunu g\u00f6r\u00fcnt\u00fclemek i\u00e7in komutun alt\u0131nda \u00e7al\u0131\u015ft\u0131r\u0131n.<\/p>\n<pre>$ sudo dnf repolist<\/pre>\n<p>\u00c7\u0131kt\u0131,<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-2258\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur5.webp\" alt=\"\" width=\"768\" height=\"115\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur5.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur5-300x45.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u015eimdi, yukar\u0131daki yerel depoyu yap\u0131land\u0131r arac\u0131l\u0131\u011f\u0131yla dnf komutunu kullanarak paketleri y\u00fcklemeyi deneyin.<\/p>\n<pre>$ sudo dnf install nfs-utils<\/pre>\n<p>\u00c7\u0131kt\u0131,<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-2259\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur6.webp\" alt=\"\" width=\"768\" height=\"434\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur6.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur6-300x170.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-2260\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur7.webp\" alt=\"\" width=\"768\" height=\"432\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur7.webp 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/10\/RHEL-9da-Yerel-YumDNF-Deposu-Nasil-Olusturulur7-300x169.webp 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/p>\n<p>M\u00fckemmel, yukar\u0131daki \u00e7\u0131kt\u0131, nfs-utils paketinin ba\u011f\u0131ml\u0131l\u0131klar\u0131yla birlikte yerel olarak yap\u0131land\u0131r\u0131lm\u0131\u015f yum veya dnf deposu arac\u0131l\u0131\u011f\u0131yla ba\u015far\u0131yla kuruldu\u011funu onaylar.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merhaba teknisyenler, yak\u0131n zamanda Red Hat en son i\u015fletim sistemi RHEL 9&#8217;u piyasaya s\u00fcrd\u00fc. RHEL 9, hibrit bulutun t\u00fcm gereksinimlerini kar\u015f\u0131l\u0131yor.\u00a0Fiziksel sunucuya, sanal makineye ve kapsay\u0131c\u0131 g\u00f6r\u00fcnt\u00fcs\u00fcn\u00fcn i\u00e7ine kurulabilir. Aboneli\u011fimiz olmad\u0131\u011f\u0131nda ve POC&#8217;leri yapmak i\u00e7in paketler kurmak istedi\u011fimizde, yerel yum veya dnf deposunu kurmak kullan\u0131\u015fl\u0131 olacakt\u0131r. Bu k\u0131lavuzda, ad\u0131m ad\u0131m DVD veya ISO dosyas\u0131 kullanarak &hellip;<\/p>\n","protected":false},"author":1,"featured_media":2254,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/2253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/comments?post=2253"}],"version-history":[{"count":0,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/2253\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media\/2254"}],"wp:attachment":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media?parent=2253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/categories?post=2253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/tags?post=2253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}