summaryrefslogtreecommitdiff
path: root/tech/arch-server-setup.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tech/arch-server-setup.txt')
-rw-r--r--tech/arch-server-setup.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/tech/arch-server-setup.txt b/tech/arch-server-setup.txt
new file mode 100644
index 0000000..cb06e27
--- /dev/null
+++ b/tech/arch-server-setup.txt
@@ -0,0 +1,54 @@
+Arch on a Server? Madness.
+
+https://wiki.archlinux.org/title/installation_guide
+https://www.linuxbabe.com/linux-server/install-arch-linux-on-kvm-vps
+
+Boot ISO and follow install instructions to get it working.
+
+verify bootmode: cat /sys/firmware/efi/fw_platform_size
+
+ip link
+
+ping archlinux.org
+
+timedatectl
+
+fdisk -l
+
+make a 1M partition for grub
+
+then install grub: pacman -S grub
+
+then:
+
+grub-install --target=i386-pc /dev/vda
+then config:
+grub-mkconfig -o /boot/grub/grub.cfg
+
+https://wiki.archlinux.org/title/GRUB
+
+## Networking
+https://www.reddit.com/r/archlinux/comments/3yaw2x/network_failure_trying_to_set_static_ip/?rdt=35416
+https://wiki.archlinux.org/title/Systemd-networkd
+
+
+then start systemd-networkd, create file:
+
+/etc/systemd/network/20-wired.network
+[Match]
+Name=enp0s3 # or whatever the interface is named
+
+[Network]
+Address=10.1.10.9/24
+Gateway=10.1.10.1
+DNS=10.1.10.1
+
+Then link in resov files
+
+ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
+systemctl --now enable systemd-resolved
+
+Then turn on networkd:
+systemctl --now enable systemd-networkd
+
+