树莓派

Fluent Bit 发布的软件包为 td-agent-bit,可用于 Raspberry,特别是 Raspbian 的发行版,支持以下版本:

  • Raspbian Buster (10)

  • Raspbian Stretch (9)

  • Raspbian Jessie (8)

Server GPG key

第一步,将我们的服务器 GPG 密钥添加到您的密钥环中,这样就可以获取我们签名的软件包:

$ wget -qO - https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -

Update your sources lists

在 Debian 及其衍生系统,例如 Raspbian 上,您需要将我们的 APT 服务器实例添加到您的源列表中,请在 /etc/apt/sources.list 文件中添加如下内容:

Raspbian 10 (Buster)

deb https://packages.fluentbit.io/raspbian/buster buster main

Raspbian 9 (Stretch)

deb https://packages.fluentbit.io/raspbian/stretch stretch main

Raspbian 8 (Jessie)

deb https://packages.fluentbit.io/raspbian/jessie jessie main

Update your repositories database

现在,让您的系统更新 apt 数据库:

Install TD Agent Bit

现在,使用以下 apt-get 命令,您可以安装最新的 td-agent-bit:

Now the following step is to instruct systemd to enable the service:

如果进行状态检查,应该会看到类似如下的输出:

td-agent-bit 的默认配置是收集 CPU 使用率的指标数据并将记录发送到标准输出,您可以在 /var/log/syslog 文件中看到输出的数据。

Last updated

Was this helpful?