Crowdsec Installation und Handling: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
 
==Installation einiger Bouncers==
 
==Installation einiger Bouncers==
 
*apt install crowdsec-firewall-bouncer-iptables crowdsec-nginx-bouncer -y
 
*apt install crowdsec-firewall-bouncer-iptables crowdsec-nginx-bouncer -y
=Aktivieren von Sqlite WAL=
+
==Aktivieren von Sqlite WAL==
 
*echo "db_config:
 
*echo "db_config:
 
   use_wal: true" > /etc/crowdsec/config.yaml.local
 
   use_wal: true" > /etc/crowdsec/config.yaml.local
 
*systemctl restart crowdsec.service
 
*systemctl restart crowdsec.service

Version vom 7. April 2025, 09:16 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