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
server { | |
listen 443; | |
ssl on; | |
server_name <dit-domænenavn>; | |
# SSL | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_certificate /etc/letsencrypt/live/<dit-domænenavn>/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/<dit-domænenavn>/privkey.pem; |
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
1. Hent Debian 11 fra: https://www.debian.org/download | |
2. nano /etc/ssh/sshd_config | |
3. Set: `PermitRootLogin Yes` | |
4. systemctl restart ssh | |
5. apt-get install apparmor jq wget curl udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote -y | |
6. curl -fsSL get.docker.com | sh | |
7. Find den nyeste fra: https://github.com/home-assistant/os-agent/releases | Tip: den skal ende med: linux_x86_64.deb |