{"id":98616,"date":"2026-09-01T07:42:22","date_gmt":"2026-08-31T23:42:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/98616.html"},"modified":"2026-09-01T07:42:22","modified_gmt":"2026-08-31T23:42:22","slug":"%e4%b8%8d%e6%83%b3%e6%af%8f%e6%ac%a1%e7%ae%a1%e7%90%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%83%bd%e6%95%b2%e5%91%bd%e4%bb%a4%ef%bc%9f%e9%83%a8%e7%bd%b2-cockpit%ef%bc%8c%e6%8a%8a-linux-%e8%bf%90%e7%bb%b4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/98616.html","title":{"rendered":"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u6253\u5f00\u4e00\u53f0 Linux \u670d\u52a1\u5668\u4ee5\u540e&#xff0c;\u6211\u6700\u5e38\u505a\u7684\u5176\u5b9e\u5c31\u90a3\u4e48\u51e0\u4ef6\u4e8b\u3002<\/p>\n<p>\u5148\u770b\u770b CPU \u548c\u5185\u5b58\u662f\u4e0d\u662f\u8dd1\u6ee1\u4e86&#xff0c;\u518d\u786e\u8ba4\u78c1\u76d8\u8fd8\u6709\u591a\u5c11\u7a7a\u95f4&#xff1b;\u670d\u52a1\u51fa\u95ee\u9898\u65f6\u7ffb\u4e00\u4e0b\u65e5\u5fd7&#xff0c;\u5fc5\u8981\u7684\u65f6\u5019\u91cd\u542f nginx\u3001Docker \u6216\u5176\u4ed6 systemd \u670d\u52a1\u3002\u5982\u679c\u8fd8\u6ca1\u627e\u5230\u539f\u56e0&#xff0c;\u6700\u540e\u518d\u8fdb\u5165\u7ec8\u7aef\u7ee7\u7eed\u6392\u67e5\u3002<\/p>\n<p>\u8fd9\u4e9b\u64cd\u4f5c\u5f53\u7136\u90fd\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5b8c\u6210\u3002<\/p>\n<p>\u4f46\u5982\u679c\u53ea\u662f\u60f3\u5feb\u901f\u5224\u65ad\u201c\u670d\u52a1\u5668\u73b0\u5728\u5230\u5e95\u54ea\u91cc\u4e0d\u6b63\u5e38\u201d&#xff0c;\u5148\u8bb0 top\u3001df -h\u3001journalctl\u3001systemctl&#xff0c;\u518d\u5728\u51e0\u4e2a\u7ec8\u7aef\u7a97\u53e3\u4e4b\u95f4\u6765\u56de\u5207\u6362&#xff0c;\u5e76\u4e0d\u4e00\u5b9a\u662f\u6548\u7387\u6700\u9ad8\u7684\u65b9\u5f0f\u3002<\/p>\n<p>Cockpit \u76f8\u5f53\u4e8e\u628a\u8fd9\u4e9b\u5e38\u7528\u64cd\u4f5c\u91cd\u65b0\u6574\u7406\u5230\u4e86\u6d4f\u89c8\u5668\u91cc\u3002<\/p>\n<p>\u767b\u5f55\u4e4b\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u548c\u7f51\u7edc\u72b6\u6001&#xff0c;\u4e5f\u80fd\u8fdb\u5165\u65e5\u5fd7\u3001\u7528\u6237\u3001\u670d\u52a1\u7b49\u9875\u9762\u8fdb\u884c\u7ba1\u7406&#xff1b;\u771f\u6b63\u9700\u8981\u547d\u4ee4\u884c\u65f6&#xff0c;\u9875\u9762\u91cc\u8fd8\u4fdd\u7559\u4e86 Web \u7ec8\u7aef&#xff0c;\u5e76\u4e0d\u662f\u4e3a\u4e86\u5f7b\u5e95\u53d6\u4ee3 Shell&#xff0c;\u800c\u662f\u628a\u65e5\u5e38\u9ad8\u9891\u64cd\u4f5c\u5148\u53d8\u5f97\u66f4\u76f4\u89c2\u3002<\/p>\n<p>\u672c\u6587\u4f1a\u4ece Cockpit \u7684\u7cfb\u7edf\u76d1\u63a7\u3001\u65e5\u5fd7\u3001\u670d\u52a1\u548c\u7ec8\u7aef\u51e0\u4e2a\u529f\u80fd\u5b9e\u9645\u4f53\u9a8c\u5165\u624b&#xff0c;\u518d\u5b8c\u6210\u670d\u52a1\u5668\u4e0a\u7684\u5b89\u88c5\u4e0e\u542f\u52a8\u3002\u5c40\u57df\u7f51\u8bbf\u95ee\u6b63\u5e38\u4ee5\u540e&#xff0c;\u518d\u901a\u8fc7 cpolar \u589e\u52a0\u8fdc\u7a0b\u5165\u53e3&#xff0c;\u8ba9\u8fd9\u5957\u56fe\u5f62\u5316\u7ba1\u7406\u540e\u53f0\u5728\u5916\u51fa\u65f6\u4e5f\u80fd\u7ee7\u7eed\u4f7f\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234210-6a9611522ad69.png\" alt=\"image-20260708161124241\" \/><\/p>\n<h3>1.\u4ec0\u4e48\u662fCockpit&#xff1f;<\/h3>\n<p>Cockpit \u662f\u4e00\u4e2a\u514d\u8d39\u3001\u5f00\u6e90\u3001\u8f7b\u91cf\u7ea7\u7684 Web \u63a7\u5236\u53f0&#xff08;Web-based GUI&#xff09;&#xff0c;\u4e13\u4e3a Linux \u670d\u52a1\u5668\u7684\u53ef\u89c6\u5316\u7ba1\u7406\u548c\u76d1\u63a7 \u800c\u8bbe\u8ba1\u3002\u5b83\u7684\u6838\u5fc3\u76ee\u6807\u662f&#xff1a;\u8ba9\u670d\u52a1\u5668\u7ba1\u7406\u53d8\u5f97\u66f4\u7b80\u5355\u3001\u66f4\u76f4\u89c2&#xff0c;\u5373\u4f7f\u4f60\u4e0d\u719f\u6089\u547d\u4ee4\u884c\u4e5f\u80fd\u9ad8\u6548\u8fd0\u7ef4\u3002<\/p>\n<p>\u6838\u5fc3\u7279\u70b9<\/p>\n<table>\n<tr>\u7279\u6027\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u57fa\u4e8e\u6d4f\u89c8\u5668<\/td>\n<td>\u53ea\u9700\u6253\u5f00\u6d4f\u89c8\u5668&#xff08;\u5982 Chrome\u3001Firefox&#xff09;&#xff0c;\u8f93\u5165 https:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:9090 \u5373\u53ef\u8bbf\u95ee&#xff0c;\u65e0\u9700\u5b89\u88c5\u989d\u5916\u5ba2\u6237\u7aef\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5b9e\u65f6\u4ea4\u4e92<\/td>\n<td>\u6240\u6709\u64cd\u4f5c&#xff08;\u5982\u67e5\u770b\u65e5\u5fd7\u3001\u91cd\u542f\u670d\u52a1&#xff09;\u90fd\u662f\u5b9e\u65f6\u7684&#xff0c;\u754c\u9762\u4f1a\u81ea\u52a8\u5237\u65b0&#xff0c;\u65e0\u9700\u624b\u52a8\u6267\u884c top \u6216 journalctl\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u8f7b\u91cf\u4f4e\u5f00\u9500<\/td>\n<td>\u540e\u53f0\u8fdb\u7a0b&#xff08;cockpit-ws&#xff09;\u8d44\u6e90\u5360\u7528\u6781\u5c0f&#xff0c;\u4ec5\u5728\u7528\u6237\u8fde\u63a5\u65f6\u6d3b\u8dc3&#xff0c;\u65ad\u5f00\u540e\u51e0\u4e4e\u4e0d\u6d88\u8017\u7cfb\u7edf\u8d44\u6e90\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168\u53ef\u9760<\/td>\n<td>\u4f7f\u7528 HTTPS \u52a0\u5bc6\u901a\u4fe1&#xff0c;\u9ed8\u8ba4\u96c6\u6210\u7cfb\u7edf\u7528\u6237\u8ba4\u8bc1&#xff08;\u652f\u6301 root \u6216 sudo \u7528\u6237\u767b\u5f55&#xff09;&#xff0c;\u6743\u9650\u4e0e\u672c\u5730\u4e00\u81f4\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6a21\u5757\u5316\u8bbe\u8ba1<\/td>\n<td>\u6838\u5fc3\u529f\u80fd\u7cbe\u7b80&#xff0c;\u4f46\u53ef\u901a\u8fc7\u63d2\u4ef6\u6269\u5c55&#xff08;\u5982 Docker \u5bb9\u5668\u7ba1\u7406\u3001KVM \u865a\u62df\u673a\u3001\u5b58\u50a8\u7ba1\u7406\u7b49&#xff09;\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3b\u8981\u529f\u80fd<\/p>\n<ul>\n<li>\u7cfb\u7edf\u6982\u89c8&#xff1a;\u5b9e\u65f6\u67e5\u770b CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u3001\u7f51\u7edc\u4f7f\u7528\u7387\u3002<\/li>\n<li>\u670d\u52a1\u7ba1\u7406&#xff1a;\u542f\u52a8\/\u505c\u6b62\/\u91cd\u542f systemd \u670d\u52a1&#xff08;\u5982 nginx\u3001docker&#xff09;&#xff0c;\u67e5\u770b\u670d\u52a1\u72b6\u6001\u548c\u65e5\u5fd7\u3002<\/li>\n<li>\u65e5\u5fd7\u67e5\u770b&#xff1a;\u56fe\u5f62\u5316\u6d4f\u89c8 journalctl \u7cfb\u7edf\u65e5\u5fd7&#xff0c;\u652f\u6301\u6309\u65f6\u95f4\u3001\u670d\u52a1\u8fc7\u6ee4\u3002<\/li>\n<li>\u7528\u6237\u8d26\u6237\u7ba1\u7406&#xff1a;\u521b\u5efa\u3001\u5220\u9664\u7528\u6237&#xff0c;\u4fee\u6539\u5bc6\u7801&#xff0c;\u7ba1\u7406 SSH \u5bc6\u94a5\u3002<\/li>\n<li>\u7f51\u7edc\u914d\u7f6e&#xff1a;\u67e5\u770b\u7f51\u5361\u4fe1\u606f\u3001\u9632\u706b\u5899\u89c4\u5219&#xff08;firewalld&#xff09;&#xff0c;\u914d\u7f6e IP \u5730\u5740&#xff08;\u90e8\u5206\u53d1\u884c\u7248\u652f\u6301&#xff09;\u3002<\/li>\n<li>\u8f6f\u4ef6\u5305\u66f4\u65b0&#xff1a;\u5728\u652f\u6301\u7684\u7cfb\u7edf&#xff08;\u5982 RHEL\/CentOS\/Fedora&#xff09;\u4e0a\u76f4\u63a5\u5b89\u88c5\u5b89\u5168\u66f4\u65b0\u3002<\/li>\n<li>\u7ec8\u7aef\u8bbf\u95ee&#xff1a;\u5185\u7f6e Web \u7ec8\u7aef&#xff0c;\u5fc5\u8981\u65f6\u53ef\u968f\u65f6\u5207\u6362\u5230\u547d\u4ee4\u884c\u3002<\/li>\n<li>\u5bb9\u5668\u7ba1\u7406&#xff08;\u9700\u5b89\u88c5\u63d2\u4ef6&#xff09;&#xff1a;\u7ba1\u7406 Podman \u6216 Docker \u5bb9\u5668\u3001\u955c\u50cf\u3001\u5377\u3002<\/li>\n<li>\u865a\u62df\u673a\u7ba1\u7406&#xff08;\u9700\u5b89\u88c5\u63d2\u4ef6&#xff09;&#xff1a;\u901a\u8fc7 cockpit-machines \u7ba1\u7406 KVM \u865a\u62df\u673a\u3002<\/li>\n<\/ul>\n<p>\u652f\u6301\u7684\u64cd\u4f5c\u7cfb\u7edf<\/p>\n<p>Cockpit \u539f\u751f\u652f\u6301\u4e3b\u6d41 Linux \u53d1\u884c\u7248&#xff1a;<\/p>\n<ul>\n<li>RHEL \/ CentOS \/ Rocky Linux \/ AlmaLinux&#xff08;7&#043;&#xff09;<\/li>\n<li>Fedora<\/li>\n<li>Ubuntu \/ Debian<\/li>\n<li>openSUSE<\/li>\n<\/ul>\n<p>\u5728 RHEL\/CentOS \u7cfb\u5217\u4e2d&#xff0c;Cockpit \u662f\u5b98\u65b9\u63a8\u8350\u7684\u7ba1\u7406\u5de5\u5177&#xff0c;\u751a\u81f3\u4ece RHEL 8 \u5f00\u59cb\u9ed8\u8ba4\u9884\u88c5\u3002<\/p>\n<p>\u5b89\u5168\u6027\u5982\u4f55&#xff1f;<\/p>\n<ul>\n<li>\u9ed8\u8ba4\u4f7f\u7528 TLS\/SSL \u52a0\u5bc6&#xff08;\u81ea\u7b7e\u540d\u8bc1\u4e66&#xff0c;\u53ef\u66ff\u6362\u4e3a\u6b63\u5f0f\u8bc1\u4e66&#xff09;\u3002<\/li>\n<li>\u8ba4\u8bc1\u5b8c\u5168\u4f9d\u8d56\u7cfb\u7edf PAM&#xff0c;\u5373\u4f60\u7528\u4ec0\u4e48\u5bc6\u7801\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u5c31\u7528\u4ec0\u4e48\u5bc6\u7801\u767b\u5f55 Cockpit\u3002<\/li>\n<li>\u4e0d\u4f1a\u7ed5\u8fc7\u7cfb\u7edf\u6743\u9650\u2014\u2014\u666e\u901a\u7528\u6237\u53ea\u80fd\u7ba1\u7406\u81ea\u5df1\u6709\u6743\u64cd\u4f5c\u7684\u670d\u52a1\u3002<\/li>\n<li>\u9ed8\u8ba4\u76d1\u542c 9090 \u7aef\u53e3&#xff0c;\u53ef\u901a\u8fc7\u9632\u706b\u5899\u4e25\u683c\u9650\u5236\u8bbf\u95ee IP\u3002<\/li>\n<\/ul>\n<p>\u9002\u5408\u8c01\u7528&#xff1f;<\/p>\n<ul>\n<li>Linux \u65b0\u624b&#xff1a;\u5feb\u901f\u4e0a\u624b\u670d\u52a1\u5668\u7ba1\u7406&#xff0c;\u907f\u514d\u547d\u4ee4\u884c\u201c\u6050\u60e7\u75c7\u201d\u3002<\/li>\n<li>\u5f00\u53d1\u8005&#xff1a;\u5feb\u901f\u67e5\u770b\u5e94\u7528\u65e5\u5fd7\u3001\u91cd\u542f\u670d\u52a1\u3001\u76d1\u63a7\u8d44\u6e90\u3002<\/li>\n<li>\u7cfb\u7edf\u7ba1\u7406\u5458&#xff1a;\u8fdc\u7a0b\u6279\u91cf\u7ba1\u7406\u591a\u53f0\u670d\u52a1\u5668&#xff08;\u652f\u6301\u4eea\u8868\u76d8\u805a\u5408&#xff09;\u3002<\/li>\n<li>\u6559\u80b2\/\u6f14\u793a\u573a\u666f&#xff1a;\u76f4\u89c2\u5c55\u793a\u7cfb\u7edf\u72b6\u6001&#xff0c;\u4fbf\u4e8e\u6559\u5b66\u3002<\/li>\n<\/ul>\n<p>\u6ce8\u610f\u4e8b\u9879<\/p>\n<ul>\n<li>\u4e0d\u662f\u4e07\u80fd\u66ff\u4ee3\u54c1&#xff1a;\u590d\u6742\u811a\u672c\u3001\u81ea\u52a8\u5316\u4efb\u52a1\u4ecd\u9700\u547d\u4ee4\u884c\u6216 Ansible \u7b49\u5de5\u5177\u3002<\/li>\n<li>\u9ed8\u8ba4\u7aef\u53e3 9090&#xff1a;\u9700\u786e\u4fdd\u672a\u88ab\u5176\u4ed6\u670d\u52a1&#xff08;\u5982 Prometheus&#xff09;\u5360\u7528\u3002<\/li>\n<li>\u751f\u4ea7\u73af\u5883\u5efa\u8bae\n<ul>\n<li>\u9650\u5236\u9632\u706b\u5899\u53ea\u5141\u8bb8\u53ef\u4fe1 IP \u8bbf\u95ee 9090 \u7aef\u53e3\u3002<\/li>\n<li>\u4f7f\u7528\u5f3a\u5bc6\u7801\u6216 SSH \u5bc6\u94a5\u8ba4\u8bc1\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0 Cockpit \u5305\u4ee5\u4fee\u590d\u5b89\u5168\u6f0f\u6d1e\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Cockpit &#061; \u628a Linux \u670d\u52a1\u5668\u7684\u201c\u9a7e\u9a76\u8231\u201d\u642c\u5230\u4f60\u7684\u6d4f\u89c8\u5668\u91cc\u2014\u2014\u4eea\u8868\u76d8\u3001\u63a7\u5236\u6746\u3001\u6545\u969c\u8bca\u65ad\u4e00\u5e94\u4ff1\u5168&#xff0c;\u8ba9\u8fd0\u7ef4\u4ece\u201c\u76f2\u64cd\u201d\u53d8\u4e3a\u201c\u53ef\u89c6\u5316\u98de\u884c\u201d\u3002<\/p>\n<p>\u5982\u679c\u4f60\u538c\u5026\u4e86\u8bb0\u5fc6 systemctl\u3001journalctl\u3001df -h \u7b49\u547d\u4ee4&#xff0c;Cockpit \u5c31\u662f\u4f60\u4e00\u76f4\u5728\u627e\u7684\u201c\u8fd0\u7ef4 GUI \u9769\u547d\u201d\u3002<\/p>\n<h3>2.\u5b89\u88c5\u524d\u63d0\u6761\u4ef6<\/h3>\n<p>\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5\u5e76\u542f\u7528epel-release&#xff1a;<\/p>\n<p>yum <span class=\"token function\">install<\/span> epel-release<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234211-6a96115350c2f.png\" alt=\"29e44abf29c4115c3102666a33750f6e\" \/><\/p>\n<p>\u5b89\u88c5kvm&#xff1a;<\/p>\n<p>yum <span class=\"token function\">install<\/span> qemu-kvm libvirt libvirt-daemon virt-install virt-manager libvirt-dbus systemctl start libvirtd.service<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234211-6a961153a2466.png\" alt=\"c199177b65b064e01782e5ef37357536\" \/><\/p>\n<p>\u5f00\u542flibvirtd\u670d\u52a1&#xff1a;<\/p>\n<p>systemctl start libvirtd.service<\/p>\n<h3>3.\u5b89\u88c5Cockpit<\/h3>\n<p>\u5b89\u88c5Cockpit:<\/p>\n<p>\u5728\u5b89\u88c5Cockpit\u65f6\u7981\u7528PostgreSQL\u4ed3\u5e93&#xff08;\u53ef\u4ee5\u4e0d\u7981\u7528 \u6211\u8fd9\u91cc\u62a5\u9519\u6240\u4ee5\u7981\u7528\u4e00\u4e0b&#xff09;<\/p>\n<p><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> <span class=\"token parameter variable\">&#8211;disablerepo<\/span><span class=\"token operator\">&#061;<\/span>pgdg-common cockpit<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234211-6a961153eac8f.png\" alt=\"400f77eb2675a9d75922bcdddf3544b4\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6bd5\u540e\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u542f\u52a8Cockpit\u670d\u52a1\u5e76\u8bbe\u7f6e\u4e3a\u81ea\u52a8\u542f\u52a8&#xff1a;<\/p>\n<p>systemctl start cockpit<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> cockpit<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234212-6a9611546d292.png\" alt=\"50ee2e9e245dee1abd6827cd2040c3cf\" \/><\/p>\n<p>\u6267\u884c\u4e0b\u9762\u547d\u4ee4\u67e5\u770b\u662f\u5426\u542f\u52a8\u6210\u529f&#xff1a;<\/p>\n<p>systemctl status cockpit<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234212-6a961154b5536.png\" alt=\"29457663a468d9a0197f4856316a4ad9\" \/><\/p>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165http:\/\/IP:9090\u5c31\u80fd\u770b\u5230\u7684\u754c\u9762&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234212-6a961154e0309.png\" alt=\"beacf9a8131492ca6068cf849c9ce279\" \/><\/p>\n<h3>4.\u4f7f\u7528Cockpit<\/h3>\n<h4>4.1 \u5982\u4f55\u767b\u5f55<\/h4>\n<p>\u4f7f\u7528\u4f60Centos7\u7684\u7528\u6237\u540d\u53ca\u5bc6\u7801\u767b\u5f55&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234213-6a96115599403.png\" alt=\"image-20260708161032229\" \/><\/p>\n<p>\u767b\u5f55\u6210\u529f&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234213-6a961155cdac7.png\" alt=\"image-20260708161050321\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234214-6a9611566a1bf.png\" alt=\"b4480494bd55254ff815c69762e17606\" \/><\/p>\n<h4>4.2 \u6210\u679c\u6f14\u793a<\/h4>\n<p>\u7cfb\u7edf\u677f\u5757&#xff1a;<\/p>\n<p>\u5c55\u793a\u4e86\u540d\u4e3ak8s-master\u7684CentOS 7\u865a\u62df\u673a\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u7684\u7cfb\u7edf\u6027\u80fd\u76d1\u63a7\u6570\u636e&#xff0c;\u5305\u62ecCPU\u4f7f\u7528\u7387\u3001\u5185\u5b58\u5360\u7528\u3001\u78c1\u76d8I\/O\u548c\u7f51\u7edc\u6d41\u91cf\u7684\u5b9e\u65f6\u53d8\u5316\u60c5\u51b5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234215-6a96115702f30.png\" alt=\"image-20260708161741716\" \/><\/p>\n<p>\u65e5\u5fd7\u677f\u5757&#xff1a;<\/p>\n<p>\u8be5\u9875\u9762\u662fCockpit\u7684\u65e5\u5fd7\u754c\u9762&#xff0c;\u663e\u793ak8s-master\u4e3b\u673a\u57282026\u5e747\u67088\u65e5\u7684\u7cfb\u7edf\u65e5\u5fd7&#xff0c;\u5176\u4e2d\u9891\u7e41\u51fa\u73b0\u56e0\u8def\u5f84\u4e0d\u5b58\u5728\u5bfc\u81f4blackbox_exporter\u548ck8s\/home\u670d\u52a1\u542f\u52a8\u5931\u8d25\u7684\u9519\u8bef&#xff0c;\u540c\u65f6\u8fd8\u5b58\u5728NTP\u65f6\u95f4\u540c\u6b65\u5931\u8d25\u3001mysql_exporter\u542f\u52a8\u5f02\u5e38\u4ee5\u53carsyslog\u72b6\u6001\u6587\u4ef6\u8bfb\u53d6\u95ee\u9898&#xff0c;\u8868\u660e\u7cfb\u7edf\u5728\u76d1\u63a7\u7ec4\u4ef6\u90e8\u7f72\u548c\u57fa\u7840\u670d\u52a1\u914d\u7f6e\u65b9\u9762\u5b58\u5728\u660e\u663e\u7f3a\u9677&#xff0c;\u9700\u9010\u4e00\u6392\u67e5\u4fee\u590d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234215-6a9611579959c.png\" alt=\"image-20260714115829379\" \/><\/p>\n<p>\u7528\u6237\u677f\u5757&#xff1a;<\/p>\n<p>\u8be5\u9875\u9762\u5c55\u793a\u4e86k8s-master\u4e3b\u673a\u4e0a\u7684\u7528\u6237\u8d26\u6237\u7ba1\u7406\u754c\u9762&#xff0c;\u5f53\u524d\u5b58\u5728elasticserach\u3001tomcat\u3001root\u548cshan\u56db\u4e2a\u7528\u6237\u8d26\u6237&#xff0c;\u5e76\u63d0\u4f9b\u521b\u5efa\u65b0\u8d26\u6237\u7684\u529f\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234218-6a96115aaafa6.png\" alt=\"image-20260708163236691\" \/><\/p>\n<p>\u670d\u52a1\u677f\u5757&#xff1a;<\/p>\n<p>\u8be5\u9875\u9762\u5c55\u793a\u4e86k8s-master\u4e3b\u673a\u7684\u7cfb\u7edf\u670d\u52a1\u72b6\u6001&#xff0c;\u5176\u4e2d\u90e8\u5206\u5173\u952e\u670d\u52a1\u5982alertmanager.service\u548cauditd.service\u542f\u52a8\u5931\u8d25&#xff0c;AdGuardHome\u548cblackbox_exporter\u6b63\u5728\u81ea\u52a8\u91cd\u542f\u4e2d&#xff0c;\u800ccockpit\u3001containerd\u3001cpolar\u7b49\u670d\u52a1\u6b63\u5e38\u8fd0\u884c&#xff0c;\u6574\u4f53\u53cd\u6620\u51fa\u7cfb\u7edf\u5b58\u5728\u90e8\u5206\u670d\u52a1\u5f02\u5e38\u548c\u914d\u7f6e\u95ee\u9898\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234219-6a96115b204cc.png\" alt=\"image-20260708163334970\" \/><\/p>\n<p>\u7ec8\u7aef\u677f\u5757&#xff1a;<\/p>\n<p>\u4e00\u952e\u8fde\u5230\u7ec8\u7aef\u64cd\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234219-6a96115baa9d9.png\" alt=\"image-20260708163438272\" \/><\/p>\n<p>Cockpit\u672c\u8eab\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f3a\u5927\u800c\u76f4\u89c2\u7684Web\u7ba1\u7406\u754c\u9762&#xff0c;\u4f46\u9ed8\u8ba4\u4ec5\u9650\u4e8e\u5c40\u57df\u7f51\u8bbf\u95ee\u3002\u901a\u8fc7\u4e0ecpolar\u7ed3\u5408&#xff0c;\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u5185\u7f51\u7a7f\u900f&#xff0c;\u5c06\u672c\u5730Cockpit\u670d\u52a1\u5b89\u5168\u5730\u66b4\u9732\u5230\u516c\u7f51&#xff0c;\u65e0\u9700\u590d\u6742\u7f51\u7edc\u914d\u7f6e\u6216\u516c\u7f51IP&#xff0c;\u5373\u53ef\u968f\u65f6\u968f\u5730\u901a\u8fc7HTTPS\u52a0\u5bc6\u901a\u9053\u8fdc\u7a0b\u7ba1\u7406\u670d\u52a1\u5668&#xff0c;\u6781\u5927\u63d0\u5347\u4e86\u8fd0\u7ef4\u7075\u6d3b\u6027\u4e0e\u53ef\u53ca\u6027\u3002<\/p>\n<h3>5.\u5b89\u88c5cpolar\u5b9e\u73b0\u968f\u65f6\u968f\u5730\u5f00\u53d1<\/h3>\n<h4>5.1 \u4ec0\u4e48\u662fcpolar&#xff1f;<\/h4>\n<p>cpolar\u662f\u4e00\u6b3e\u5b89\u5168\u9ad8\u6548\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177&#xff0c;\u65e0\u9700\u516c\u7f51IP\u6216\u590d\u6742\u914d\u7f6e&#xff0c;\u53ea\u9700\u4e00\u6761\u547d\u4ee4&#xff0c;\u5373\u53ef\u5c06\u672c\u5730\u670d\u52a1\u5668\u3001Web\u670d\u52a1\u6216\u4efb\u610f\u7aef\u53e3\u6620\u5c04\u5230\u516c\u7f51&#xff0c;\u8ba9\u4f60\u968f\u65f6\u968f\u5730\u8fdc\u7a0b\u8bbf\u95ee\u5185\u7f51\u5e94\u7528&#xff0c;\u7279\u522b\u9002\u5408\u5f00\u53d1\u8c03\u8bd5\u3001\u8fdc\u7a0b\u8fd0\u7ef4\u548c\u5e94\u6025\u90e8\u7f72\u7b49\u573a\u666f\u3002<\/p>\n<h4>5.2 \u90e8\u7f72cpolar<\/h4>\n<p>cpolar \u53ef\u4ee5\u5c06\u4f60\u672c\u5730\u7535\u8111\u4e2d\u7684\u670d\u52a1&#xff08;\u5982 SSH\u3001Web\u3001\u6570\u636e\u5e93&#xff09;\u6620\u5c04\u5230\u516c\u7f51\u3002\u5373\u4f7f\u4f60\u5728\u5bb6\u91cc\u6216\u5916\u51fa\u65f6&#xff0c;\u4e5f\u53ef\u4ee5\u901a\u8fc7\u516c\u7f51\u5730\u5740\u8fde\u63a5\u56de\u672c\u5730\u8fd0\u884c\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>\u2764\ufe0f\u4ee5\u4e0b\u662f\u5b89\u88c5cpolar\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u4f7f\u7528\u4e00\u952e\u811a\u672c\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">curl<\/span> https:\/\/get.cpolar.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234220-6a96115c35ff4.png\" alt=\"image-20250725104019896\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6267\u884c\u4e0b\u65b9\u547d\u4ee4\u67e5\u770bcpolar\u670d\u52a1\u72b6\u6001&#xff1a;&#xff08;\u5982\u56fe\u6240\u793a\u5373\u4e3a\u6b63\u5e38\u542f\u52a8&#xff09;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status cpolar<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234220-6a96115c4151c.png\" alt=\"22e5adfaf290a17fc3384bb296055259\" \/><\/p>\n<p>Cpolar\u5b89\u88c5\u548c\u6210\u529f\u542f\u52a8\u670d\u52a1\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e0a\u8f93\u5165\u865a\u62df\u673a\u4e3b\u673aIP\u52a09200\u7aef\u53e3\u5373:\u3010http:\/\/ip:9200\u3011\u8bbf\u95eeCpolar\u7ba1\u7406\u754c\u9762&#xff0c;\u4f7f\u7528Cpolar\u5b98\u7f51\u6ce8\u518c\u7684\u8d26\u53f7\u767b\u5f55,\u767b\u5f55\u540e\u5373\u53ef\u770b\u5230cpolar web \u914d\u7f6e\u754c\u9762,\u63a5\u4e0b\u6765\u5728web \u754c\u9762\u914d\u7f6e\u5373\u53ef&#xff1a;<\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee\u672c\u57309200\u7aef\u53e3&#xff0c;\u4f7f\u7528cpolar\u8d26\u6237\u5bc6\u7801\u767b\u5f55\u5373\u53ef,\u767b\u5f55\u540e\u5373\u53ef\u5bf9\u96a7\u9053\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234220-6a96115c55238.png\" alt=\"8a6698b1bf26d64ba3645827fbfb1c29\" \/><\/p>\n<h3>6.\u914d\u7f6e\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762\u540e,\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u521b\u5efa\u96a7\u9053&#xff1a;<\/p>\n<ul>\n<li>\u96a7\u9053\u540d\u79f0&#xff1a;\u53ef\u81ea\u5b9a\u4e49&#xff0c;\u672c\u4f8b\u4f7f\u7528\u4e86:cockpit&#xff0c;\u6ce8\u610f\u4e0d\u8981\u4e0e\u5df2\u6709\u7684\u96a7\u9053\u540d\u79f0\u91cd\u590d<\/li>\n<li>\u534f\u8bae&#xff1a;http<\/li>\n<li>\u672c\u5730\u5730\u5740&#xff1a;9090<\/li>\n<li>\u57df\u540d\u7c7b\u578b&#xff1a;\u968f\u673a\u57df\u540d<\/li>\n<li>\u5730\u533a&#xff1a;\u9009\u62e9China Top<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234220-6a96115c98247.png\" alt=\"image-20260708170600637\" \/><\/p>\n<p>\u521b\u5efa\u6210\u529f\u540e&#xff0c;\u6253\u5f00\u5de6\u4fa7\u5728\u7ebf\u96a7\u9053\u5217\u8868,\u53ef\u4ee5\u770b\u5230\u521a\u521a\u901a\u8fc7\u521b\u5efa\u96a7\u9053\u751f\u6210\u4e86\u516c\u7f51\u5730\u5740&#xff0c;\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5728\u5176\u4ed6\u7535\u8111\u6216\u8005\u79fb\u52a8\u7aef\u8bbe\u5907&#xff08;\u5f02\u5730)\u4e0a&#xff0c;\u4f7f\u7528\u5730\u5740\u8bbf\u95ee\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234220-6a96115ce6a0c.png\" alt=\"image-20260708170817268\" \/><\/p>\n<p>\u8bbf\u95ee\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01mhtwbykpyqs.png\" alt=\"image-20260708170831164\" \/><\/p>\n<h3>7.\u4fdd\u7559\u56fa\u5b9a\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u4f7f\u7528cpolar\u4e3a\u5176\u914d\u7f6e\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u8be5\u5730\u5740\u4e3a\u56fa\u5b9a\u5730\u5740&#xff0c;\u4e0d\u4f1a\u968f\u673a\u53d8\u5316\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-015r5ygkkyjkp.png\" alt=\"image-20250918151358733\" \/><\/p>\n<p>\u70b9\u51fb\u5de6\u4fa7\u7684\u9884\u7559&#xff0c;\u9009\u62e9\u4fdd\u7559\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u5730\u533a\u9009\u62e9china Top&#xff0c;\u7136\u540e\u8bbe\u7f6e\u4e00\u4e2a\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0&#xff0c;\u6211\u4f7f\u7528\u7684\u662fcockpitt&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u81ea\u5b9a\u4e49\u3002\u586b\u5199\u5907\u6ce8\u4fe1\u606f&#xff0c;\u70b9\u51fb\u4fdd\u7559\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01d2fkwasglca.png\" alt=\"image-20260708171107381\" \/><\/p>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762&#xff0c;\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u96a7\u9053\u5217\u8868&#xff0c;\u627e\u5230\u6240\u8981\u914d\u7f6e\u7684\u96a7\u9053&#xff0c;\u70b9\u51fb\u53f3\u4fa7\u7684\u7f16\u8f91\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01ggtsvprtfak.png\" alt=\"image-20260708170927634\" \/><\/p>\n<p>\u4fee\u6539\u96a7\u9053\u4fe1\u606f&#xff0c;\u5c06\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u914d\u7f6e\u5230\u96a7\u9053\u4e2d<\/p>\n<ul>\n<li>\u57df\u540d\u7c7b\u578b&#xff1a;\u9009\u62e9\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>Sub Domain&#xff1a;\u586b\u5199\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>\u5730\u533a: China Top<\/li>\n<\/ul>\n<p>\u70b9\u51fb\u66f4\u65b0<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01qltzjvadvsp.png\" alt=\"image-20260708170955884\" \/><\/p>\n<p>\u66f4\u65b0\u5b8c\u6210\u540e&#xff0c;\u6253\u5f00\u5728\u7ebf\u96a7\u9053\u5217\u8868&#xff0c;\u6b64\u65f6\u53ef\u4ee5\u770b\u5230\u968f\u673a\u7684\u516c\u7f51\u5730\u5740\u5df2\u7ecf\u53d1\u751f\u53d8\u5316&#xff0c;\u5730\u5740\u540d\u79f0\u4e5f\u53d8\u6210\u4e86\u4fdd\u7559\u548c\u56fa\u5b9a\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01xjez3cwt4ux.png\" alt=\"image-20260708171124962\" \/><\/p>\n<p>\u6700\u540e&#xff0c;\u6211\u4eec\u4f7f\u7528\u56fa\u5b9a\u7684\u516c\u7f51\u5730\u5740\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff0c;\u53ef\u4ee5\u770b\u5230\u6210\u529f\u8bbf\u95ee\u7684\u9875\u9762&#xff0c;\u8fd9\u6837\u4e00\u4e2a\u6c38\u4e45\u4e0d\u4f1a\u53d8\u5316\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u516c\u7f51\u7f51\u5740\u5373\u8bbe\u7f6e\u597d\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-09-01mnmykez0gl2.png\" alt=\"image-20260708171138182\" \/><\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>Cockpit \u7528\u4e0b\u6765\u6700\u660e\u663e\u7684\u53d8\u5316&#xff0c;\u5e76\u4e0d\u662f\u4ee5\u540e\u5f7b\u5e95\u4e0d\u7528\u547d\u4ee4\u884c\u4e86\u3002<\/p>\n<p>\u771f\u6b63\u590d\u6742\u7684\u6545\u969c\u6392\u67e5\u3001\u811a\u672c\u7f16\u5199\u548c\u6279\u91cf\u8fd0\u7ef4&#xff0c;\u7ec8\u7aef\u4f9d\u7136\u4e0d\u53ef\u66ff\u4ee3\u3002\u5b83\u66f4\u50cf\u662f\u628a\u670d\u52a1\u5668\u6bcf\u5929\u6700\u5e38\u770b\u7684\u90a3\u90e8\u5206\u4fe1\u606f\u63d0\u524d\u6574\u7406\u51fa\u6765&#xff1a;\u8d44\u6e90\u6709\u6ca1\u6709\u5f02\u5e38\u3001\u54ea\u4e2a\u670d\u52a1\u6302\u4e86\u3001\u65e5\u5fd7\u91cc\u6700\u8fd1\u62a5\u4e86\u4ec0\u4e48\u9519\u3001\u7528\u6237\u548c\u7f51\u7edc\u73b0\u5728\u662f\u4ec0\u4e48\u72b6\u6001\u3002<\/p>\n<p>\u8fd9\u4e9b\u4e8b\u60c5\u5982\u679c\u5168\u90e8\u4f9d\u8d56\u547d\u4ee4\u884c&#xff0c;\u5f53\u7136\u4e5f\u80fd\u5b8c\u6210&#xff1b;\u4f46\u653e\u8fdb\u4e00\u4e2a Web \u9875\u9762\u4ee5\u540e&#xff0c;\u5224\u65ad\u95ee\u9898\u7684\u901f\u5ea6\u4f1a\u5feb\u5f88\u591a\u3002<\/p>\n<p>\u5c24\u5176\u662f\u9047\u5230\u670d\u52a1\u5f02\u5e38\u65f6&#xff0c;\u53ef\u4ee5\u5148\u4ece Cockpit \u7684\u7cfb\u7edf\u72b6\u6001\u548c\u65e5\u5fd7\u4e2d\u627e\u5230\u65b9\u5411&#xff0c;\u518d\u51b3\u5b9a\u662f\u5426\u8fdb\u5165\u7ec8\u7aef\u7ee7\u7eed\u5904\u7406\u3002\u5bf9\u4e8e\u521a\u5f00\u59cb\u63a5\u89e6 Linux \u7684\u7528\u6237&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u964d\u4f4e\u4e86\u4f7f\u7528\u95e8\u69db&#xff1b;\u5bf9\u4e8e\u5df2\u7ecf\u4e60\u60ef\u547d\u4ee4\u884c\u7684\u4eba&#xff0c;\u5b83\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2a\u968f\u65f6\u6253\u5f00\u7684\u72b6\u6001\u9762\u677f\u3002<\/p>\n<p>\u518d\u901a\u8fc7 cpolar \u589e\u52a0\u8fdc\u7a0b\u8bbf\u95ee\u5165\u53e3\u4ee5\u540e&#xff0c;\u5373\u4f7f\u670d\u52a1\u5668\u653e\u5728\u5bb6\u91cc\u3001\u529e\u516c\u5ba4\u6216\u8005\u5176\u4ed6\u5185\u7f51\u73af\u5883\u4e2d&#xff0c;\u4e5f\u53ef\u4ee5\u4ece\u5916\u90e8\u7ee7\u7eed\u6253\u5f00 Cockpit \u67e5\u770b\u72b6\u6001\u548c\u5904\u7406\u4e00\u4e9b\u65e5\u5e38\u95ee\u9898\u3002<\/p>\n<p>\u6240\u4ee5 Cockpit \u6700\u5408\u9002\u7684\u4f4d\u7f6e&#xff0c;\u5e76\u4e0d\u662f\u201c\u547d\u4ee4\u884c\u66ff\u4ee3\u54c1\u201d\u3002<\/p>\n<p>\u5b83\u66f4\u50cf\u662f Linux \u670d\u52a1\u5668\u524d\u9762\u591a\u51fa\u6765\u7684\u4e00\u5757\u4eea\u8868\u76d8\u2014\u2014\u5e73\u65f6\u5148\u770b\u8fd9\u91cc&#xff0c;\u9700\u8981\u6df1\u5165\u7684\u65f6\u5019&#xff0c;\u518d\u6253\u5f00\u7ec8\u7aef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u6253\u5f00\u4e00\u53f0 Linux \u670d\u52a1\u5668\u4ee5\u540e&#xff0c;\u6211\u6700\u5e38\u505a\u7684\u5176\u5b9e\u5c31\u90a3\u4e48\u51e0\u4ef6\u4e8b\u3002<br \/>\n\u5148\u770b\u770b CPU \u548c\u5185\u5b58\u662f\u4e0d\u662f\u8dd1\u6ee1\u4e86&#xff0c;\u518d\u786e\u8ba4\u78c1\u76d8\u8fd8\u6709\u591a\u5c11\u7a7a\u95f4&#xff1b;\u670d\u52a1\u51fa\u95ee\u9898\u65f6\u7ffb\u4e00\u4e0b\u65e5\u5fd7&#xff0c;\u5fc5\u8981\u7684\u65f6\u5019\u91cd\u542f nginx\u3001Docker \u6216\u5176\u4ed6 systemd \u670d\u52a1\u3002\u5982\u679c\u8fd8\u6ca1\u627e\u5230\u539f\u56e0&#xff0c;\u6700\u540e\u518d\u8fdb\u5165\u7ec8\u7aef\u7ee7\u7eed\u6392\u67e5\u3002<br \/>\n\u8fd9\u4e9b\u64cd\u4f5c\u5f53\u7136\u90fd\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5b8c\u6210\u3002<br \/>\n\u4f46\u5982\u679c\u53ea\u662f\u60f3\u5feb\u901f\u5224\u65ad\u201c\u670d\u52a1\u5668\u73b0\u5728\u5230\u5e95\u54ea\u91cc\u4e0d\u6b63\u5e38\u201d&#xff0c;\u5148\u8bb0 top\u3001df -h\u3001jour<\/p>\n","protected":false},"author":2,"featured_media":98596,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11302],"topic":[],"class_list":["post-98616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-cockpit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/98616.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u6253\u5f00\u4e00\u53f0 Linux \u670d\u52a1\u5668\u4ee5\u540e&#xff0c;\u6211\u6700\u5e38\u505a\u7684\u5176\u5b9e\u5c31\u90a3\u4e48\u51e0\u4ef6\u4e8b\u3002 \u5148\u770b\u770b CPU \u548c\u5185\u5b58\u662f\u4e0d\u662f\u8dd1\u6ee1\u4e86&#xff0c;\u518d\u786e\u8ba4\u78c1\u76d8\u8fd8\u6709\u591a\u5c11\u7a7a\u95f4&#xff1b;\u670d\u52a1\u51fa\u95ee\u9898\u65f6\u7ffb\u4e00\u4e0b\u65e5\u5fd7&#xff0c;\u5fc5\u8981\u7684\u65f6\u5019\u91cd\u542f nginx\u3001Docker \u6216\u5176\u4ed6 systemd \u670d\u52a1\u3002\u5982\u679c\u8fd8\u6ca1\u627e\u5230\u539f\u56e0&#xff0c;\u6700\u540e\u518d\u8fdb\u5165\u7ec8\u7aef\u7ee7\u7eed\u6392\u67e5\u3002 \u8fd9\u4e9b\u64cd\u4f5c\u5f53\u7136\u90fd\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5b8c\u6210\u3002 \u4f46\u5982\u679c\u53ea\u662f\u60f3\u5feb\u901f\u5224\u65ad\u201c\u670d\u52a1\u5668\u73b0\u5728\u5230\u5e95\u54ea\u91cc\u4e0d\u6b63\u5e38\u201d&#xff0c;\u5148\u8bb0 top\u3001df -h\u3001jour\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/98616.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-31T23:42:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234210-6a9611522ad69.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98616.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/98616.html\",\"name\":\"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-31T23:42:22+00:00\",\"dateModified\":\"2026-08-31T23:42:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/98616.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/98616.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98616.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/98616.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u6253\u5f00\u4e00\u53f0 Linux \u670d\u52a1\u5668\u4ee5\u540e&#xff0c;\u6211\u6700\u5e38\u505a\u7684\u5176\u5b9e\u5c31\u90a3\u4e48\u51e0\u4ef6\u4e8b\u3002 \u5148\u770b\u770b CPU \u548c\u5185\u5b58\u662f\u4e0d\u662f\u8dd1\u6ee1\u4e86&#xff0c;\u518d\u786e\u8ba4\u78c1\u76d8\u8fd8\u6709\u591a\u5c11\u7a7a\u95f4&#xff1b;\u670d\u52a1\u51fa\u95ee\u9898\u65f6\u7ffb\u4e00\u4e0b\u65e5\u5fd7&#xff0c;\u5fc5\u8981\u7684\u65f6\u5019\u91cd\u542f nginx\u3001Docker \u6216\u5176\u4ed6 systemd \u670d\u52a1\u3002\u5982\u679c\u8fd8\u6ca1\u627e\u5230\u539f\u56e0&#xff0c;\u6700\u540e\u518d\u8fdb\u5165\u7ec8\u7aef\u7ee7\u7eed\u6392\u67e5\u3002 \u8fd9\u4e9b\u64cd\u4f5c\u5f53\u7136\u90fd\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5b8c\u6210\u3002 \u4f46\u5982\u679c\u53ea\u662f\u60f3\u5feb\u901f\u5224\u65ad\u201c\u670d\u52a1\u5668\u73b0\u5728\u5230\u5e95\u54ea\u91cc\u4e0d\u6b63\u5e38\u201d&#xff0c;\u5148\u8bb0 top\u3001df -h\u3001jour","og_url":"https:\/\/www.wsisp.com\/helps\/98616.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-31T23:42:22+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831234210-6a9611522ad69.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/98616.html","url":"https:\/\/www.wsisp.com\/helps\/98616.html","name":"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-31T23:42:22+00:00","dateModified":"2026-08-31T23:42:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/98616.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/98616.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/98616.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e0d\u60f3\u6bcf\u6b21\u7ba1\u7406\u670d\u52a1\u5668\u90fd\u6572\u547d\u4ee4\uff1f\u90e8\u7f72 Cockpit\uff0c\u628a Linux \u8fd0\u7ef4\u642c\u8fdb\u6d4f\u89c8\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=98616"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98616\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/98596"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=98616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=98616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=98616"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=98616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}