Skip to content

Commit 4e31d52

Browse files
authored
Merge pull request #1548 from fluent/lynettemiles/sc-105725/update-installation-linux-ubuntu-md-fluent
Update ubuntu install page for style and grammar
2 parents 5d5d509 + 208ac5f commit 4e31d52

File tree

1 file changed

+42
-24
lines changed

1 file changed

+42
-24
lines changed

installation/linux/ubuntu.md

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,38 @@
11
# Ubuntu
22

3-
Fluent Bit is distributed as **fluent-bit** package and is available for long-term support releases of Ubuntu.
4-
The latest officially supported version is Noble Numbat (24.04).
3+
Fluent Bit is distributed as the `fluent-bit` package and is available for long-term
4+
support releases of Ubuntu. The latest officially supported version is Noble Numbat
5+
(24.04).
56

67
## Single line install
78

8-
A simple installation script is provided to be used for most Linux targets.
9+
An installation script is provided for most Linux targets.
910
This will always install the most recent version released.
1011

1112
```bash
1213
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
1314
```
1415

1516
This is purely a convenience helper and should always be validated prior to use.
16-
The recommended secure deployment approach is to follow the instructions below.
17+
The recommended secure deployment approach is to use the following instructions.
1718

1819
## Server GPG key
1920

20-
The first step is to add our server GPG key to your keyring to ensure you can get our signed packages.
21-
Follow the official Debian wiki guidance: <https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP\_Key\_distribution>
21+
The first step is to add the Fluent Bit server GPG key to your keyring to ensure
22+
you can get the correct signed packages.
23+
24+
Follow the official
25+
[Debian wiki guidance](https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution).
2226

2327
```bash
2428
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
2529
```
2630

2731
### Updated key from March 2022
2832

29-
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.
33+
For releases 1.9.0 and 1.8.15 and later, the
34+
[GPG key has been updated](https://packages.fluentbit.io/fluentbit.key). Ensure
35+
the new key is added.
3036

3137
The GPG Key fingerprint of the new key is:
3238

@@ -35,53 +41,63 @@ C3C0 A285 34B9 293E AF51 FABD 9F9D DC08 3888 C1CD
3541
Fluentbit releases (Releases signing key) <[email protected]>
3642
```
3743

38-
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.
44+
The previous key is [still available](https://packages.fluentbit.io/fluentbit-legacy.key)
45+
and might be required to install previous versions.
3946

4047
The GPG Key fingerprint of the old key is:
4148

4249
```text
4350
F209 D876 2A60 CD49 E680 633B 4FF8 368B 6EA0 722A
4451
```
4552

46-
Refer to the [supported platform documentation](../supported-platforms.md) to see which platforms are supported in each release.
53+
Refer to the [supported platform documentation](../supported-platforms.md) to see
54+
which platforms are supported in each release.
4755

4856
## Update your sources lists
4957

50-
On Ubuntu, 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 [Ubuntu release name](https://wiki.ubuntu.com/Releases) (e.g. `focal` for Ubuntu 20.04):
58+
On Ubuntu, you need to add the Fluent Bit APT server entry to your sources lists.
59+
Add the following content at bottom of your `/etc/apt/sources.list` file. Ensure
60+
`CODENAME` is set to your specific [Ubuntu release name](https://wiki.ubuntu.com/Releases).
61+
For example, `focal` for Ubuntu 20.04.
5162

5263
```bash
5364
deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/${CODENAME} ${CODENAME} main
5465
```
5566

5667
### Update your repositories database
5768

58-
Now let your system update the _apt_ database:
69+
Update the `apt` database on your system:
5970

6071
```bash
6172
sudo apt-get update
6273
```
6374

6475
{% hint style="info" %}
65-
We recommend upgrading your system (`sudo apt-get upgrade`). This could avoid potential issues with expired certificates.
66-
{% endhint %}
76+
Fluent Bit recommends upgrading your system to avoid potential issues
77+
with expired certificates:
6778

68-
{% hint style="info" %}
69-
If you have the following error "Certificate verification failed", you might want to check if the package `ca-certificates` is properly installed (`sudo apt-get install ca-certificates`).
79+
`sudo apt-get upgrade`
80+
81+
82+
If you receive the error `Certificate verification failed`, check if the package
83+
`ca-certificates` is properly installed:
84+
85+
`sudo apt-get install ca-certificates`
7086
{% endhint %}
7187

7288
## Install Fluent Bit
7389

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

76-
```text
77-
sudo apt-get install fluent-bit
78-
```
92+
```bash copy
93+
sudo apt-get install fluent-bit
94+
```
7995

80-
Now the following step is to instruct _systemd_ to enable the service:
96+
1. Instruct `systemd` to enable the service:
8197

82-
```bash
83-
sudo systemctl start fluent-bit
84-
```
98+
```bash copy
99+
sudo systemctl start fluent-bit
100+
```
85101

86102
If you do a status check, you should see a similar output like this:
87103

@@ -99,4 +115,6 @@ systemctl status fluent-bit
99115
...
100116
```
101117

102-
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.
118+
The default configuration of `fluent-bit` is collecting metrics of CPU usage and
119+
sending the records to the standard output. You can see the outgoing data in your
120+
`/var/log/syslog` file.

0 commit comments

Comments
 (0)