{"id":4990,"date":"2013-07-26T11:24:29","date_gmt":"2013-07-26T08:24:29","guid":{"rendered":"http:\/\/www.koraykey.com\/?p=4990"},"modified":"2013-07-26T11:24:29","modified_gmt":"2013-07-26T08:24:29","slug":"linux-isletim-sistemlerinde-kullanilmayan-eski-kernel-modulunun-kaldirilmasi","status":"publish","type":"post","link":"https:\/\/www.koraykey.com\/?p=4990","title":{"rendered":"Linux \u0130\u015fletim Sistemlerinde Kullan\u0131lmayan Eski Kernel Mod\u00fcl\u00fcn\u00fcn Kald\u0131r\u0131lmas\u0131"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-797\" alt=\"LinuxAll\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg\" width=\"250\" height=\"250\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg 250w, https:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll-150x150.jpg 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Bu makalemizde &#8220;Linux \u0130\u015fletim Sistemlerinde Kullan\u0131lmayan Eski Kernel Mod\u00fcl\u00fcn\u00fcn Kald\u0131r\u0131lmas\u0131&#8221; konusunu inceleyece\u011fiz. Linux i\u015fletim sistemimizin g\u00fcncelledi\u011fimizde veya yeni bir kernel mod\u00fcl\u00fc y\u00fcklendi\u011finde sistemimiz varsay\u0131lan ayara g\u00f6re 3 veya daha fazla \u00f6nceki kernel mod\u00fcl\u00fcn\u00fc bir sorun \u00e7\u0131kt\u0131\u011f\u0131nda geri d\u00f6n\u00fclebilmesi amac\u0131 ile saklar. Bu makalemizde eski kalan kernel mod\u00fcllerinin kald\u0131r\u0131lmas\u0131 ve varsay\u0131lan olarak ka\u00e7 adet kernel versiyonunun saklanaca\u011f\u0131n\u0131 yap\u0131land\u0131raca\u011f\u0131z.<\/span><\/p>\n<p style=\"text-align: justify;\">1. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">\u00d6ncelikle sistemimizde mevcut olan kernel mod\u00fcllerini sorgulayal\u0131m.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimizde mevcut olan kernel mod\u00fcllerini g\u00f6rebilmek i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># rpm -q kernel<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-2.6.32-358.el6.x86_64\t\t---&gt; Eski Kernel Mod\u00fcl\u00fc<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-2.6.32-358.11.1.el6.x86_64\t---&gt; Eski Kernel Mod\u00fcl\u00fc<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-2.6.32-358.14.1.el6.x86_64\t---&gt; Yeni Kernel Mod\u00fcl\u00fc<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- G\u00f6rd\u00fc\u011f\u00fcm\u00fcz gibi 1'i g\u00fcncel 2'si eski toplam 3 adet kernel versiyonu sistemimizde\r\nmevcut.<\/span><\/pre>\n<p style=\"text-align: justify;\">2.<span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"> Sistemimizdeki eski kernel mod\u00fcllerini kald\u0131rmak i\u00e7in a\u015fa\u011f\u0131daki i\u015flemleri uygulamal\u0131y\u0131z.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Bu i\u015flemi yapabilmek i\u00e7in sistemimize a\u015fa\u011f\u0131daki paketi kurmal\u0131y\u0131z.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># yum install yum-utils<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimizdeki eski kernel mod\u00fcllerini kald\u0131rmak ve 2 adet kernel mod\u00fcl\u00fcn\u00fc <\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">tutmak\r\ni\u00e7in a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131rmal\u0131y\u0131z. Bu i\u015flemle varsay\u0131lan olarak 1 yeni ve 1 eski\r\nolmak <\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">\u00fczere sistemimizde 2 kernel mod\u00fcl\u00fc tutulacakt\u0131r.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># package-cleanup -y --oldkernels --count=2<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Loaded plugins: kabi, presto, refresh-packagekit, versionlock<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Loading support for kernel ABI<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">--&gt; Running transaction check<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">---&gt; Package kernel.x86_64 0:2.6.32-358.el6 will be erased<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">---&gt; Package kernel-devel.x86_64 0:2.6.32-358.el6 will be erased<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">--&gt; Finished Dependency Resolution<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">.<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">.<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">.<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Removed:<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel.x86_64 0:2.6.32-358.el6<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-devel.x86_64 0:2.6.32-358.el6<\/span><\/pre>\n<p style=\"text-align: justify;\">3. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Uygulad\u0131\u011f\u0131m\u0131z i\u015flemlerin ard\u0131ndan sistemimizde kalan kernel mod\u00fcllerini sorgulayal\u0131p ve bu ayarlar\u0131n hangi yap\u0131land\u0131rma dosyas\u0131nda oldu\u011funu inceleyebiliriz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Kalan kernel mod\u00fcllerimizi sorgulamak i\u00e7in a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131rmal\u0131y\u0131z.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># rpm -q kernel<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-2.6.32-358.11.1.el6.x86_64\t---&gt; Eski Kernel Mod\u00fcl\u00fc<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kernel-2.6.32-358.14.1.el6.x86_64\t---&gt; Yeni Kernel Mod\u00fcl\u00fc<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- G\u00f6rd\u00fc\u011f\u00fcm\u00fcz gibi 1 adet yeni 1 adet eski olmak \u00fczere sistemimizde 2 tane kernel\r\nmod\u00fcl\u00fc <\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">tutulmaktad\u0131r.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimizde g\u00fcncellemeler sonras\u0131 ka\u00e7 adet kernel tutulaca\u011f\u0131n\u0131 \"\/etc\/yum.conf\"\r\ndosyas\u0131nda <\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">belirleyebiliriz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># vim \/etc\/yum.conf<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">installonly_limit=2<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Yukar\u0131daki parametreyi \"2\" olarak ayarlad\u0131\u011f\u0131m\u0131zda sistemimizde 1 yeni ve 1 eski\r\nolmak \u00fczere <\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">toplam 2 adet kernel mod\u00fcl\u00fc tutulacakt\u0131r.<\/span><\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Bu makalemizde &#8220;Linux \u0130\u015fletim Sistemlerinde Kullan\u0131lmayan Eski Kernel Mod\u00fcl\u00fcn\u00fcn Kald\u0131r\u0131lmas\u0131&#8221; konusunu inceledik. Bu makalemizdeki i\u015flemler &#8220;CentOS&#8221; Linux i\u015fletim sisteminde uygulanm\u0131\u015ft\u0131r. Bu i\u015flemler Red Hat t\u00fcrevi (CentOS, Oracle Linux vb.) i\u015fletim sistemlerinde ayn\u0131d\u0131r.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Bir sonraki makalemizde g\u00f6r\u00fc\u015fmek dile\u011fiyle\u2026<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu makalemizde &#8220;Linux \u0130\u015fletim Sistemlerinde Kullan\u0131lmayan Eski Kernel Mod\u00fcl\u00fcn\u00fcn Kald\u0131r\u0131lmas\u0131&#8221; konusunu inceleyece\u011fiz. Linux i\u015fletim sistemimizin g\u00fcncelledi\u011fimizde veya yeni bir kernel mod\u00fcl\u00fc y\u00fcklendi\u011finde sistemimiz varsay\u0131lan ayara g\u00f6re 3 veya daha fazla \u00f6nceki kernel mod\u00fcl\u00fcn\u00fc bir sorun \u00e7\u0131kt\u0131\u011f\u0131nda geri d\u00f6n\u00fclebilmesi amac\u0131 ile &hellip; <a href=\"https:\/\/www.koraykey.com\/?p=4990\">Okumaya devam et <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[741,21,290,20,19,735,739,738,736,740,737],"class_list":["post-4990","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-guncellenen-kerneli-kaldirma","tag-h-koray-gunduz","tag-halil-koray-gunduz","tag-koray-gunduz","tag-koraykey","tag-linux-eski-kernel-kaldirma","tag-linux-eski-kerneller","tag-linux-guncelleme-sonrasi-kernel-kaldirma","tag-linux-kernel-kaldirma","tag-linux-kullanilmayan-kernel-kaldirma","tag-linux-remove-old-kernels"],"_links":{"self":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts\/4990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4990"}],"version-history":[{"count":0,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts\/4990\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}