diff --git a/docs/installation/local.md b/docs/installation/local.md index a4dd25d7ee83..5f2b88fd5ae7 100644 --- a/docs/installation/local.md +++ b/docs/installation/local.md @@ -17,22 +17,17 @@ $ chmod a+x "/usr/local/bin/loki" ## Community openSUSE Linux packages -If you use openSUSE Linux you can install packaged version of Loki with: - -1) Add the repository `https://download.opensuse.org/repositories/security:/logging/` to your system. - E.g if you are using Leap 15.1 use `sudo zypper ar https://download.opensuse.org/repositories/security:/logging/openSUSE_Leap_15.1/security:logging.repo ; sudo zypper ref` - -2) Install package with `zypper in loki` - -3) Enable services: - -- `systemd start loki` and `systemd enable loki` -- `systemd start promtail` and `systemd enable promtail` - -4) Adapt the configuration files: - -`/etc/loki/promtail.yaml` -`/etc/loki/loki.yaml` +The community provides packages of Loki for openSUSE Linux. To install: + +1. Add the repository `https://download.opensuse.org/repositories/security:/logging/` + to your system. For example, if you are using Leap 15.1, run + `sudo zypper ar https://download.opensuse.org/repositories/security:/logging/openSUSE_Leap_15.1/security:logging.repo ; sudo zypper ref` +2. Install the Loki package with `zypper in loki` +3. Enable the Loki and Promtail services: + - `systemd start loki && systemd enable loki` + - `systemd start promtail && systemd enable promtail` +4. Modify the configuration files as needed: `/etc/loki/promtail.yaml` and + `/etc/loki/loki.yaml`. ## Manual Build