For rocky linux 9.
dnf upgrade --refresh --allowerasing # Takes a while, will kill your ssh session
systemctl enable --now NetworkManager
dnf install epel-release
dnf install vim htop
Use ssh-copy-id
.
Disable password auth.
Set /etc/hostname
to jnms.me
.
Remove the ip line from /etc/hosts
.
Run curl -fsSL https://get.docker.com -o get-docker.sh
.
Force set $lsb_dist
to rhel
.
Run bash get-docker.sh
.
Run systemctl enable --now docker
.
Run cd dotfiles && ./dotfiler.sh -d
.
Relog.
Run dc up -d
.
Run cp crontab /etc/crontab
.