Skip to content

Installing via RPM

Shane Alcock edited this page Aug 18, 2024 · 19 revisions

This page covers instructions that will help with installing OpenLI via the RPMs that we have created for Linux distributions based on Red Hat (i.e. RHEL, Alma Linux and Rocky Linux).

Note, if you were previously using our Bintray repositories: these are now deprecated and no longer receive uploads of newer package versions. Also, Bintray itself will soon end its service so please switch over the Cloudsmith as soon as you can.

Package Installation

Centos / RHEL / Rocky Linux / Alma Linux

NOTE: CentOS Stream is not currently supported by OpenLI.

Run the following commands:

curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandio/cfg/setup/bash.rpm.sh' | sudo -E bash
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandder/cfg/setup/bash.rpm.sh' | sudo -E bash
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libtrace/cfg/setup/bash.rpm.sh' | sudo -E bash
curl -1sLf 'https://dl.cloudsmith.io/public/wand/openli/cfg/setup/bash.rpm.sh' | sudo -E bash

curl -1sLf https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey -o packagecloud-rabbitmq-key.asc
sudo gpg --import packagecloud-rabbitmq-key.asc
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash

Rocky Linux 8, Alma Linux 8 -- also run the following commands:

dnf config-manager --set-enabled powertools
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Rocky Linux 9, Alma Linux 9 -- also run the following commands:

dnf config-manager --set-enabled crb
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

If you are using a RHEL 9 or a derivative of RHEL 9, you may encounter an error where nothing provides rabbitmq-server. To resolve this, run the following commands:

sudo sed -i 's!el/9/!el/8/!' /etc/yum.repos.d/rabbitmq_erlang.repo
sudo sed -i 's!el/9/!el/8/!' /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo

For Centos 7, you'll also need to run the following:

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Now you should be able to install the packages for any of the OpenLI components using:

sudo yum install openli-<component>

where component is one of mediator, provisioner or collector.

Now refer to the Configuration and Running OpenLI page for instructions on how to get your new OpenLI install up and running.

You may also want to install the libtrace4-tools package to gain access to the tracepktdump tool, which is very handy for verifying your OpenLI deployment.

Fedora

Pre-built binary packages for Fedora are no longer built for OpenLI, by default. If this is an issue for you, please let us know by creating an issue on this repository.

Clone this wiki locally