cs-nginx-bouncer icon indicating copy to clipboard operation
cs-nginx-bouncer copied to clipboard

CentOS/Almalinux 8 support

Open imorandinwnp opened this issue 2 years ago • 3 comments

Hi,

It would be great the installation script would work with AL8. At least there is a list of dependencies to install?

Thanks,

Ignacio

imorandinwnp avatar Aug 09 '23 17:08 imorandinwnp

There a list of dependencies shown inside the docs?

https://docs.crowdsec.net/docs/next/bouncers/nginx#dependencies

Yeah granted it shows apt but they are the ones needed on other systems

LaurenceJJones avatar Aug 10 '23 07:08 LaurenceJJones

The installation script is also written with Debian/Ubuntu in mind, it checks for dependencies based on dpkg package, which is obviously not used on Red Hat-based distributions. libnginx-mod-http-lua is not available in the CentOS Stream repositories, possibly in the other ones too. I guess we can use OpenResty package which includes http-lua, but there should be an info about it.

As a workaround it would be fine if there was an instruction to install it manually from this git repo.

r-tokarski avatar Aug 24 '24 12:08 r-tokarski

libnginx-mod-http-lua is not available in the CentOS Stream repositories, possibly in the other ones too. I guess we can use OpenResty package which includes http-lua, but there should be an info about it.

Then you wouldn't use cs-nginx-bouncer you would use cs-openresty-bouncer (however, im sure it still written with debian in mind since it mostly a copy and paste job by original authors) instead.

As a workaround it would be fine if there was an instruction to install it manually from this git repo.

If libnginx-mod-http-lua is not available then no amount of instructions on the git repo would help as we depend on it.

Edit: Seems I was wrong the install script does check which package manager to use but probably not 100% tested.

LaurenceJJones avatar Aug 25 '24 08:08 LaurenceJJones