{"id":14349,"date":"2023-08-27T17:10:16","date_gmt":"2023-08-27T08:10:16","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14349"},"modified":"2023-08-27T17:53:52","modified_gmt":"2023-08-27T08:53:52","slug":"rocky-linux-9%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\/14349","title":{"rendered":"Rocky Linux 9\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: vmswww01.loc.lab4ict.com\r\n       Icon name: computer-vm\r\n         Chassis: vm\r\n      Machine ID: c5cfb03d2529409da1a18560f71e844a\r\n         Boot ID: b609550d81f54af2aab7ef7f99c8d7e9\r\n  Virtualization: oracle\r\nOperating System: Rocky Linux 9.1 (Blue Onyx)      \r\n     CPE OS Name: cpe:\/o:rocky:rocky:9::baseos\r\n          Kernel: Linux 5.14.0-162.6.1.el9_1.x86_64\r\n    Architecture: x86-64\r\n Hardware Vendor: innotek GmbH\r\n  Hardware Model: VirtualBox\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-bridge-276.1-1.el9.x86_64\r\ncockpit-ws-276.1-1.el9.x86_64\r\ncockpit-packagekit-276.1-1.el9.noarch\r\ncockpit-system-276.1-1.el9.noarch\r\ncockpit-storaged-276.1-1.el9.noarch\r\ncockpit-276.1-1.el9.x86_64\r\ncockpit-podman-53-1.el9.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 Sun 2023-08-27 17:03:22 JST; 4min 8s ago\r\n      Until: Sun 2023-08-27 17:03:22 JST; 4min 8s ago\r\n   Triggers: \u25cf cockpit.service\r\n       Docs: man:cockpit-ws(8)\r\n     Listen: &#x5B;::]:9090 (Stream)\r\n    Process: 4271 ExecStartPost=\/usr\/share\/cockpit\/motd\/update-motd  localhost (code=exited, status=0\/SUCCESS)\r\n    Process: 4278 ExecStartPost=\/bin\/ln -snf active.motd \/run\/cockpit\/motd (code=exited, status=0\/SUCCESS)\r\n      Tasks: 0 (limit: 11062)\r\n     Memory: 104.0K\r\n        CPU: 14ms\r\n     CGroup: \/system.slice\/cockpit.socket\r\n<\/pre>\n<p>\u30b5\u30fc\u30d3\u30b9\u3082\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# systemctl status cockpit.service\r\n\u25cb cockpit.service - Cockpit Web Service\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/cockpit.service; static)\r\n     Active: inactive (dead)\r\nTriggeredBy: \u25cf cockpit.socket\r\n       Docs: man:cockpit-ws(8)\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 http 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:\/\/vmsweb01.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<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\" 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,467,469,52,443],"class_list":["post-14349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cockpit","tag-cockpit","tag-rocky-linux","tag-rocky-linux-9","tag-52","tag-443"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14349","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=14349"}],"version-history":[{"count":5,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14349\/revisions"}],"predecessor-version":[{"id":14371,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14349\/revisions\/14371"}],"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=14349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}