{"id":8545,"date":"2023-01-28T15:32:03","date_gmt":"2023-01-28T06:32:03","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=8545"},"modified":"2023-02-19T12:48:21","modified_gmt":"2023-02-19T03:48:21","slug":"foreman-with-katello%e3%81%ae%e7%92%b0%e5%a2%83%e3%81%ab%e7%ae%a1%e7%90%86%e5%af%be%e8%b1%a1%e3%81%ae%e3%82%b5%e3%83%bc%e3%83%90%e3%82%92%e7%99%bb%e9%8c%b2%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/8545","title":{"rendered":"Foreman &#038; Katello\u306b\u7ba1\u7406\u5bfe\u8c61\u306eRHEL\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3059\u308b\uff01"},"content":{"rendered":"<p>Foreman & Katello\u306e\u74b0\u5883\u306b\u7ba1\u7406\u5bfe\u8c61\u306e\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>Foreman\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\uff01<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u7528\u3057\u3066\u3001Foreman\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<h2>Activation Keys\u753b\u9762\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>Content\u2192Activation Keys\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3057\u3001\u300cActivation Keys\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>Activation Keys\u3092\u4f5c\u6210\u3059\u308b\uff01<br \/>\nCreate Activation Key\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u300cNew Activation Key\u300d\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u4efb\u610f\u306eActivation Key\u540d\u3092\u6307\u5b9a\u3057\u3066\u3001Environment\u306eLibrary\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3001Default Organaization Vies\u3092\u6307\u5b9a\u3057\u3066\u3001\u300cSave\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<h2>Register Host\u753b\u9762\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>Hosts\u2192Register Hosts\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u3066\u3001\u300cRegister Hosts\u300d\u753b\u9762\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u751f\u6210\u3059\u308b\uff01<\/h2>\n<p>Activation Keys\u3067\u3001\u4f5c\u6210\u3057\u305f\u9375\u3092\u6307\u5b9a\u3057\u3066\u3001\u300cGenerate\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u3067\u767b\u9332\u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\uff01<\/h2>\n<p>\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u3067\u3001\u751f\u6210\u3055\u308c\u305f\u767b\u9332\u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u81ea\u5df1\u8a3c\u660e\u66f8\u306e\u8b66\u544a\u3067\u3001\u767b\u9332\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001curl\u30b3\u30de\u30f3\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u300c-k\u300d\u3092\u8ffd\u52a0\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u304c\u767b\u9332\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u7ba1\u7406\u5bfe\u8c61\u30b5\u30fc\u30d0\u304c\u8ffd\u52a0\u3055\u308c\u305f\u500b\u3092\u3001Hosts\u2192All Hosts\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u3066\u3001\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>\u3055\u3089\u306b\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3059\u308b\u306b\u306f\uff01<\/h2>\n<p>\u767b\u9332\u3059\u308b\u90fd\u5ea6\u3001\u767b\u9332\u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u751f\u6210\u3057\u3066\u3001\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u767b\u9332\u6e08\u307f\u306e\u30b5\u30fc\u30d0\u3092\u767b\u9332\u3059\u308b\u306b\u306f\uff1f<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306e\u767b\u9332\u3092\u89e3\u9664\u3057\u3066\u304b\u3089Foreman & Katello\u306b\u767b\u9332\u3057\u76f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# subscription-manager unregister\r\nUnregistering from: subscription.rhsm.redhat.com:443\/subscription\r\nSystem has been unregistered.\r\n<\/pre>\n<h2>\u30b5\u30fc\u30d0\u3092\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306e\u300cPool ID\u300d\u306b\u7d10\u4ed8\u3051\u308b\uff01<\/h2>\n<p>\u30b5\u30fc\u30d0\u3092\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306e\u300cPool ID\u300d\u306b\u7d10\u4ed8\u3051\u307e\u3059\u3002Simple content access\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u672c\u624b\u9806\u306f\u4e0d\u8981\u3067\u3059\u3002\u767b\u9332\u53ef\u80fd\u306a\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3068\u300cPool ID\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# subscription-manager list --available\r\n...\r\nPool ID: &lt;Pool ID&gt;\r\n...\r\n<\/pre>\n<p>\u300cRed Hat Developer Subscription for Individuals\u300d\u306e\u300cPool ID\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u3092\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306e\u300cPool ID\u300d\u306b\u7d10\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# subscription-manager attach --pool=&lt;Pool ID&gt;\r\nSuccessfully attached a subscription for: Red Hat Developer Subscription for Individuals\r\n<\/pre>\n<h2>\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u767b\u9332\u3055\u308c\u305f\u304b\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u767b\u9332\u3055\u308c\u305f\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf repolist\r\nUpdating Subscription Management repositories.\r\nNo repositories available\r\n<\/pre>\n<p>\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u518d\u767b\u9332\u3092\u884c\u3044\u307e\u3059\u3002\u6307\u5b9a\u3059\u308b\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u3001Foreman & Katello\u306e\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,4,12]; title: ; notranslate\" title=\"\">\r\n# subscription-manager unregister\r\nUnregistering from: satellite.loc.lab4ict.com:443\/rhsm\r\nSystem has been unregistered.\r\n# subscription-manager register\r\nRegistering to: satellite.loc.lab4ict.com:443\/rhsm\r\nUsername: admin\r\nPassword: \r\nHint: Organization &quot;Lab4ict&quot; contains following environments: Library\r\nEnvironment: Library\r\nThe system has been registered with ID: 001bd42c-5e0e-46fb-a6f8-b89bf62623b5\r\nThe registered system name is: vmsrhe06\r\n# subscription-manager attach --pool=&lt;Pool ID&gt;\r\nSuccessfully attached a subscription for: Red Hat Developer Subscription for Individuals\r\n<\/pre>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf repolist\r\nUpdating Subscription Management repositories.\r\nrepo id                                         repo name\r\nrhel-8-for-x86_64-appstream-rpms                Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)\r\nrhel-8-for-x86_64-baseos-rpms                   Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)\r\n<\/pre>\n<h2>\u3010\u88dc\u8db3\u3011RHEL\u4e0a\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u5b8c\u5168\u306b\u6d88\u53bb\u3059\u308b\uff01<\/h2>\n<p>RHEL\u3092\u518d\u767b\u9332\u3059\u308b\u5834\u5408\u306b\u3001RHEL\u4e0a\u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u5b8c\u5168\u306b\u6d88\u53bb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# subscription-manager clean\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u3053\u3053\u307e\u3067\u884c\u3046\u3068\u3001\u767b\u9332\u3057\u305f\u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u3001SSH\u3067\u306e\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3068\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.theforeman.org\/\" target=\"_blank\" rel=\"noopener\">Foreman and Katello Documentation<\/a><\/li>\n<li><a href=\"https:\/\/access.redhat.com\/documentation\/ja-jp\/red_hat_satellite\" target=\"_blank\" rel=\"noopener\">Product Documentation for Red Hat Satellite<\/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>Foreman &#038; Katello\u306e\u74b0\u5883\u306b\u7ba1\u7406\u5bfe\u8c61\u306e\u30b5\u30fc\u30d0\u3092\u767b\u9332\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":[],"class_list":["post-8545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel-packages"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8545","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=8545"}],"version-history":[{"count":0,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8545\/revisions"}],"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=8545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=8545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=8545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}