I have fetched fail2ban package with clone git.
Now it needs not much anymore to activate it - but my terminal shows this output after
different attempts - how do I create a service for fail2ban ? - after this then sudo systemctl would work :
linux@home ~ $ cp files/debian-initd /etc/init.d/fail2ban
cp: der Aufruf von stat für 'files/debian-initd' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
linux@home ~ $ cd fail2ban
linux@home /fail2ban $ cp files/debian-initd /etc/init.d/fail2ban
cp: reguläre Datei '/etc/init.d/fail2ban' kann nicht angelegt werden: Keine Berechtigung
linux@home /fail2ban $ sudo cp files/debian-initd /etc/init.d/fail2ban
linux@home /fail2ban $ update-rc.d fail2ban defaults
bash: update-rc.d: Kommando nicht gefunden.
linux@home /fail2ban $ service fail2ban start
bash: service: Kommando nicht gefunden.
linux@home /fail2ban $ systemctl start fail2ban
Failed to start fail2ban.service: Access denied
See system logs and 'systemctl status fail2ban.service' for details.
linux@home /fail2ban $ sudo systemctl start fail2ban
Failed to start fail2ban.service: Unit fail2ban.service not found.
linux@home /fail2ban $ cd
linux@home ~ $ sudo systemctl start fail2ban
Failed to start fail2ban.service: Unit fail2ban.service not found.
linux@home ~ $ sudo service fail2ban start
sudo: service: Befehl nicht gefunden
linux@home ~ $
When this thread is solved - then I sum it up to a tutorial for activating fail2ban.