<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>V2.3.0 on HUATUO 文档中心</title>
    <link>https://docs.huatuo.tech/zh/v2.3.0/</link>
    <description>Recent content in V2.3.0 on HUATUO 文档中心</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Thu, 13 Aug 2026 21:53:16 +0800</lastBuildDate>
    <atom:link href="https://docs.huatuo.tech/zh/v2.3.0/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>快速开始</title>
      <link>https://docs.huatuo.tech/zh/v2.3.0/quick-start/</link>
      <pubDate>Mon, 27 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/zh/v2.3.0/quick-start/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;为帮助大家快速体验、部署 HUATUO, 该文档分别从 &lt;a href=&#34;https://docs.huatuo.tech/zh/v2.3.0/quick-start/#1-%e6%9e%81%e9%80%9f%e4%bd%93%e9%aa%8c&#34;&gt;极速体验&lt;/a&gt;，&lt;a href=&#34;https://docs.huatuo.tech/zh/v2.3.0/quick-start/#2-%e5%ae%b9%e5%99%a8%e5%90%af%e5%8a%a8&#34;&gt;容器启动&lt;/a&gt;，&lt;a href=&#34;https://docs.huatuo.tech/zh/v2.3.0/quick-start/#3-%e7%bc%96%e8%af%91%e9%83%a8%e7%bd%b2&#34;&gt;编译部署&lt;/a&gt; 三部分说明。&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;1-极速体验&#34;&gt;1. 极速体验&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#1-%e6%9e%81%e9%80%9f%e4%bd%93%e9%aa%8c&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;你可以直接登陆&lt;a href=&#34;http://console.huatuo.tech&#34;&gt;示例网站&lt;/a&gt;访问前端监控大盘示例，如内核指标、异常事件、火焰图等（账户：huatuo 密码：huatuo1024）。&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://console.huatuo.tech/d/autotracing-event&#34;&gt;Events, AutoTracing 大盘（持续完善）&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-autotrcing-event.png&#34; alt=&#34;autotrcing-event demo diagram​&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://console.huatuo.tech/d/metrics-host&#34;&gt;宿主机 Metrics 大盘（持续完善）&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-metrics-host.png&#34; alt=&#34;metrics-host demo diagram&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://console.huatuo.tech/d/metrics-container&#34;&gt;容器 Metrics 大盘（持续完善）&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-metrics-container.png&#34; alt=&#34;metrics-container demo diagram&#34;&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;2-容器启动&#34;&gt;2. 容器启动&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#2-%e5%ae%b9%e5%99%a8%e5%90%af%e5%8a%a8&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://docs.huatuo.tech/img/quickstart-data-flow.png&#34; alt=&#34;HUATUO 组件数据流示意图&#34;&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;21-docker-启动&#34;&gt;2.1 Docker 启动&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#21-docker-%e5%90%af%e5%8a%a8&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;通过 docker 启动已经编译好的容器镜像（注意：该方式默认关闭了获取容器信息功能，和 ES 存储功能）。&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;启动容器：&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ docker run --privileged --pid&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host --cgroupns&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host --network&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host -v /sys:/sys -v /proc:/proc -v /run:/run huatuo/huatuo-bamai:latest&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;获取指标：打开另外一个终端，通过 curl 获取。&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ curl -s localhost:19704/metrics&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;&#xA;&lt;li&gt;查看异常事件 (Events, AutoTracing)：HUATUO 会将采集到的内核异常事件信息在 ES （已关闭），和本地目录 &lt;code&gt;huatuo-local&lt;/code&gt; 分别存储。注意：通常该路径下没有任何文件（正常状态的系统不会触发事件采集），你可以通过构造异常场景或者修改配置文件阈值产生事件。&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h4 id=&#34;22-docker-compose-启动&#34;&gt;2.2 Docker Compose 启动&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#22-docker-compose-%e5%90%af%e5%8a%a8&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;通过 docker compose，可以快速地在本地搭建部署一套完整的环境。该命令拉取最新镜像，启动 &lt;a href=&#34;https://www.elastic.co&#34;&gt;elasticsearch&lt;/a&gt;, &lt;a href=&#34;https://prometheus.io&#34;&gt;prometheus&lt;/a&gt;, &lt;a href=&#34;https://grafana.com&#34;&gt;grafana&lt;/a&gt;，huatuo-bamai 等组件。命令执行成功后，打开浏览器访问 &lt;a href=&#34;http://localhost:3000&#34;&gt;http://localhost:3000&lt;/a&gt; 即可浏览监控大盘（grafana 默认管理员账户：admin 密码：admin； 系统正常状态不会触发 Events, AutoTracing）。&lt;/p&gt;</description>
    </item>
    <item>
      <title>源码编译</title>
      <link>https://docs.huatuo.tech/zh/v2.3.0/compiling/</link>
      <pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/zh/v2.3.0/compiling/</guid>
      <description>&lt;h3 id=&#34;1-容器编译&#34;&gt;1. 容器编译&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#1-%e5%ae%b9%e5%99%a8%e7%bc%96%e8%af%91&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;可以执行如下命令，完成编译，静态代码检查。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ sh build/build-run-testing-image.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;或者单独执行：&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;1. 准备编译环境&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ docker build --network host -t huatuo/huatuo-bamai-dev:latest -f ./Dockerfile.devel .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;2. 启动编译容器&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ docker run -it --pid&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host --privileged --cgroupns&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host --network&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;host -v &lt;span class=&#34;k&#34;&gt;$(&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;pwd&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;)&lt;/span&gt;:/go/huatuo-bamai huatuo/huatuo-bamai-dev:latest sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;3. 进入容器编译&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ make&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;2-镜像发布&#34;&gt;2. 镜像发布&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#2-%e9%95%9c%e5%83%8f%e5%8f%91%e5%b8%83&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;通过 docker build 方式能够快速的发布，最新二进制容器镜像。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker build --network host -t huatuo/huatuo-bamai:latest .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;3-物理机编译&#34;&gt;3. 物理机编译&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#3-%e7%89%a9%e7%90%86%e6%9c%ba%e7%bc%96%e8%af%91&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;31-安装依赖&#34;&gt;3.1 安装依赖&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#31-%e5%ae%89%e8%a3%85%e4%be%9d%e8%b5%96&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;p&gt;Ubuntu 24.04:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;apt install make git clang libbpf-dev linux-tools-common curl capnproto&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Fedora 40:&lt;/p&gt;</description>
    </item>
    <item>
      <title>变更日志</title>
      <link>https://docs.huatuo.tech/zh/v2.3.0/changelog/</link>
      <pubDate>Sun, 29 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://docs.huatuo.tech/zh/v2.3.0/changelog/</guid>
      <description></description>
    </item>
  </channel>
</rss>
