https://certbot.eff.org/lets-encrypt/debianother-nginx.html
This worked. For renewing the cert automatically, I used this in crontab:
23 0,12 * * * ./opt/certbot/certbot-auto renew --nginx
https://certbot.eff.org/lets-encrypt/debianother-nginx.html
This worked. For renewing the cert automatically, I used this in crontab:
23 0,12 * * * ./opt/certbot/certbot-auto renew --nginx
I created a bootable usb drive in disk utility
then ran diskutil list to find the identifier
/dev/disk2s1 in my case
make sure to unmount the drive
then dd
my drive is hfsplus usb 2TB
get the usb UUID from blkid
pretty print drive locations lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
followed this, with special attention to the order. Drive must be unmounted before running fsck.
note: this is probably not a good idea if any of the media need transcoding.
another note: was able to install the open source verion of Emby called JellyFin, using Docker: https://hub.docker.com/r/jellyfin/jellyfin
https://www.mono-project.com/download/stable/#download-lin-debian
sudo apt install apt-transport-https dirmngr
I wanted to have an outside domain name resolve to a computer inside my local private network. I am tyring out duckdns.org to handle the resolution. The DNS resolves fine outside of my local network, yet locally the fqdn will not resolve. To enable this, a local dns needs to handle the request, routing to the local server.
This is where the raspberry pi dns comes in. I'm running Raspbian GNU/Linux 9 (stretch), a Debian variant. http://www.raspbian.org/
I have been unable to get dnsmasq to start correctly on reboot. Nothing stands out in daemon.log. sudo service dnsmasq status shows one particular line that is different from the status of a reboot vs a manual service restart:
| # modified version of: | |
| # wget https://gist.githubusercontent.com/samatjain/4dda24e14a5b73481e2a/raw/5d9bac8ec40b94833b4e9938121945be252fdee1/Slim-Raspbian.sh -O Slim-Raspbian.sh | |
| # GUI-related packages | |
| # none right now... | |
| # Edu-related packages | |
| pkgs=" | |
| oracle-java8-jdk | |
| minecraft-pi | |
| python-minecraftpi |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| { | |
| "Statement": [ | |
| { | |
| "Action": [ | |
| "apigateway:*", | |
| "cloudformation:CancelUpdateStack", | |
| "cloudformation:ContinueUpdateRollback", | |
| "cloudformation:CreateChangeSet", | |
| "cloudformation:CreateStack", | |
| "cloudformation:CreateUploadBucket", |
| location /__special { | |
| internal; | |
| allow all; | |
| root /usr/share/nginx/html/__special; | |
| } | |
| location = /__md_file { | |
| internal; | |
| allow all; |