deploy: 81a45024ac
This commit is contained in:
1 parent
913e32a26c
commit
a8998a141a
179 files changed
+293
-293
No files matched your search
@@ -12,7 +12,7 @@
|
||||
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="modulepreload" href="/assets/chunks/framework.BmdFiWrL.js">
|
||||
<link rel="modulepreload" href="/assets/chunks/theme.DAaY-8e0.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.BNxspEH6.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_agent.md.D4gvFyzi.lean.js">
|
||||
<script src="https://cdn.wwads.cn/js/makemoney.js" async></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FDME8GJGTW"></script>
|
||||
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-FDME8GJGTW");</script>
|
||||
@@ -164,8 +164,8 @@
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> stop</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> sleep</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 2</span></span>
|
||||
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> start</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><ul><li>Run <code>chmod +x /etc/init.d/nezha-service</code> to grant execution permission.</li><li>Start the service: <code>/etc/init.d/nezha-service enable && /etc/init.d/nezha-service start</code></li></ul></details><h2 id="does-the-agent-have-a-docker-image" tabindex="-1">Does the Agent Have a Docker Image? <a class="header-anchor" href="#does-the-agent-have-a-docker-image" aria-label="Permalink to "Does the Agent Have a Docker Image?""></a></h2><p><strong>The Agent does not currently have a Docker image.</strong><br> The design philosophy of the Agent is opposite to that of the Dashboard. While the Dashboard should minimally impact the server, the Agent needs to execute monitoring services and run commands within the server.<br> Running the Agent inside a container can still perform monitoring tasks, but features like WebShell will not function properly, so no Docker image is provided.</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-d4a0bba5><!--[--><!--]--><div class="edit-info" data-v-d4a0bba5><div class="edit-link" data-v-d4a0bba5><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/agent.md" target="_blank" rel="noreferrer" data-v-d4a0bba5><!--[--><span class="vpi-square-pen edit-link-icon" data-v-d4a0bba5></span> Edit this page on GitHub<!--]--></a></div><div class="last-updated" data-v-d4a0bba5><p class="VPLastUpdated" data-v-d4a0bba5 data-v-7e05ebdb>Last Updated: <time datetime="2024-06-25T14:06:14.000Z" data-v-7e05ebdb></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-d4a0bba5><span class="visually-hidden" id="doc-footer-aria-label" data-v-d4a0bba5>Pager</span><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link prev" href="/en_US/guide/dashboard.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Previous page</span><span class="title" data-v-d4a0bba5>Install Dashboard</span><!--]--></a></div><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link next" href="/en_US/guide/servers.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Next page</span><span class="title" data-v-d4a0bba5>Servers</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-5d98c3a5 data-v-e315a0ad><div class="container" data-v-e315a0ad><p class="message" data-v-e315a0ad>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License</p><p class="copyright" data-v-e315a0ad>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
|
||||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en_us_guide_q7.md\":\"D7tqwixa\",\"case_case3.md\":\"BdWKslEd\",\"en_us_guide_q2.md\":\"RFKnNPVH\",\"en_us_guide_q3.md\":\"BiECYzDi\",\"case_case5.md\":\"csDV1wFm\",\"en_us_case_case5.md\":\"DZPM-ztM\",\"case_index.md\":\"BuDFeBYT\",\"en_us_developer_index.md\":\"DxGpnCZS\",\"en_us_developer_l10n.md\":\"RuMyrLun\",\"en_us_guide_q6.md\":\"CYkl7RB8\",\"en_us_guide_q8.md\":\"D8UQIOFe\",\"case_case4.md\":\"C-TVL3mN\",\"en_us_guide_agent.md\":\"BNxspEH6\",\"guide_q4.md\":\"2QdobrCv\",\"case_case1.md\":\"D0tS73l-\",\"en_us_guide_q9.md\":\"COrMSHCX\",\"developer_l10n.md\":\"CNRs2S5w\",\"en_us_case_case3.md\":\"dh-oCXvG\",\"guide_dashboard.md\":\"DDzN1J3T\",\"guide_q1.md\":\"uLTACwqP\",\"guide_agentq.md\":\"B5AZxlQ3\",\"en_us_case_index.md\":\"BufpB1_H\",\"en_us_guide_settings.md\":\"Dnd_3q2s\",\"en_us_case_case1.md\":\"ClUiE9CP\",\"en_us_case_case2.md\":\"G_QSXTvm\",\"en_us_guide_dashboard.md\":\"DyklMBHa\",\"en_us_guide_agentq.md\":\"DNLk_mry\",\"en_us_guide_dashboardq.md\":\"fguYkopd\",\"en_us_guide_loginq.md\":\"BUCrexnU\",\"guide_servers.md\":\"Do0KAl8u\",\"guide_q2.md\":\"C5K3xWdW\",\"en_us_guide_servers.md\":\"eWEkTWxP\",\"en_us_developer_theme.md\":\"C10uSj0F\",\"guide_tasks.md\":\"AibpiiH1\",\"en_us_guide_tasks.md\":\"DrsTtjO_\",\"index.md\":\"Wiy4Ub4Y\",\"guide_services.md\":\"Bxu6PQFZ\",\"developer_index.md\":\"DZQGmvkW\",\"guide_q6.md\":\"u19d3LE_\",\"guide_q3.md\":\"CXysUo3M\",\"guide_q5.md\":\"Cff-S1PY\",\"guide_q9.md\":\"BXH5Q4lj\",\"guide_settings.md\":\"B7txnklN\",\"en_us_guide_q4.md\":\"IUBRNYkv\",\"guide_q8.md\":\"Dp6Vrg_-\",\"case_case2.md\":\"SrhBmVfe\",\"en_us_guide_notifications.md\":\"BnMRRg_N\",\"en_us_guide_q5.md\":\"DKwTmN3L\",\"guide_dashboardq.md\":\"DArpR80f\",\"en_us_index.md\":\"Cc9yZh2p\",\"en_us_guide_api.md\":\"8qXbl6OW\",\"guide_notifications.md\":\"ByVNY_eg\",\"guide_api.md\":\"Cxhzcsva\",\"developer_theme.md\":\"DFG0bshd\",\"guide_loginq.md\":\"CwNhnEPM\",\"guide_q7.md\":\"D3UQrSFg\",\"en_us_guide_services.md\":\"CNMhFfGw\",\"en_us_case_case4.md\":\"B44dBOtb\",\"guide_agent.md\":\"CSGFcQ4J\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"/logo.png\",\"width\":24,\"height\":24},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nezhahq/nezhahq.github.io\"}],\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"HP6QF6KMZD\",\"apiKey\":\"fb8bae9ed373d1057e0c07fcf32b3f1a\",\"indexName\":\"nezhahq\",\"locales\":{\"root\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"footer\":{\"message\":\"This work is licensed under a <a rel=\\\"license\\\" href=\\\"http://creativecommons.org/licenses/by-nc-sa/4.0/\\\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License\",\"copyright\":\"Copyright © 2022-present NezhaHQ\"}},\"locales\":{\"root\":{\"lang\":\"zh-CN\",\"label\":\"简体中文\",\"title\":\"哪吒监控\",\"description\":\"哪吒监控是一个轻量化的运维工具\",\"link\":\"/\",\"themeConfig\":{\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/:path\",\"text\":\"在GitHub中编辑\"},\"nav\":[{\"text\":\"使用指南\",\"link\":\"/\",\"activeMatch\":\"^/$|^/guide/\"},{\"text\":\"社区项目\",\"link\":\"/case/index.html\",\"activeMatch\":\"^/case/\"},{\"text\":\"开发手册\",\"link\":\"/developer/index.html\",\"activeMatch\":\"^/developer/\"}],\"sidebar\":{\"/\":[{\"text\":\"安装手册\",\"items\":[{\"text\":\"安装 Dashboard\",\"link\":\"/guide/dashboard.html\"},{\"text\":\"安装 Agent\",\"link\":\"/guide/agent.html\"}]},{\"text\":\"管理面板配置\",\"items\":[{\"text\":\"服务器\",\"link\":\"/guide/Line truncated
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><ul><li>Run <code>chmod +x /etc/init.d/nezha-service</code> to grant execution permission.</li><li>Start the service: <code>/etc/init.d/nezha-service enable && /etc/init.d/nezha-service start</code></li></ul></details><h2 id="does-the-agent-have-a-docker-image" tabindex="-1">Does the Agent Have a Docker Image? <a class="header-anchor" href="#does-the-agent-have-a-docker-image" aria-label="Permalink to "Does the Agent Have a Docker Image?""></a></h2><p><strong>The Agent does not currently have a Docker image.</strong><br> The design philosophy of the Agent is opposite to that of the Dashboard. While the Dashboard should minimally impact the server, the Agent needs to execute monitoring services and run commands within the server.<br> Running the Agent inside a container can still perform monitoring tasks, but features like WebShell will not function properly, so no Docker image is provided.</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-d4a0bba5><!--[--><!--]--><div class="edit-info" data-v-d4a0bba5><div class="edit-link" data-v-d4a0bba5><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/agent.md" target="_blank" rel="noreferrer" data-v-d4a0bba5><!--[--><span class="vpi-square-pen edit-link-icon" data-v-d4a0bba5></span> Edit this page on GitHub<!--]--></a></div><div class="last-updated" data-v-d4a0bba5><p class="VPLastUpdated" data-v-d4a0bba5 data-v-7e05ebdb>Last Updated: <time datetime="2024-06-27T13:17:13.000Z" data-v-7e05ebdb></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-d4a0bba5><span class="visually-hidden" id="doc-footer-aria-label" data-v-d4a0bba5>Pager</span><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link prev" href="/en_US/guide/dashboard.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Previous page</span><span class="title" data-v-d4a0bba5>Install Dashboard</span><!--]--></a></div><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link next" href="/en_US/guide/servers.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Next page</span><span class="title" data-v-d4a0bba5>Servers</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-5d98c3a5 data-v-e315a0ad><div class="container" data-v-e315a0ad><p class="message" data-v-e315a0ad>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License</p><p class="copyright" data-v-e315a0ad>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
|
||||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en_us_guide_loginq.md\":\"DlZgRB48\",\"en_us_guide_q9.md\":\"BchHyQQn\",\"guide_q7.md\":\"Yg4CPFiM\",\"developer_theme.md\":\"bzCGqwpF\",\"en_us_case_case2.md\":\"ChxjNJXx\",\"guide_q9.md\":\"BS56IG1V\",\"en_us_case_case1.md\":\"Bqod3rgC\",\"guide_notifications.md\":\"BtTx-ky2\",\"en_us_case_case4.md\":\"BNkjhbrk\",\"en_us_case_case3.md\":\"DJxUeNtc\",\"en_us_guide_q4.md\":\"Cb1hRym5\",\"en_us_case_case5.md\":\"svss2CjZ\",\"en_us_developer_l10n.md\":\"Dbc9s40f\",\"en_us_guide_dashboard.md\":\"DoMzBFj5\",\"en_us_guide_dashboardq.md\":\"VZlUIC7T\",\"case_case2.md\":\"BkflG1_b\",\"en_us_guide_agent.md\":\"D4gvFyzi\",\"case_case1.md\":\"C4NDYc95\",\"en_us_guide_q3.md\":\"DIKDQinI\",\"en_us_guide_notifications.md\":\"BDfSbpoZ\",\"en_us_guide_servers.md\":\"CLP5YweY\",\"guide_tasks.md\":\"B3T6qFUo\",\"case_index.md\":\"CvgWmS2K\",\"index.md\":\"89q1_a2K\",\"developer_l10n.md\":\"Nwj9cwPP\",\"case_case4.md\":\"w16SsW5U\",\"guide_services.md\":\"Bps7wdp9\",\"guide_api.md\":\"DGyp18dr\",\"guide_agentq.md\":\"djc2X9jJ\",\"guide_dashboardq.md\":\"BDAPzuiZ\",\"developer_index.md\":\"BsN0-td-\",\"en_us_case_index.md\":\"BnXsKypm\",\"en_us_guide_services.md\":\"D-Y9jUKL\",\"en_us_index.md\":\"8kW7GQXt\",\"en_us_developer_theme.md\":\"BUpcJAT3\",\"en_us_guide_q6.md\":\"DfHpqsdb\",\"en_us_guide_q5.md\":\"BTfvqkfp\",\"guide_q3.md\":\"DwCNNZFi\",\"guide_q4.md\":\"CxFr4HrP\",\"en_us_guide_q7.md\":\"CCRrDlAi\",\"case_case3.md\":\"NmG5Vnml\",\"case_case5.md\":\"DfVgfrtQ\",\"en_us_guide_q2.md\":\"DYfaa8jp\",\"guide_loginq.md\":\"BMrEVEM6\",\"guide_dashboard.md\":\"BCa2-Nwo\",\"en_us_guide_settings.md\":\"D6Kd8EuO\",\"guide_q2.md\":\"D9OwD6Lw\",\"guide_q5.md\":\"CFuiMdtI\",\"guide_servers.md\":\"DcCxbmtQ\",\"en_us_guide_tasks.md\":\"DnQ82wAt\",\"en_us_guide_agentq.md\":\"DbWzVcUx\",\"guide_q6.md\":\"BAnFCQ9W\",\"guide_agent.md\":\"BGJO1yl9\",\"en_us_guide_q8.md\":\"BxZy78WI\",\"guide_q1.md\":\"BwLveNpj\",\"en_us_guide_api.md\":\"DmcGr_5z\",\"en_us_developer_index.md\":\"KWR6b-AD\",\"guide_settings.md\":\"BZa8WL_Z\",\"guide_q8.md\":\"-Ccrbv_Z\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"/logo.png\",\"width\":24,\"height\":24},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nezhahq/nezhahq.github.io\"}],\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"HP6QF6KMZD\",\"apiKey\":\"fb8bae9ed373d1057e0c07fcf32b3f1a\",\"indexName\":\"nezhahq\",\"locales\":{\"root\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"footer\":{\"message\":\"This work is licensed under a <a rel=\\\"license\\\" href=\\\"http://creativecommons.org/licenses/by-nc-sa/4.0/\\\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License\",\"copyright\":\"Copyright © 2022-present NezhaHQ\"}},\"locales\":{\"root\":{\"lang\":\"zh-CN\",\"label\":\"简体中文\",\"title\":\"哪吒监控\",\"description\":\"哪吒监控是一个轻量化的运维工具\",\"link\":\"/\",\"themeConfig\":{\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/:path\",\"text\":\"在GitHub中编辑\"},\"nav\":[{\"text\":\"使用指南\",\"link\":\"/\",\"activeMatch\":\"^/$|^/guide/\"},{\"text\":\"社区项目\",\"link\":\"/case/index.html\",\"activeMatch\":\"^/case/\"},{\"text\":\"开发手册\",\"link\":\"/developer/index.html\",\"activeMatch\":\"^/developer/\"}],\"sidebar\":{\"/\":[{\"text\":\"安装手册\",\"items\":[{\"text\":\"安装 Dashboard\",\"link\":\"/guide/dashboard.html\"},{\"text\":\"安装 Agent\",\"link\":\"/guide/agent.html\"}]},{\"text\":\"管理面板配置\",\"items\":[{\"text\":\"服务器\",\"link\":\"/guide/Line truncated
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user