Install
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bashInstall CrowdSec Repository.''
sudo apt install crowdsecInstall CrowdSec. This only installs the detection part (it's an IDS).
sudo apt install crowdsec-firewall-bouncer-iptablesInstall the Bouncer. This installs the prevention part (it's now an IPS)
Basis
cscli hub listShow CrowdSec collections, parsers, scenarios.
cscli alerts listShow CrowdSec actions.
cscli decisions listShow CrowdSec actions.
cscli collections install crowdsecurity/apache2Install a new collection. Collections are available here: https://hub.crowdsec.net/browse/
/usr/share/crowdsec/wizard.sh -cEnable other collections.