Operating System: Red Hat Enterprise Linux 8.6
Operating System: Ubuntu Server 22.04
Installation
Red Hat Enterprise Linux 8.6
Install the CrowdSec repositories to get access to the most recent packages for the CrowdSec agent and Bouncers:
1
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh | sudo bash
Install the CrowdSec agent from the repository:
1
sudo dnf install crowdsec
Install the basic firewall Bouncer:
1
sudo dnf install crowdsec-firewall-bouncer-iptables
Finally, enroll the instance to your CrowdSec account:
1
sudo cscli console enroll {YOUR_INSTANCE_TOKEN}
Ubuntu Server 22.04
Install the CrowdSec repositories to get access to the most recent packages for the CrowdSec agent and Bouncers:
1
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
Install the CrowdSec agent from the repository:
1
sudo apt install crowdsec
Install the basic firewall Bouncer:
1
sudo apt install crowdsec-firewall-bouncer-iptables
Finally, enroll the instance to your CrowdSec account:
1
sudo cscli console enroll {YOUR_INSTANCE_TOKEN}