{"id":5189,"date":"2022-04-13T08:42:50","date_gmt":"2022-04-12T23:42:50","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=5189"},"modified":"2023-06-27T20:51:38","modified_gmt":"2023-06-27T11:51:38","slug":"rhel%e3%81%a7%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%81%ae%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/5189","title":{"rendered":"RHEL 8\u3067RPM\u306e\u4fdd\u7ba1\u5148\u304b\u3089\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\uff01"},"content":{"rendered":"<p>RHEL 8\u3067RPM\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u7ba1\u5148\u304b\u3089\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>createrepo\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>dnf\u30b3\u30de\u30f3\u30c9\u3067\u3001createrepo\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dnf install createrepo\r\nUpdating Subscription Management repositories.\r\nLast metadata expiration check: 0:41:18 ago on Wed 06 Apr 2022 08:50:34 AM JST.\r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                     Architecture     Version                  Repository                                  Size\r\n========================================================================================================================\r\nInstalling:\r\n createrepo_c                x86_64           0.17.2-3.el8             rhel-8-for-x86_64-appstream-rpms            89 k\r\nInstalling dependencies:\r\n createrepo_c-libs           x86_64           0.17.2-3.el8             rhel-8-for-x86_64-appstream-rpms           115 k\r\n drpm                        x86_64           0.4.1-3.el8              rhel-8-for-x86_64-appstream-rpms            68 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  3 Packages\r\n\r\nTotal download size: 271 k\r\nInstalled size: 575 k\r\nIs this ok &#x5B;y\/N]: y\r\nDownloading Packages:\r\n(1\/3): drpm-0.4.1-3.el8.x86_64.rpm                                                      172 kB\/s |  68 kB     00:00    \r\n(2\/3): createrepo_c-0.17.2-3.el8.x86_64.rpm                                             216 kB\/s |  89 kB     00:00    \r\n(3\/3): createrepo_c-libs-0.17.2-3.el8.x86_64.rpm                                        253 kB\/s | 115 kB     00:00    \r\n------------------------------------------------------------------------------------------------------------------------\r\nTotal                                                                                   591 kB\/s | 271 kB     00:00     \r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                                                                1\/1 \r\n  Installing       : drpm-0.4.1-3.el8.x86_64                                                                        1\/3 \r\n  Installing       : createrepo_c-libs-0.17.2-3.el8.x86_64                                                          2\/3 \r\n  Installing       : createrepo_c-0.17.2-3.el8.x86_64                                                               3\/3 \r\n  Running scriptlet: createrepo_c-0.17.2-3.el8.x86_64                                                               3\/3 \r\n  Verifying        : drpm-0.4.1-3.el8.x86_64                                                                        1\/3 \r\n  Verifying        : createrepo_c-0.17.2-3.el8.x86_64                                                               2\/3 \r\n  Verifying        : createrepo_c-libs-0.17.2-3.el8.x86_64                                                          3\/3 \r\nInstalled products updated.\r\n\r\nInstalled:\r\n  createrepo_c-0.17.2-3.el8.x86_64         createrepo_c-libs-0.17.2-3.el8.x86_64         drpm-0.4.1-3.el8.x86_64        \r\n\r\nComplete!\r\n<\/pre>\n<h2>rpm\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3059\u308b\uff01<\/h2>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u3059\u308brpm\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u300c\/root\/rpms\/Packages\u300d\u306brpm\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b\uff01<\/h2>\n<p>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3001rpm\u3092\u4fdd\u7ba1\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# # createrepo \/root\/rpms\r\nDirectory walk started\r\nDirectory walk done - 551 packages\r\nTemporary output repo path: \/root\/rpms\/.repodata\/\r\nPreparing sqlite DBs\r\nPool started (with 5 workers)\r\nPool finished\r\n<\/pre>\n<h2>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5b9a\u7fa9\u3092\u4f5c\u6210\u3059\u308b\uff01<\/h2>\n<p>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5b9a\u7fa9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;Local]\r\nname=Local                          \r\nbaseurl=file:\/\/\/root\/rpms\r\ngpgcheck=1\r\nenabled=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\r\n<\/pre>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u3057\u3066\u8a8d\u8b58\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dnf repolist\r\n&#x5B;root@vmsaca02 rpms]# dnf repolist\r\nUpdating Subscription Management repositories.\r\nUnable to read consumer identity\r\n\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\n\r\nBad id for repo: \/code, byte = \/ 0\r\nrepo id                                                   repo name\r\nLocal                                           Local\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u672c\u7a3f\u3067\u306f\u3001createrepo\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001rpm\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.redhat.com\/en\/technologies\/linux-platforms\/enterprise-linux\" target=\"_blank\" rel=\"noopener\">Red Hat Enterprise Linux<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/4965\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_rhel_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H8WqP7\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41Hsgz5kRSL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RHEL 8\u3067RPM\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u7ba1\u5148\u304b\u3089\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5291,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[204],"tags":[308,315,316,319,320],"class_list":["post-5189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel-packages","tag-rhel","tag-rhel-8","tag-rpm","tag-319","tag-320"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=5189"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5189\/revisions"}],"predecessor-version":[{"id":12645,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5189\/revisions\/12645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5291"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=5189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=5189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=5189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}