This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -v | |
# Auto setup of microk8s in Ubuntu 20.04 or Debian 11 | |
sudo apt-get update && sudo apt-get upgrade -y ansible | |
curl -sL https://gist.github.com/JohnKDay/4dee71ace86f98d6e46026bf755b0a87/raw/df-demo-setup.yaml | ansible-playbook --extra-vars="$@" --connection=local -i "localhost," /dev/stdin | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# API Key | |
First of all create a free account here and create an API key to use the blacklist: https://www.abuseipdb.com | |
# UFW | |
You should have installed and started UFW, test it with | |
```bash | |
ufw status | |
``` | |
# Cronjob |