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 | |
| HOSTNAME="unifi.lan.therudes.com" | |
| EMAIL="matt@mattrude.com" | |
| # Update the System before we start | |
| rm -f /tmp/installed-packages.txt | |
| echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list | |
| dpkg --get-selections |awk '{print $1}' |sed 's/:amd64//g' |sed 's/:armhf//g' > /tmp/installed-packages.txt | |
| UPDATE="" # Start out with UPDATE being NULL |
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/bash | |
| ## Unifi NVR + letsencrypt certificate | |
| # Remember to use fullchain.pem | |
| # Thanks: https://www.john.geek.nz/2018/05/using-letsencrypt-with-ubiquiti-unifi-video-server/ | |
| # | |
| # Also remember adding `ufv.custom.certs.enable=true` to the `/usr/lib/unifi-video/data/system.properties` file | |
| # | |
| HOSTNAME=XXX.gm.lv |