OpenSUSE 42.3

Here is a small guide about how to install BitNinja on OpenSUSE 42.3:

rpm -Uvh https://rpm.bitninja.io/1.0/noarch/bitninja-repo-1.0-1.noarch.rpm

mv /etc/yum.repos.d/BitNinja.repo /etc/zypp/repos.d/

zypper install -y bitninja

bitninja-config --set license_key=<license_key>

# workaround for ssl termination
zypper install -y haproxy

# need to break bitninja-ssl-termination package choose 2. After it, agree to install package
zypper install bitninja-ssl-termination

mv /opt/bitninja-ssl-termination/sbin/haproxy /opt/bitninja-ssl-termination/sbin/haproxy-origin

ln -s /usr/sbin/haproxy /opt/bitninja-ssl-termination/sbin/haproxy

You can enable the service with the following command:

/opt/bitninja/bitninja --daemonize

And if you wish to stop it, use the following:

pkill -15 bitninja

After you have installed BitNinja, you need to create the following symlinks:

ln -s /lib64/libssl.so.1.0.0 /lib64/libssl.so.10

ln -s /lib64/libcrypto.so.1.0.0 /lib64/libcrypto.so.10

ln -s /usr/lib64/libpcre.so.1.2.7 /lib64/libpcre.so.0

After creating them, please install the following packages:

zypper install bitninja-waf

zypper install bitninja-ssl-termination

Please choose option 2 when installing them, to prevent package dependency checking. Using these symlinks the SSL Termination and the WAF module would work without any issue.

Please note, that this process will be simplified when we’ll release a custom package for this distribution.