-
Notifications
You must be signed in to change notification settings - Fork 538
packaging: add opensuse and sles #2103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,140 @@ | ||||||||||||||
| # openSUSE and SLES | ||||||||||||||
|
Check warning on line 1 in installation/downloads/linux/suse.md
|
||||||||||||||
|
|
||||||||||||||
| Fluent Bit is distributed as the `fluent-bit` package and is available for the latest stable opensuse-leap and sles 15.7 system. | ||||||||||||||
|
Check warning on line 3 in installation/downloads/linux/suse.md
|
||||||||||||||
esmerel marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
|
|
||||||||||||||
| Fluent Bit supports the following architectures: | ||||||||||||||
|
|
||||||||||||||
| - `x86_64` | ||||||||||||||
| - `aarch64` | ||||||||||||||
| - `arm64v8` | ||||||||||||||
cosmo0920 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
|
|
||||||||||||||
| For openSUSE 15, Fluent Bit uses [openSUSE Leap](https://get.opensuse.org/leap) as the canonical base system. | ||||||||||||||
|
|
||||||||||||||
| The recommended secure deployment approach is to use the following instructions: | ||||||||||||||
|
|
||||||||||||||
| ## For openSUSE and SUSE Linux Enterprise Server (SLES) | ||||||||||||||
|
Check warning on line 15 in installation/downloads/linux/suse.md
|
||||||||||||||
|
|
||||||||||||||
| Fluent Bit provides packages for openSUSE (Leap) and SUSE Linux Enterprise Server (SLES). The repository uses the $releasever variable to dynamically fetch packages for your specific system version. | ||||||||||||||
|
Check warning on line 17 in installation/downloads/linux/suse.md
|
||||||||||||||
esmerel marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
|
|
||||||||||||||
| ## Configure `zypper` | ||||||||||||||
|
|
||||||||||||||
| The `fluent-bit` openSUSE package is provided through a `zypper` repository. To add the repository reference to your system: | ||||||||||||||
|
|
||||||||||||||
| 1. Import the GPG key used to sign the packages. | ||||||||||||||
| 1. In `/etc/zypp/repos.d/`, add a new file named `fluent-bit.repo`. | ||||||||||||||
| 1. Add the following content to the file. | ||||||||||||||
| ```text | ||||||||||||||
| [fluent-bit] | ||||||||||||||
| name = Fluent Bit | ||||||||||||||
| baseurl = https://packages.fluentbit.io/suse/$releasever/ | ||||||||||||||
| gpgcheck=1 | ||||||||||||||
| gpgkey=https://packages.fluentbit.io/fluentbit.key | ||||||||||||||
| repo_gpgcheck=1 | ||||||||||||||
| enabled=1 | ||||||||||||||
| ``` | ||||||||||||||
| 1. Refresh the repository to make the new packages available. | ||||||||||||||
| ```text | ||||||||||||||
| sudo zypper refresh | ||||||||||||||
| ``` | ||||||||||||||
| 1. As a best practice, gpgcheck and repo_gpgcheck are enabled by default for security reasons. Fluent Bit signs its repository metadata and all Fluent Bit packages | ||||||||||||||
|
Check warning on line 39 in installation/downloads/linux/suse.md
|
||||||||||||||
esmerel marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
|
|
||||||||||||||
| ## Install | ||||||||||||||
|
|
||||||||||||||
| Ensure you've configured an appropriate mirror. For example: | ||||||||||||||
|
|
||||||||||||||
| ```shell | ||||||||||||||
| $ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ | ||||||||||||||
|
|
||||||||||||||
| $ sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* | ||||||||||||||
|
||||||||||||||
| $ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ | |
| $ sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* | |
| sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ | |
| sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* |
esmerel marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Fluent Bit provides packages for openSUSE (Leap) and SUSE Linux Enterprise Server (SLES). The repository uses the $releasever variable to dynamically fetch packages for your specific system version. | |
| Fluent Bit provides packages for openSUSE (Leap) and SUSE Linux Enterprise Server (SLES). The repository uses the `$releasever` variable to dynamically fetch packages for your specific system version. |
Uh oh!
There was an error while loading. Please reload this page.