{"id":14175,"date":"2023-08-25T07:29:56","date_gmt":"2023-08-24T22:29:56","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14175"},"modified":"2023-08-27T23:01:45","modified_gmt":"2023-08-27T14:01:45","slug":"rhel-8%e3%81%a7cockpit%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14175","title":{"rendered":"RHEL 8\u3067Cockpit\u3092\u6709\u52b9\u5316\u3059\u308b\uff01"},"content":{"rendered":"<p>RHEL 8\u3067Cockpit\u3092\u5229\u7528\u3059\u308b\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# hostnamectl\r\n   Static hostname: vmsrhe11.loc.lab4ict.com\r\n         Icon name: computer-vm\r\n           Chassis: vm\r\n        Machine ID: 1b376bee9ce244d2a1ede743dadfd4a5\r\n           Boot ID: 3b1bbe07261e45dea79c7ed1f0dc0b88\r\n    Virtualization: oracle\r\n  Operating System: Red Hat Enterprise Linux 8.6 (Ootpa)\r\n       CPE OS Name: cpe:\/o:redhat:enterprise_linux:8::baseos\r\n            Kernel: Linux 4.18.0-372.9.1.el8.x86_64\r\n      Architecture: x86-64\r\n<\/pre>\n<h2>Cockpit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>Cockpit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\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# rpm -qa | grep cockpit\r\ncockpit-264.1-1.el8.x86_64\r\ncockpit-bridge-264.1-1.el8.x86_64\r\nsubscription-manager-cockpit-1.28.29-3.el8.noarch\r\ncockpit-system-264.1-1.el8.noarch\r\ncockpit-podman-43-1.module+el8.6.0+14673+621cb8be.noarch\r\ncockpit-ws-264.1-1.el8.x86_64\r\ncockpit-packagekit-264.1-1.el8.noarch\r\ncockpit-storaged-264.1-1.el8.noarch\r\n<\/pre>\n<p>Cockpit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# dnf install cockpit -y\r\n<\/pre>\n<h2>Cockpit\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>Cockpit\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u81ea\u52d5\u8d77\u52d5\u306b\u8a2d\u5b9a\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,3]; title: ; notranslate\" title=\"\">\r\n# systemctl enable --now cockpit.socket\r\nCreated symlink \/etc\/systemd\/system\/sockets.target.wants\/cockpit.socket \u2192 \/usr\/lib\/systemd\/system\/cockpit.socket.\r\n# systemctl status cockpit.socket\r\n\u25cf cockpit.socket - Cockpit Web Service Socket\r\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/cockpit.socket; enabled; vendor preset: disabled)\r\n   Active: active (listening) since Fri 2023-08-25 07:12:10 JST; 36s ago\r\n     Docs: man:cockpit-ws(8)\r\n   Listen: &#x5B;::]:9090 (Stream)\r\n  Process: 27148 ExecStartPost=\/bin\/ln -snf active.motd \/run\/cockpit\/motd (code=exited, status=0\/SUCCESS)\r\n  Process: 27141 ExecStartPost=\/usr\/share\/cockpit\/motd\/update-motd  localhost (code=exited, status=0\/SUCCESS)\r\n    Tasks: 0 (limit: 62236)\r\n   Memory: 944.0K\r\n   CGroup: \/system.slice\/cockpit.socket\r\n<\/pre>\n<h2>Firewalld\u306e\u901a\u4fe1\u8a31\u53ef\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>Firewalld\u306e\u901a\u4fe1\u8a31\u53ef\u8a2d\u5b9a\u304c\u884c\u308f\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# sudo firewall-cmd --list-services\r\ncockpit dhcpv6-client ssh\r\n<\/pre>\n<p>\u901a\u4fe1\u8a31\u53ef\u8a2d\u5b9a\u304c\u3055\u308c\u3066\u3044\u306a\u3044\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,3,5]; title: ; notranslate\" title=\"\">\r\n# firewall-cmd --add-service=cockpit --permanent\r\nsuccess\r\n# firewall-cmd --reload\r\nsuccess\r\n# sudo firewall-cmd --list-services\r\ncockpit dhcpv6-client ssh\r\n<\/pre>\n<h2>\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\uff01<\/h2>\n<p>9090\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nhttps:\/\/vmsrhe11.loc.lab4ict.com:9090\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Cockpit\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14353\" ><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\u3011Cockpit\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3059\u308b\uff01\uff08Linux\uff09\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/06\/fia0000001-150x150.gif\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Cockpit\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3059\u308b\uff01\uff08Linux\uff09<\/div><div class=\"substr\">Cockpit\u3092\u4f7f\u7528\u3057\u3066\u3001OS\u3092\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/11526\" ><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 8\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 8\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL 8\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\/48CJTzL\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source lazyload\" data-src=\"https:\/\/m.media-amazon.com\/images\/I\/41cVV6Rkp2L._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RHEL 8\u3067Cockpit\u3092\u5229\u7528\u3059\u308b\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[955],"tags":[953,315,52,507,944,929,443],"class_list":["post-14175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cockpit","tag-cockpit","tag-rhel-8","tag-52","tag-507","tag-944","tag-929","tag-443"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14175","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=14175"}],"version-history":[{"count":14,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14175\/revisions"}],"predecessor-version":[{"id":14370,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14175\/revisions\/14370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=14175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}