Skip to content

Installing via RPM

Shane Alcock edited this page May 5, 2021 · 12 revisions

This page covers instructions that will help with installing OpenLI via the RPMs that we have created for Centos / RHEL / Fedora.

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

NOTE: only Centos 7 and Centos 8 are 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

rpm --import https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey
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

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

For Centos 8, do the following instead:

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.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

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

rpm --import https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey
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

Warning: the RabbitMQ repository may not always be up to date with the latest version of Fedora, especially if a new Fedora has been released recently.

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

sudo dnf install -y libtrace-devel
sudo dnf 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.