This file contains hidden or 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
| #!/bin/sh | |
| # SPDX-License-Identifier: ISC | |
| # | |
| # Copyright 2026 Hermes Rodriguez | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH |
This file contains hidden or 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 hidden or 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 |