Installation on CloudLinux

Hello

It looks like, that i’m the first human which tries to install CrowdSec on a CloudLinux system. CloudLinux is basically a tuned version of CentOS 7 made for hosting purposes.

So packagecloud.io is not able to detect the operating system and returns this:

Detected operating system as cloudlinux/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/crowdsec/crowdsec/config_file.repo?os=cloudlinux&dist=7&source=script
curl: (22) The requested URL returned error: 404 Not Found


Unable to download repo config from: https://packagecloud.io/install/repositories/crowdsec/crowdsec/config_file.repo?os=cloudlinux&dist=7&source=script

This usually happens if your operating system is not supported by 
packagecloud.io, or this script's OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version

For example, to force CentOS 6: os=el dist=6 ./script.sh

If you are running a supported OS, please email support@packagecloud.io and report this.

Solution:

curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh | os=el dist=7 sudo bash

Would it make sense, that CloudLinux gets native support at packagecloud.io anyway?

Thanks!

Hi @martin.schaible,

Yes, it seems that CloudLinux is not supported yet.
We’ll ask them if they can handle it.

Thank you for your feedback !