summaryrefslogtreecommitdiff
path: root/docs/buildnotes
diff options
context:
space:
mode:
authorD Delmar Davis <don@suspectdevices.com>2025-05-27 12:28:00 -0700
committerD Delmar Davis <don@suspectdevices.com>2025-05-27 12:28:00 -0700
commitc3b56e276c40487897be8e978b180ae48345e32f (patch)
tree8761e145d08f0cf894e377acc2501e48f65f99f3 /docs/buildnotes
parent90f09f1480290d9219fbe1dafffeebcaf47e0936 (diff)
Hot stubbs
Diffstat (limited to 'docs/buildnotes')
-rw-r--r--docs/buildnotes/nick.md192
1 files changed, 192 insertions, 0 deletions
diff --git a/docs/buildnotes/nick.md b/docs/buildnotes/nick.md
new file mode 100644
index 0000000..4a2e996
--- /dev/null
+++ b/docs/buildnotes/nick.md
@@ -0,0 +1,192 @@
+# Nick Cave -- My personal datacenter
+YOU ARE HERE DESCRIBING standing up a debian trixie server with appletalk, incus, and zfs
+```
+ip a
+dmesg
+apt update
+ip a
+
+# DONT MODERNIZE THE FRACKING LIST TRIXIE TRASHES IT
+nano /etc/apt/sources.list
+apt update
+sudo apt install zfs-dkms
+sudo apt install zfsutils-linux
+modprobe zfs
+zfs list
+sudo apt -o Acquire::Check-Valid-Until=false update
+sudo apt policy linux-headers-*
+sudo apt install linux-headers-$(uname -r)
+sudo apt install --reinstall zfsutils-linux
+zfs import
+zpool import
+zpool import -f
+zpool import -f tank
+zpool import -f local
+zpool import -f reddisk
+zpool clear tank ; zpool clear reddisk ; zpool status -v
+
+apt install sudo nano wget curl
+wget https://github.com/Netatalk/netatalk/releases/download/netatalk-4-0-0/netatalk_4.0.0.ds-1_amd64.deb
+dpkg --install ./netatalk_4.0.0.ds-1_amd64.deb
+apt --fix-broken install
+dpkg --install ./netatalk_4.0.0.ds-1_amd64.deb
+apt install avahi-daemon
+apt --fix-broken install
+nano .ssh/authorized_keys
+apt install avahi-daemon avahi-utils
+apt install libnss-mdns
+systemctl status avahi-daemon
+nano /etc/netatalk/afp.conf
+systemctl restart netatalk
+systemctl status netatalk
+
+zpool status
+zpool upgrade local
+zpool clear tank ; zpool clear reddisk ; zpool clear local ; zpool status -v
+zfs mount -a
+zfs list
+zpool list
+nano /etc/netatalk/afp.conf
+ip a
+cat .ssh/authorized_keys
+df -k
+zfs list
+reboot
+su - feurig
+ip a
+dhclient
+nano /etc/default/networking
+ifup
+ip a
+ifup enp12s0
+ifup enp12s0
+shutdown -h now
+zpool status
+zpool clear tank ; zpool clear reddisk ; zpool clear local ; zpool status -v
+visudo
+vigr
+exit
+visudo
+cp .ssh/authorized_keys ~feurig/.ssh/authorized_keys
+cd
+cp .ssh/authorized_keys ~feurig/.ssh/authorized_keys
+chown -R feurig:feurig ~feurig/.ssh
+exit
+ls -lsa
+cd
+ls -ls
+ls -lsa
+ls -lsa .ssh/
+ls -ls ~feurig/.ssh/
+nano /etc/ssh/sshd_config
+ls
+cat .ssh/authorized_keys
+nano .ssh/authorized_keys
+exit
+zpool status
+ls /dev/disk/
+
+# attempt to use tbolt 2 disk enclosure
+
+apt update
+apt install thunderbolt-tools
+
+apt install bolt
+boltctl
+boltctl list
+boltctl enroll
+boltctl enroll 00000000-0000-0018-80fa-1c134c238952
+boltctl list
+fdisk -l
+boltctl info 00000000-0000-0018-80fa-1c134c238952
+boltctl list
+boltctl list --all
+# FAIL
+
+reboot
+fdisk -l
+zpool status
+zpool status
+ip a
+zpool status
+zpool status
+zpool status
+zpool status
+cd
+nano .ssh/authorized_keys
+exit
+nano .ssh/authorized_keys
+exit
+zfs list
+zpool list
+zpool status local
+zpool help
+zpool split local
+zpool split local oloco
+zpool status
+apt install incus incus-tools qemu-system
+curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
+sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
+Enabled: yes
+Types: deb
+URIs: https://pkgs.zabbly.com/incus/stable
+Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
+Components: main
+Architectures: $(dpkg --print-architecture)
+Signed-By: /etc/apt/keyrings/zabbly.asc
+EOF'
+apt update
+apt install incus
+systemctl start incus
+systemctl start incus
+incus list
+incus --help
+incus admin --help
+incus admin init
+zfs status -l local
+zfs status -l local
+zfs status local
+zpool status -L local
+zpool remove local
+zpool remove local sdc1
+zpool destroy local
+ls -ls /dev/disk/by-id/|grep sdc1
+incus admin init
+zfs status -l
+zfs status
+zpool status
+zpool import
+zpool import oloco
+zpool status
+zpool status
+zpool status |less
+zpool status
+ls
+nano /etc/netatalk/afp.conf
+systemctl restart netatalk
+zpool status
+zpool clear oloco
+zpool status
+zpool clear tank
+zpool status
+zpool status
+reboot
+zpool status
+zpool clear tank
+zpool status
+
+
+curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
+sh -c 'cat <<EOF > /etc/apt/sources.list.d/
+Enabled: yes
+Types: deb
+URIs: https://pkgs.zabbly.com/incus/stable
+Suites: trixie
+Components: main
+Architectures: amd64
+Signed-By: /etc/apt/keyrings/zabbly.asc
+EOD
+apt update
+apt install incus
+incus --version
+``` \ No newline at end of file