Crowdsec Installation und Handling: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 17: | Zeile 17: | ||
==Test it out by typing== | ==Test it out by typing== | ||
*cscli <TAB x 2> | *cscli <TAB x 2> | ||
| + | =Handling= | ||
| + | ==Cscli Syntax | ||
Version vom 7. April 2025, 09:25 Uhr
Installation
Curl installieren
- apt install curl
Eintragen der Repositories und Update
- curl -s https://install.crowdsec.net | sudo sh
Installation von Crowdsec
- apt install crowdsec -y
Installation einiger Bouncers
- apt install crowdsec-firewall-bouncer-iptables crowdsec-nginx-bouncer -y
Aktivieren von Sqlite WAL
- echo "db_config:
use_wal: true" > /etc/crowdsec/config.yaml.local
- systemctl restart crowdsec.service
Installation der Bash Completion
- cscli completion bash >> ~/.bashrc
- source ~/.bashrc
Test it out by typing
- cscli <TAB x 2>
Handling
==Cscli Syntax