Skip to content

Commit

Permalink
More rpm-based install fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Oct 2, 2024
1 parent 6287fcb commit 80c9c85
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions content/install/rhel-fedora-almalinux/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ To install {{< product >}} on RedHat Enterprise Linux 9 or AlmaLinux 9, complete
- AlmaLinux 9:

```shell
sudo dnf config-manager --set-enabled crb
sudo dnf install epel-release
sudo dnf config-manager --set-enabled crb
```

1. Download and extract the release tarball for your distribution, for example, on Almalinux 9:
Expand All @@ -52,53 +52,53 @@ To install {{< product >}} on RedHat Enterprise Linux 9 or AlmaLinux 9, complete
1. Install {{< product >}}:

```shell
yum install ./axosyslog-*
sudo yum install ./axosyslog-*
```

Install other packages for the modules you want to use as needed. For example, to use the gRPC-based destinations (like [loki()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-loki/) or [opentelemetry()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/)), install the `axosyslog-grpc-*` package. For HTTP-based destinations like [elasticsearch-http()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/configuring-destinations-elasticsearch-http/) or [sumologic-http()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-sumologic-intro/), you need the `axosyslog-http-*` package.

1. Enable `syslog-ng`.

```shell
systemctl enable syslog-ng
systemctl start syslog-ng
sudo systemctl enable syslog-ng
sudo systemctl start syslog-ng
```

1. (Optional) If you don't want to run other log collectors on the host, you can delete the existing one (which is rsyslog by default):
```shell
yum remove rsyslog.x86_64
sudo yum remove rsyslog.x86_64
```
## Install AxoSyslog on Fedora
1. Download the release tarball for your distribution, for example, on Fedora 40:
```shell
wget https://github.com/axoflow/axosyslog/releases/download/axosyslog-4.8.0/rpm-fedora-40.tar.gz
tar xvzf rpm-fedora-40.tar.gz
wget https://github.com/axoflow/axosyslog/releases/download/axosyslog-{{% param "product.techversion" %}}/rpm-fedora-40.tar.gz
tar -xvzf rpm-fedora-40.tar.gz
cd rpm-fedora-40/
```
1. Install AxoSyslog:
```shell
yum install ./axosyslog-4.8.0.2*
sudo yum install ./axosyslog-{{% param "product.techversion" %}}.2*
```
Install other packages for the modules you want to use as needed. For example, to use the gRPC-based destinations (like [loki()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-loki/) or [opentelemetry()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/)), install the `axosyslog-grpc-*` package. For HTTP-based destinations like [elasticsearch-http()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/configuring-destinations-elasticsearch-http/) or [sumologic-http()](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-sumologic-intro/), you need the `axosyslog-http-*` package.
1. Enable `syslog-ng`.
```shell
systemctl enable syslog-ng
systemctl start syslog-ng
sudo systemctl enable syslog-ng
sudo systemctl start syslog-ng
```
1. (Optional) If you don't want to run other log collectors on the host, you can delete the existing one (which is rsyslog by default):

```shell
yum remove rsyslog.x86_64
sudo yum remove rsyslog.x86_64
```

{{< include-headless "chunk/install-help.md" >}}

0 comments on commit 80c9c85

Please sign in to comment.