summaryrefslogtreecommitdiffstats
path: root/content/techjournal/quicknote_capture_5_november_2023.md
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-11-05 07:23:50 +0000
committerMatthew Lemon <y@yulqen.org>2023-11-05 07:23:50 +0000
commitaaddf429bd724e1fd92924d20c750c89a0e2644a (patch)
treef95aaa4186e69cfab9350f04e93f279bce2b1d5b /content/techjournal/quicknote_capture_5_november_2023.md
parente111d4f47d0f15dce442e99203bf3cc813592657 (diff)
Update
Diffstat (limited to '')
-rw-r--r--content/techjournal/quicknote_capture_5_november_2023.md119
1 files changed, 119 insertions, 0 deletions
diff --git a/content/techjournal/quicknote_capture_5_november_2023.md b/content/techjournal/quicknote_capture_5_november_2023.md
new file mode 100644
index 0000000..08c4df0
--- /dev/null
+++ b/content/techjournal/quicknote_capture_5_november_2023.md
@@ -0,0 +1,119 @@
+---
+title: "Quicknotes capture 5 November 2023"
+date: 2023-11-05
+draft: false
+categories: ['Tech']
+tags: ['quicknotes']
+---
+
+Been a bit of a crazy week or two, looking stuff up.
+This has coincided with me undertaking a project to tear down a cloud server which has been running a number of my essential services for a number of years, and move it all to a new Beelink AMD machine that now sits on my home LAN.
+Learning an awful lot about Proxmox (now not using), LXD (using), containers, Linux networking.
+
+One massive pain was to move a matrix server (using synapse).
+Decided to move it to [Dendrite](https://matrix-org.github.io/dendrite/).
+Also implemented a NFS shared drive instead of trying to get `mpd` to stream from a LXC container, which wasn't happening.
+This lot will get written up as a blog post in time.
+
+- Meta: [Quicknotes capture 21 October 2023](https://yulqen.org/techjournal/quicknote_capture_21_october_2023/)
+- GOOD on basics of IPv6: [Linux IPv6 HOWTO (en)](https://tldp.org/HOWTO/Linux+IPv6-HOWTO/index.html)
+- [Linux IPv6 HOWTO (en)](https://tldp.org/HOWTO/Linux+IPv6-HOWTO/index.html)
+- [IPv6 explained - SLAAC and DHCPv6 (IPv6 from scratch part 2)](https://www.youtube.com/watch?v=jlG_nrCOmJc )
+- [IPv6 from scratch - the very basics of IPv6 explained](https://www.youtube.com/watch?v=oItwDXraK1M )
+- [github](https://github.com/onemarcfifty/cheat-sheets/blob/main/networking/ipv6.md )
+- [VPN for your Home Network with Wireguard on OpenWrt and iphone connecting to linux VPN](https://www.youtube.com/watch?v=Bo2AsW4BMOo )
+- [WireGuard in NetworkManager – Thomas Haller's Blog](https://blogs.gnome.org/thaller/2019/03/15/wireguard-in-networkmanager/ )- Provides a command that allegedly tests your system for an IPv6 configuration: [Just a moment...](https://www.cyberciti.biz/faq/howto-test-ipv6-network-with-ping6-command/)
+- Rather self-explanatory: [Just a moment...](https://www.cyberciti.biz/faq/check-for-ipv6-support-in-linux-kernel/)
+- More useful ipv6 stuff: [Linux IPv6 HOWTO (en)](https://mirrors.deepspace6.net/howtos/Linux+IPv6-HOWTO.html#AEN520)
+- [After six years as a vegetarian I’ve started eating meat again](https://www.telegraph.co.uk/health-fitness/nutrition/diet/why-ive-started-eating-meat-again/)
+- This should be an example of how to get a shortcode to show a .Scratch variable in hugo....: [Passing Scratch flags between shortcodes - #2 by bep - support - HUGO](https://discourse.gohugo.io/t/passing-scratch-flags-between-shortcodes/5904/2)
+- I probably already have this bookmarked: [GitHub - pirate/wireguard-docs: 📖 Unofficial WireGuard Documentation: Setup, Usage, Configuration, and full example setups for VPNs supporting both servers &amp; roaming clients.](https://github.com/pirate/wireguard-docs)
+- [RFC 4193: Unique Local IPv6 Unicast Addresses](https://www.rfc-editor.org/rfc/rfc4193#section-3.2)
+- And while we're at it....: [RFC 2460: Internet Protocol, Version 6 (IPv6) Specification](https://www.rfc-editor.org/rfc/rfc2460)
+- Awk examples - [Attention Required! | Cloudflare](https://www.golinuxcloud.com/awk-examples-with-command-tutorial-unix-linux/)
+- Broadband speed test without all the bullshit - mentioned on one of the linux podcasts: [LibreSpeed - Speed Test](https://librespeed.org/)
+- Good article on the internals of slices in Go: [Go Slices: usage and internals - The Go Programming Language](https://go.dev/blog/slices-intro)
+- [Autostarting - ArchWiki](https://wiki.archlinux.org/title/Autostarting)
+- [unlocked files](https://git-annex.branchable.com/tips/unlocked_files/)
+- [Jonas Hietala: The killer features of the Steam Deck](https://www.jonashietala.se/blog/2023/10/24/the_killer_features_of_the_steam_deck/)
+- [Steam Deck™](https://store.steampowered.com/steamdeck)
+- [Copy](https://protomaps.com/)
+- [GitHub - golang-standards/project-layout: Standard Go Project Layout](https://github.com/golang-standards/project-layout)
+- [CryptoCompare - Compare Whether Its Worth It To Mine Crypto](https://www.cryptocompare.com/mining/calculator/xmr?HashingPower=100&HashingUnit=KH%2Fs&PowerConsumption=1200&CostPerkWh=0.12&MiningPoolFee=1)
+- [Golang For Beginners - Let's Build A Key Value Store](https://www.youtube.com/watch?v=PMVyy5YecU4 )
+- List of applications on this guy's rack: [Ultra Low Power 24/7 Server : r/HomeServer](https://www.reddit.com/r/HomeServer/comments/wsjat3/ultra_low_power_247_server/ )
+- [ServeTheHome Server Storage and Networking Reviews](https://www.servethehome.com/ )
+- [Lenovo ThinkCentre M720q Tiny Compact PC Review - Page 4 of 4 - ServeTheHome](https://www.servethehome.com/lenovo-thinkcentre-m720q-tiny-compact-pc-review/4/ )
+- [Lenovo ThinkCentre M920 and M920q Tiny Guide and Review](https://www.servethehome.com/lenovo-thinkcentre-m920-and-m920q-tiny-guide-and-review/ )
+- [Fujitsu+Futro+S740+-+4GB+DDR4-2400+-+64GB+M.2+MLC+-+Thin+Client+Intel+QC+1.5GHz for sale online / eBay](https://www.ebay.co.uk/p/23058636286 )
+- [Browse Your Life in Pictures – PhotoPrism](https://www.photoprism.app/ )
+- [Home Server - Everything you want to Know! — LazyAdmin](https://lazyadmin.nl/home-network/home-server/ )
+- [Build a Low Power, Efficient, Small Form Factor but Powerful Proxmox Server / Techno Tim](https://technotim.live/posts/low-power-efficient-proxmox/ )
+- [Belkin Official Support - Wemo® Insight Smart Plug, F7C029 power usage feature](https://www.belkin.com/support-article/?articleNum=229106)
+- [Ventoy](https://www.ventoy.net/en/index.html)
+- An Artix runit script for tailscale: [[SOLVED]tailscale service for runit /s6 / OpenRC](https://forum.artixlinux.org/index.php/topic,2661.0.html)
+- [Download · Tailscale](https://tailscale.com/download/linux/arch)
+- [5 Great Proxmox Small Form Factor Hardware Options (2023) - HomeTechHacker](https://hometechhacker.com/5-great-proxmox-small-form-factor-hardware-options/ )
+- [Proxmox VE Full Course: Class 7 - Creating Containers](https://www.youtube.com/watch?v=aGfPjdUM2cM )
+- [Setup Remote Pi-hole Ad Blocking With Tailscale](https://www.youtube.com/watch?v=Zx8Je5D6adc )
+- [The Sisyphean Task Of DNS Client Config on Linux · Tailscale](https://tailscale.com/blog/sisyphean-dns-client-linux/)
+- [Why is resolv.conf being overwritten? · Tailscale Docs](https://tailscale.com/kb/1235/resolv-conf/)
+- [Why is resolv.conf being overwritten? · Tailscale Docs](https://tailscale.com/kb/1235/resolv-conf/)
+- [Simpsonian](https://simpsonian.ca/blog/securing-home-network-dnsmasq-tailscale/)
+- [Configuring Linux DNS · Tailscale Docs](https://tailscale.com/s/resolved-nm)
+- [TurnKey GNU/Linux | 100+ free ready-to-use system images for virtual machines, the cloud and bare metal](https://www.turnkeylinux.org/)
+- [Linux Container - Proxmox VE](https://pve.proxmox.com/wiki/Linux_Container)
+- taskd instructions without the stupid fucking wizard: [Taskwarrior - Taskserver Configuration - Taskwarrior](https://taskwarrior.org/docs/taskserver/configure/)
+- [Quickly Configure the Firewall on Proxmox (2023) | WunderTech](https://www.wundertech.net/how-to-configure-the-firewall-on-proxmox/)
+- [Shakespeare Sonnets, BBC Four, review: what a joy to have poetry back on TV](https://www.telegraph.co.uk/tv/2023/10/29/shakespeare-sonnets-a-modern-love-story-bbc-four-review/ )
+- [\[SOLVED\] - New Proxmox Server setup - SATAIII SSD and NVME. Which to use for OS and which for VMs? / Proxmox Support Forum](https://forum.proxmox.com/threads/new-proxmox-server-setup-sataiii-ssd-and-nvme-which-to-use-for-os-and-which-for-vms.104732/ )
+- [A Beginners Guide to PROXMOX - Guides and Tutorials - Linus Tech Tips](https://linustechtips.com/topic/1083818-a-beginners-guide-to-proxmox/ )
+- GOOD and clear: [How to install Plex Media Server in a Proxmox Linux Container (LXC) &middot; GeekBitZone.com - Passionate About Tech](https://www.geekbitzone.com/posts/2022/proxmox/plex-lxc/install-plex-in-proxmox-lxc/)
+- More ideas for runnign Plex in proxmox: [Reddit - Dive into anything](https://www.reddit.com/r/Proxmox/comments/f8bdv5/best_practices_for_running_plex_on_proxmox/)
+- [Tailscale in LXC containers · Tailscale Docs](https://tailscale.com/kb/1130/lxc-unprivileged/)
+- [‘Be good to your gut’: Dr Rangan’s five rules for healthy eating](https://www.telegraph.co.uk/health-fitness/nutrition/diet/dr-rangan-chattergee-health-eating-gut-unprocessed-sugar/ )
+- [Linux Containers - LXC - Articles](https://linuxcontainers.org/lxc/articles/ )
+- [Matrix-synapse move to new server?: selfhosted](https://www.reddit.com/r/selfhosted/comments/jbax7l/matrixsynapse_move_to_new_server/ )
+- [Not Just Paranoid](https://not.just-paranoid.net/migrating-matrix-synapse-to-another-server/ )
+- GOOD: [My Viewers DDoSed my Go App](https://www.youtube.com/watch?v=qmmQAAJzM54 )
+- [SimpleX Chat – Apps on Google Play](https://play.google.com/store/apps/details?id=chat.simplex.app&pli=1 )- This is mentioned on Linux Unplugged - either ep 533 or 534: [SimpleX Chat: private and secure messenger without any user IDs (not even random)](https://simplex.chat/)
+- Looks pretty reasonable VPS hosting: [ZAP-Hosting](https://zap-hosting.com/en/vps-hosting/)
+- [Introduction to Linux interfaces for virtual networking / Red Hat Developer](https://developers.redhat.com/blog/2018/10/22/introduction-to-linux-interfaces-for-virtual-networking )
+- [LXD on Debian (using snapd) | Stéphane Graber&#039;s website](https://stgraber.org/2017/01/18/lxd-on-debian/)
+- [Just a moment...](https://www.baeldung.com/linux/btrfs-lvm)
+- [LVM - ArchWiki](https://wiki.archlinux.org/title/LVM)
+- Salient, and well said: [Fraudulent Black Lives Matter activists hoodwinked the British establishment](https://www.telegraph.co.uk/news/2023/11/01/fraudulent-black-lives-matter-activists-hoodwinked-britain/)
+- [mount - How do I share a directory between an LXC container and the host? - Ask Ubuntu](https://askubuntu.com/questions/610513/how-do-i-share-a-directory-between-an-lxc-container-and-the-host )
+- Is this page the secret to setting up a bridged network with LXD on Debian?: [LXC - Debian Wiki](https://wiki.debian.org/LXC#Networking)
+- [Please help understanding linux bridge interfaces - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/569360/please-help-understanding-linux-bridge-interfaces )
+- This gets close about adding a bridge and networking LXC containers, but not quite: [LXC | LXD Install | Create &amp; manage Linux LXC Containers | LXDUI Installation | Bridging LXC | LAB - YouTube](https://www.youtube.com/watch?v=jIDwxE3TN_w)
+- To move matrix to new host: [Reddit - Dive into anything](https://www.reddit.com/r/selfhosted/comments/jbax7l/matrixsynapse_move_to_new_server/)
+- More on moving matrix synapse to a new host: [Not Just Paranoid](https://not.just-paranoid.net/migrating-matrix-synapse-to-another-server/)
+- Interesting exploration of bridge networking and use of veth but not what I want: [linux - Bridge virtual interface into physical network? - Super User](https://superuser.com/questions/1204229/bridge-virtual-interface-into-physical-network)
+- GOOD - THIS WORKS for getting a lxc container on the physical subnet LAN: [Exposing the host LAN to an LXD instance with macvlan &#8211; LXDWARE](https://lxdware.com/exposing-the-host-lan-to-an-lxd-instance-with-macvlan/)
+- GOOD - Guy going through lxd volumes and pools - yes: [Custom storage volumes in LXD - YouTube](https://www.youtube.com/watch?v=dvQ111pbqtk)
+- I probably need to read this: [Linux Network Administrators Guide](https://tldp.org/LDP/nag2/index.html)
+- [An introduction to Linux bridging commands and features | Red Hat Developer](https://developers.redhat.com/articles/2022/04/06/introduction-linux-bridging-commands-and-features#)
+- [LXC - Gentoo wiki](https://wiki.gentoo.org/wiki/LXC#Virtualization_concepts)
+- This article contains the command for mounting an external mount point inside a container: [Cheatsheet - LXD Group | Yufong](https://yufongg.github.io/posts/LXD-Group/)
+- GOOD: [How to Set the Default Gateway in Linux](https://www.howtogeek.com/799588/how-to-set-the-default-gateway-in-linux/)
+- Looked at this whilst trying to understand setting static ip for container: [[Solved]Static IP address to LXC container - #7 by tomp - LXD - Linux Containers Forum](https://discuss.linuxcontainers.org/t/solved-static-ip-address-to-lxc-container/7704/7)
+- Trying to get mpd running in an lxc container: [Error in playing a sound using ALSA inside LXC container - Ask Ubuntu](https://askubuntu.com/questions/844437/error-in-playing-a-sound-using-alsa-inside-lxc-container)
+- ["A Tutorial on Using the ALSA Audio API"](http://equalarea.com/paul/alsa-audio.html)
+- Searching for installing mpd in a lxc container: [LXC Audio / Sound - #6 by gamejunk58 - LXC - Linux Containers Forum](https://discuss.linuxcontainers.org/t/lxc-audio-sound/8582/6)
+- [Creating a home music server using mpd](https://feeding.cloud.geek.nz/posts/home-music-server-with-mpd/)
+- [Transparent network audio with mpd &amp; sndiod](https://undeadly.org/cgi?action=article&sid=20180410063454)
+- [LXC Audio / Sound - #3 by shinXdxd - LXC - Linux Containers Forum](https://discuss.linuxcontainers.org/t/lxc-audio-sound/8582/3)
+- This DynDNS alternative was mentioned on here - https://mattscodecave.com/posts/setting-up-raspberry-pi-and-mpd-music-player-daemon-with-raspbian.html: [NoIP Dynamic DNS](https://www.noip.com/)
+- I was hopefully that adding devices into the container using the advice contained here was the answer to my soundcard troubles using lxc....: [LXD container ALSA audio support - #4 by lk7777 - LXD - Linux Containers Forum](https://discuss.linuxcontainers.org/t/lxd-container-alsa-audio-support/6101/4)
+- [Playing - Music with Mopidy and Ncmpcpp / Digital Neanderthal](https://www.digitalneanderthal.com/post/ncmpcpp/ )
+- How to add soundcard devices to a lxd vm: [How to add sound to an Ubuntu LXD VM - #5 by stgraber - LXD - Linux Containers Forum](https://discuss.linuxcontainers.org/t/how-to-add-sound-to-an-ubuntu-lxd-vm/14372/5)
+- Contains an example of createing a bridgeprofile that can be used when launching lxc instances: [LXD Containers Step by Step - ScottiByte&#39;s Discussion Forum](https://discussion.scottibyte.com/t/lxd-containers-step-by-step/242)
+- [Clients | Music Player Daemon Wiki | Fandom](https://mpd.fandom.com/wiki/Clients)
+- [Debian: ncmpcpp, MPD &amp; PulseAudio | danten.io](https://danten.io/debian-ncmpcpp-mpd-pulseaudio/)
+- [HTTP Server Test Page powered by: Rocky Linux](https://linux-hardware.org/?id=pci:1002-1637-1002-1637)
+- Someone attempts to get pulseaudio working inside an lxc container: [Using audio in LXD containers | bitsandslices](https://bitsandslices.wordpress.com/2015/12/10/using-audio-in-lxd-containers/)
+- Quick rundown of lxd commands: [LXD 2.0: Your first LXD container [3/12] | Stéphane Graber&#039;s website](https://stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/)
+- ["Debian Administrator's Handbook: NFS"](https://debian-handbook.info/browse/stable/sect.nfs-file-server.html)
+- [Reset User Password In Synapse, Matrix Reference Homeserver | Paritosh&#039;s Web Beat](https://paritoshbh.me/blog/reset-user-password-synapse-matrix-homeserver)
+- Obviously, this is very good: [Debian Administrator's Handbook](https://debian-handbook.info/browse/stable/index.html)