Skip to content

Installing via RPM

Shane Alcock edited this page Jul 25, 2019 · 6 revisions

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

Package Installation

Centos / RHEL

NOTE: only Centos 7 is currently supported by OpenLI.

Run the following commands:

cat << EOF > /etc/yum.repos.d/bintray-wand-general-rpm.repo
#bintray-wand-general-rpm - packages by wand from Bintray
[bintray-wand-general-rpm]
name=bintray-wand-general-rpm
baseurl=https://dl.bintray.com/wand/general-rpm/centos/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

cat << EOF > /etc/yum.repos.d/bintray-wand-libtrace-rpm.repo
#bintray-wand-libtrace-rpm - packages by wand from Bintray
[bintray-wand-libtrace-rpm]
name=bintray-wand-libtrace-rpm
baseurl=https://dl.bintray.com/wand/libtrace-rpm/centos/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

cat << EOF > /etc/yum.repos.d/bintray-wand-openli-rpm.repo
#bintray-wand-openli-rpm - packages by wand from Bintray
[bintray-wand-openli-rpm]
name=bintray-wand-openli-rpm
baseurl=https://dl.bintray.com/wand/OpenLI-rpm/centos/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

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

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.

Fedora

Run the following commands:

cat << EOF > /etc/yum.repos.d/bintray-wand-general-rpm.repo
#bintray-wand-general-rpm - packages by wand from Bintray
[bintray-wand-general-rpm]
name=bintray-wand-general-rpm
baseurl=https://dl.bintray.com/wand/general-rpm/fedora/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

cat << EOF > /etc/yum.repos.d/bintray-wand-libtrace-rpm.repo
#bintray-wand-libtrace-rpm - packages by wand from Bintray
[bintray-wand-libtrace-rpm]
name=bintray-wand-libtrace-rpm
baseurl=https://dl.bintray.com/wand/libtrace-rpm/fedora/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

cat << EOF > /etc/yum.repos.d/bintray-wand-openli-rpm.repo
#bintray-wand-openli-rpm - packages by wand from Bintray
[bintray-wand-openli-rpm]
name=bintray-wand-openli-rpm
baseurl=https://dl.bintray.com/wand/OpenLI-rpm/fedora/\$releasever/\$basearch/
gpgkey=https://bintray.com/user/downloadSubjectPublicKey?username=wand
gpgcheck=0
repo_gpgcheck=1
enabled=1
EOF

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 can’t perform that action at this time.