Create icingadb-redis RPM package for RHEL8 and clones

Hi all,

I would like to share this patch to build the icingadb-redis package RPM, ready to install in RHEL8 and derivatives.

Instructions as follows:

First, get source code src.rpm in https://packages.icinga.com/fedora/42/release/src/icingadb-redis/icingadb-redis-7.2.10-1.fc42.src.rpm, and after that:

# Clean the build area
rm -rf /root/rpmbuild/

# install the src.rpm package
rpm -ivh  icingadb-redis-7.2.10-1.fc42.src.rpm

# apply the enclosed patch
cd /root/rpmbuild/SPECS/
patch -p0 < icingadb-redis.txt

# build the package, output in /root/rpmbuild/RPMS/x86_64/
rpmbuild -bb /root/rpmbuild/SPECS/icingadb-redis.spec

icingadb-redis.txt (3.8 KB)

The software has been successfully tested in several production environments (some of them with a heavy workload).

Hope this helps, regards

2 Likes

You can also try:

  • yum module enable redis:6
  • yum install redis

If it works, it works.