Skip to content

Instantly share code, notes, and snippets.

View ha1fdan's full-sized avatar
🤪
Åben sovs

Ha1fdan ha1fdan

🤪
Åben sovs
View GitHub Profile
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;
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