Anonymous

Changes

From NixNet
1,158 bytes added ,  21:22, 16 September 2021
m
add category
[[Category:Admin guides]]
{{admin guides}}
{{unfinished}}
The "regular" distro installation process with Hetzner is a pain in the ass. They have a limited number of [https[wikipedia://en.wikipedia.org/wiki/Rackmount_KVM |KVM devices] ] so you have to open a support ticket requesting one. The options are "ASAP" and loading custom ISO images through that by appointment. In my experience, "ASAP" has been anywhere from 10 minutes to an hour and "by appointment" starts the next day. When they attach the KVM interface is terribly unreliable, you get an email with a URL, username, and password. AlternativelyAfter opening the URL, you could provide connection details for 'll see which device they've given you. One is modern and can be used perfectly fine in a SAMBA server browser. The other I've had is archaic and load can only be interacted with through a Java applet that crashed on both my Arch installation and in an ISO that way but this is still too much troubleUbuntu 20.04 VM. I was unimpressed.
If you want to install a custom operating system aside from their two-click deployments, option one is to upload an ISO through the KVM. This has no progress or status indicator until the upload is finished; at which point there will be a small notification in the window that disappears after a short period of time. It's very easy to miss. Option two is providing credentials for a SAMBA server containing the image you'd like installed. Both of these options are terribly slow. Thankfully, they have a much simpler process for setting way to set things up.
{{Note|'''Note:''' if you're used to working with systems from other providers, this may not be the same process. Read carefully.|warn}}
= The Actual System =
 
*install sudo
*add users
**adduser user
*add user to sudo group
**usermod -aG sudo user
*copy ssh keys and rc file
*disable xforwarding
*disable password login
*disable root login
*restart sshd
*remove root password
**passwd -d root
*review SSH logs to ensure no one brute-forced a session during setup
 
= Troubleshooting =
== Rebuilding a RAID array ==