diff options
author | luxagraf <sng@luxagraf.net> | 2024-09-20 15:42:06 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-09-20 15:42:06 -0500 |
commit | 725f58e222b52169fa28e48680230a647335c706 (patch) | |
tree | fa8ab652a4095d1bb053b97e531ccc0c40834d62 /tech/arch-server-setup.txt | |
parent | 278b8b82f352a1731e22f9840e6789410ce199f1 (diff) |
haven't used git in a while, bringing up to date
Diffstat (limited to 'tech/arch-server-setup.txt')
-rw-r--r-- | tech/arch-server-setup.txt | 54 |
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 + + |