{"id":52289,"date":"2024-12-03T11:41:18","date_gmt":"2024-12-03T03:41:18","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52289\/"},"modified":"2024-12-03T11:41:18","modified_gmt":"2024-12-03T03:41:18","slug":"linux%e6%80%8e%e4%b9%88%e5%bf%ab%e9%80%9f%e5%ae%89%e8%a3%85%e7%a6%bb%e7%ba%bf%e7%89%88netdata%e6%9c%8d%e5%8a%a1%e7%9b%91%e6%8e%a7","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52289\/","title":{"rendered":"Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7<\/h1>\n<p><span style=\"font-size: 15px\">\u5b66\u4e60\u77e5\u8bc6\u8981\u5584\u4e8e\u601d\u8003\uff0c\u601d\u8003\uff0c\u518d\u601d\u8003\uff01\u4eca\u5929\u7c73\u4e91\u5c0f\u7f16\u5c31\u7ed9\u5927\u5bb6\u5e26\u6765<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u300b<\/span>\uff0c\u4ee5\u4e0b\u5185\u5bb9\u4e3b\u8981\u5305\u542b<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u4f60\u6b63\u5728\u5b66\u4e60\u6216\u51c6\u5907\u5b66\u4e60<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\uff0c\u5c31\u90fd\u4e0d\u8981\u9519\u8fc7\u672c\u6587\u5566~\u8ba9\u6211\u4eec\u4e00\u8d77\u6765\u770b\u770b\u5427\uff0c\u80fd\u5e2e\u52a9\u5230\u4f60\u5c31\u66f4\u597d\u4e86\uff01<\/span><\/p>\n<\/p>\n<p><strong>Linux \u5b89\u88c5\u79bb\u7ebf\u7248 netdata \u670d\u52a1\u76d1\u63a7<\/strong><\/p>\n<p><strong>\u5b89\u88c5\u8bf4\u660e<\/strong><\/p>\n<p>netdata \u5b98\u65b9\u6587\u6863\uff1a<\/p>\n<p><code>https:\/\/learn.netdata.cloud\/docs\/agent\/packaging\/platform_support<\/code><\/p>\n<p><strong>\u6267\u884c\u6743\u9650 (root)<\/strong><\/p>\n<pre>chown&nbsp;-R&nbsp;$(whoami):root&nbsp;netdata-offline\nchmod&nbsp;-R&nbsp;755&nbsp;netdata-offline<\/pre>\n<p><strong>\u5f00\u59cb\u5b89\u88c5<\/strong><\/p>\n<p>\u6267\u884c <code>.\/install.sh<\/code><\/p>\n<p>\u6267\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u9047\u5230\u4e00\u4e2a\u8bc1\u4e66\u8981\u6c42\uff0c\u76f4\u63a5\u8f93\u5165 y \u7ee7\u7eed\u5b89\u88c5<\/p>\n<p><strong>\u8bbf\u95ee<\/strong><\/p>\n<p>\u6700\u540e\u8bbf\u95ee ip:19999 IP \u6ce8\u610f\u66ff\u6362<\/p>\n<p><strong>\u6548\u679c\u56fe<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20240421\/1713674016662497205f53d.jpg\" class=\"aligncenter\" title=\"Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u63d2\u56fe\" alt=\"Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u63d2\u56fe\" \/><\/p>\n<p>\u611f\u8c22\u5404\u4f4d\u7684\u9605\u8bfb\uff0c\u4ee5\u4e0a\u5c31\u662f\u201cLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u201d\u7684\u5185\u5bb9\u4e86\uff0c\u7ecf\u8fc7\u672c\u6587\u7684\u5b66\u4e60\u540e\uff0c\u76f8\u4fe1\u5927\u5bb6\u5bf9Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u8fd9\u4e00\u95ee\u9898\u6709\u4e86\u66f4\u6df1\u523b\u7684\u4f53\u4f1a\uff0c\u5177\u4f53\u4f7f\u7528\u60c5\u51b5\u8fd8\u9700\u8981\u5927\u5bb6\u5b9e\u8df5\u9a8c\u8bc1\u3002\u8fd9\u91cc\u662f\u672c\u7ad9\uff0c\u5c0f\u7f16\u5c06\u4e3a\u5927\u5bb6\u63a8\u9001\u66f4\u591a\u76f8\u5173\u77e5\u8bc6\u70b9\u7684\u6587\u7ae0\uff0c\u6b22\u8fce\u5173\u6ce8\uff01<\/p>\n<p>\u7ec8\u4e8e\u4ecb\u7ecd\u5b8c\u5566\uff01\u5c0f\u4f19\u4f34\u4eec\uff0c\u8fd9\u7bc7\u5173\u4e8e\u300aLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u300b\u7684\u4ecb\u7ecd\u5e94\u8be5\u8ba9\u4f60\u6536\u83b7\u591a\u591a\u4e86\u5427\uff01\u6b22\u8fce\u5927\u5bb6\u6536\u85cf\u6216\u5206\u4eab\u7ed9\u66f4\u591a\u9700\u8981\u5b66\u4e60\u7684\u670b\u53cb\u5427~\u7c73\u4e91\u516c\u4f17\u53f7\u4e5f\u4f1a\u53d1\u5e03\u6587\u7ae0\u76f8\u5173\u77e5\u8bc6\uff0c\u5feb\u6765\u5173\u6ce8\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7 \u5b66\u4e60\u77e5\u8bc6\u8981\u5584\u4e8e\u601d\u8003\uff0c\u601d\u8003\uff0c\u518d\u601d\u8003\uff01\u4eca\u5929\u7c73\u4e91\u5c0f\u7f16\u5c31\u7ed9\u5927\u5bb6\u5e26\u6765\u300aLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u300b\uff0c\u4ee5\u4e0b\u5185\u5bb9\u4e3b\u8981\u5305\u542b\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u4f60\u6b63\u5728\u5b66\u4e60\u6216\u51c6\u5907\u5b66\u4e60\u6587\u7ae0\uff0c\u5c31\u90fd\u4e0d\u8981\u9519\u8fc7\u672c\u6587\u5566~\u8ba9\u6211\u4eec\u4e00\u8d77\u6765\u770b\u770b\u5427\uff0c\u80fd\u5e2e\u52a9\u5230\u4f60\u5c31\u66f4\u597d\u4e86\uff01 Linux \u5b89\u88c5\u79bb\u7ebf\u7248 netdata \u670d\u52a1\u76d1\u63a7 \u5b89\u88c5\u8bf4\u660e netdata \u5b98\u65b9\u6587\u6863\uff1a https:\/\/learn.netdata.cloud\/docs\/agent\/packaging\/platform_support \u6267\u884c\u6743\u9650 (root) chown&nbsp;-R&nbsp;$(whoami):root&nbsp;netdata-offline chmod&nbsp;-R&nbsp;755&nbsp;netdata-offline \u5f00\u59cb\u5b89\u88c5 \u6267\u884c .\/install.sh \u6267\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u9047\u5230\u4e00\u4e2a\u8bc1\u4e66\u8981\u6c42\uff0c\u76f4\u63a5\u8f93\u5165 y \u7ee7\u7eed\u5b89\u88c5 \u8bbf\u95ee \u6700\u540e\u8bbf\u95ee ip:19999 IP \u6ce8\u610f\u66ff\u6362 \u6548\u679c\u56fe \u611f\u8c22\u5404\u4f4d\u7684\u9605\u8bfb\uff0c\u4ee5\u4e0a\u5c31\u662f\u201cLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u201d\u7684\u5185\u5bb9\u4e86\uff0c\u7ecf\u8fc7\u672c\u6587\u7684\u5b66\u4e60\u540e\uff0c\u76f8\u4fe1\u5927\u5bb6\u5bf9Linux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u8fd9\u4e00\u95ee\u9898\u6709\u4e86\u66f4\u6df1\u523b\u7684\u4f53\u4f1a\uff0c\u5177\u4f53\u4f7f\u7528\u60c5\u51b5\u8fd8\u9700\u8981\u5927\u5bb6\u5b9e\u8df5\u9a8c\u8bc1\u3002\u8fd9\u91cc\u662f\u672c\u7ad9\uff0c\u5c0f\u7f16\u5c06\u4e3a\u5927\u5bb6\u63a8\u9001\u66f4\u591a\u76f8\u5173\u77e5\u8bc6\u70b9\u7684\u6587\u7ae0\uff0c\u6b22\u8fce\u5173\u6ce8\uff01 \u7ec8\u4e8e\u4ecb\u7ecd\u5b8c\u5566\uff01\u5c0f\u4f19\u4f34\u4eec\uff0c\u8fd9\u7bc7\u5173\u4e8e\u300aLinux\u600e\u4e48\u5feb\u901f\u5b89\u88c5\u79bb\u7ebf\u7248netdata\u670d\u52a1\u76d1\u63a7\u300b\u7684\u4ecb\u7ecd\u5e94\u8be5\u8ba9\u4f60\u6536\u83b7\u591a\u591a\u4e86\u5427\uff01\u6b22\u8fce\u5927\u5bb6\u6536\u85cf\u6216\u5206\u4eab\u7ed9\u66f4\u591a\u9700\u8981\u5b66\u4e60\u7684\u670b\u53cb\u5427~\u7c73\u4e91\u516c\u4f17\u53f7\u4e5f\u4f1a\u53d1\u5e03\u6587\u7ae0\u76f8\u5173\u77e5\u8bc6\uff0c\u5feb\u6765\u5173\u6ce8\u5427\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-52289","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52289"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52289\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}