Crowdsec Installation und Handling: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 12: Zeile 12:
 
   use_wal: true" > /etc/crowdsec/config.yaml.local
 
   use_wal: true" > /etc/crowdsec/config.yaml.local
 
*systemctl restart crowdsec.service
 
*systemctl restart crowdsec.service
 +
==Installation der Bash Completion==
 +
*cscli completion bash >> ~/.bashrc
 +
*source ~/.bashrc

Version vom 7. April 2025, 09:20 Uhr

Installation

Curl installieren

  • apt install curl

Eintragen der Repositories und Update

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