<# | |
.SYNOPSIS | |
Tenant to tenant planner migration - migrate-planner.ps1 | |
.NOTES | |
Author: Jakob Schaefer, thinformatics AG | |
Version: 1.0 | |
Creation Date: 2020/07/02 | |
.DESCRIPTION |
Step 1 — Installing Webmin | |
First, we need to add the Webmin repository so that we can easily install and update Webmin using our package manager. We do this by adding the repository to the /etc/apt/sources.list file. | |
Open the file in your editor: | |
sudo nano /etc/apt/sources.list | |
Then add this line to the bottom of the file to add the new repository: | |
/etc/apt/sources.list | |
. . . | |
deb http://download.webmin.com/download/repository sarge contrib | |
Save the file and exit the editor. | |
Next, add the Webmin PGP key so that your system will trust the new repository: |
# | |
# This fish config sets up a working `gnome-keyring` on WSL2. | |
# I imagine it will work with WSL1 as well, perhaps after adjusting the `DISPLAY` value. | |
# | |
# Based off this bash script: https://askubuntu.com/questions/815327/running-gnome-keyring-on-wsl-windows-subsystem-for-linux | |
# Tested and working with `aws-vault` and `jetbrains-toolbox`. | |
# | |
# Be sure your x server is running!!! | |
set -x DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 |
from https://ktmresearch.com/2014/10/dynamic-dns-ddclient-with-namecheap/ | |
service ddclient restart | |
daemon=300 | |
ssl=yes | |
use=web, web=checkip.dyndns.com/, web-skip='IP Address' | |
protocol=namecheap | |
server=dynamicdns.park-your-domain.com | |
login=nfeld.com |
I'm using debian 10 as my daily so these are *nix commands. Mac should work with these too but you're on your own if you're using Windows. Goal for me is to make a headless raspberry pi I can SSH into and connect to my network using Ethernet. You should be comfortable in command line if you choose to follow this guide.
- Go to https://www.raspberrypi.org/downloads/raspbian and download Raspbian lite archive
unzip
the image- Plug in sdcard. Run
lsblk
to see drives and mount points. Likely, the sdcard will show up in/dev/sda
or /dev/sdb and may have some partitions like/dev/sda1
and/dev/sda2
. - If partitions are mounted, unmount all of them. Ex:
umount /dev/sda1
andumount /dev/sda2
- Copy the raspbian image to the sdcard with
sudo dd if=RASPBIAN_IMAGE_FILE.img of=/dev/sda bs=4M
- Run
sync
to ensure the written contents are flushed - OPTIONAL: To start ssh server on boot, Unplug sdcard and reinsert to remount new partitions. You'll have two with raspbian.
Quick and dirty setup instructions to get Pi-hole running with DoH via Cloudflare on a headless Raspberry Pi.
I was originally using Pi-hole with Quad9 as my upstream DNS provider, but noticed that my ISP (Spectrum) was still intercepting and answering some DNS queries so I've switched to Cloudflare and their Argo Tunnel client for DNS over HTTPS.
Yes, I know there are other options out there like unbound
, stubby
, DNS over TLS, and DNSCrypt, but as of this writing the whole encrypted DNS thing still feels really runny so I went with cloudflared
because it's a single package that's easy to configure, update, and remove. This combination gets me to a place where my network is using encrypted DNS + DNSSEC and should automagically support ESNI once Safari implements it, and I could easily back out of DNS over HTTPS if DoT or DNSCrypt becomes more fully-baked before DoH does. I'll also happily switch back to Quad9 if they provide a DoH pr
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
Italics *italics* or _italics_
Underline italics __*underline italics*__
# First you update your system | |
sudo apt update && sudo apt-get upgrade | |
# Uninstall unnecessary programs | |
# essential programs | |
sudo apt --assume-yes install g++ libtool automake htop gparted vlc firefox inkscape steam filezilla k4dirstat speedcrunch feh | |
# Python 3.7 | |
sudo apt install python3.7 python3-venv python3-pip | |
# gdebi for easy click-install of *.deb |