Skip to content

Commit 9da9d31

Browse files
authored
Merge pull request #1558 from fluent/lynettemiles/sc-105722/update-installation-linux-debian-md-fluent
Updating Debian install for style and consistency
2 parents 0024379 + 2ce3aa6 commit 9da9d31

File tree

1 file changed

+47
-29
lines changed

1 file changed

+47
-29
lines changed

installation/linux/debian.md

Lines changed: 47 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,43 @@
11
# Debian
22

3-
Fluent Bit is distributed as **fluent-bit** package and is available for the latest (and legacy) stable Debian systems: Bookworm and Bullseye.
3+
Fluent Bit is distributed as the `fluent-bit` package and is available for the latest
4+
stable CentOS system.
5+
46
The following architectures are supported
57

6-
* x86\_64
7-
* aarch64 / arm64v8
8+
- `x86_64`
9+
- `aarch64`
10+
- `arm64v8`
811

912
## Single line install
1013

11-
A simple installation script is provided to be used for most Linux targets.
12-
This will always install the most recent version released.
14+
Fluent Bit provides an installation script to use for most Linux targets.
15+
This will always install the most recently released version.
1316

14-
```bash
17+
```bash copy
1518
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
1619
```
1720

18-
This is purely a convenience helper and should always be validated prior to use.
19-
The recommended secure deployment approach is to follow the instructions below.
21+
This is a convenience helper and should always be validated prior to use.
22+
The recommended secure deployment approach is to use the following instructions:
2023

2124
## Server GPG key
2225

23-
The first step is to add our server GPG key to your keyring, on that way you can get our signed packages.
24-
Follow the official Debian wiki guidance: <https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP\_Key\_distribution>
26+
The first step is to add the Fluent Bit server GPG key to your keyring to ensure
27+
you can get the correct signed packages.
2528

26-
```bash
29+
Follow the official
30+
[Debian wiki guidance](https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution).
31+
32+
```bash copy
2733
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
2834
```
2935

3036
### Updated key from March 2022
3137

32-
From the 1.9.0 and 1.8.15 releases please note that the GPG key has been updated at [https://packages.fluentbit.io/fluentbit.key](https://packages.fluentbit.io/fluentbit.key) so ensure this new one is added.
38+
For the 1.9.0 and 1.8.15 and later releases, the
39+
[GPG key has been updated](https://packages.fluentbit.io/fluentbit.key). Ensure
40+
this new one is added.
3341

3442
The GPG Key fingerprint of the new key is:
3543

@@ -38,51 +46,59 @@ C3C0 A285 34B9 293E AF51 FABD 9F9D DC08 3888 C1CD
3846
Fluentbit releases (Releases signing key) <[email protected]>
3947
```
4048

41-
The previous key is still available at [https://packages.fluentbit.io/fluentbit-legacy.key](https://packages.fluentbit.io/fluentbit-legacy.key) and may be required to install previous versions.
49+
The previous key is [still available](https://packages.fluentbit.io/fluentbit-legacy.key)
50+
and might be required to install previous versions.
4251

4352
The GPG Key fingerprint of the old key is:
4453

4554
```text
4655
F209 D876 2A60 CD49 E680 633B 4FF8 368B 6EA0 722A
4756
```
4857

49-
Refer to the [supported platform documentation](../supported-platforms.md) to see which platforms are supported in each release.
58+
Refer to the [supported platform documentation](../supported-platforms.md) to see
59+
which platforms are supported in each release.
5060

5161
## Update your sources lists
5262

53-
On Debian, you need to add our APT server entry to your sources lists, please add the following content at bottom of your **/etc/apt/sources.list** file - ensure to set `CODENAME` to your specific [Debian release name](https://wiki.debian.org/DebianReleases#Production\_Releases) (e.g. `bookworm` for Debian 12):
63+
For Debian, you must add the Fluent Bit APT server entry to your sources lists.
64+
Add the following content at bottom of your `/etc/apt/sources.list` file.
5465

55-
```bash
66+
```bash copy
5667
deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/${CODENAME} ${CODENAME} main
5768
```
5869

70+
Replace _`CODENAME`_ with your specific
71+
[Debian release name](https://wiki.debian.org/DebianReleases#Production\_Releases)
72+
(for example: `bookworm` for Debian 12)
73+
5974
## Update your repositories database
6075

61-
Now let your system update the _apt_ database:
76+
Update your system's `apt` database:
6277

63-
```bash
78+
```bash copy
6479
sudo apt-get update
6580
```
6681

6782
{% hint style="info" %}
68-
We recommend upgrading your system (`sudo apt-get upgrade`). This could avoid potential issues with expired certificates.
83+
Fluent Bit recommends upgrading your system (`sudo apt-get upgrade`). This could
84+
avoid potential issues with expired certificates.
6985
{% endhint %}
7086

7187
## Install Fluent Bit
7288

73-
Using the following _apt-get_ command you are able now to install the latest _fluent-bit_:
89+
1. Use the following `apt-get` command to install the latest Fluent Bit:
7490

75-
```bash
76-
sudo apt-get install fluent-bit
77-
```
91+
```bash copy
92+
sudo apt-get install fluent-bit
93+
```
7894

79-
Now the following step is to instruct _systemd_ to enable the service:
95+
1. Instruct `systemd` to enable the service:
8096

81-
```bash
82-
sudo systemctl start fluent-bit
83-
```
97+
```bash copy
98+
sudo systemctl start fluent-bit
99+
```
84100

85-
If you do a status check, you should see a similar output like this:
101+
If you do a status check, you should see a similar output similar to:
86102

87103
```bash
88104
sudo service fluent-bit status
@@ -98,4 +114,6 @@ sudo service fluent-bit status
98114
...
99115
```
100116

101-
The default configuration of **fluent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/syslog_ file.
117+
The default Fluent Bit configuration collect metrics of CPU usage and sends the
118+
records to the standard output. You can see the outgoing data in your
119+
`/var/log/messages` file.

0 commit comments

Comments
 (0)