Skip to content
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

docs: slightly modify language in community Loki packages section #1248

Merged
merged 1 commit into from
Nov 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions docs/installation/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down