Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Setup Hetzner server

vadimicus edited this page Jun 8, 2018 · 1 revision

This guide about how to setup and customize backend from Hetzner

TODO LIST

  1. Go to rescue system and connect to it with SSH
  2. installimage
  3. While reviewing setup config file make RAID to 0 and SWRAID to 0
  4. Write HOSTNAME as you wish ;)
  5. CNT+10 and install you OS
  6. When OS installation is done, reconnect by SSH
  7. add new user by and give him sudo
adduser SOME_USER_NAME
//enter some good password =)
usermod -aG sudo SOME_USER_NAME
  1. Setup STORAGES
lsblk
//To check what hard drives you have
  1. Create a new partition on the clear disk - In our case /dev/sdb
fdisk /dev/sdb

n //creating new partition
p //as primary partition
1 //partition number (use default value)
2048 //first sector (use default value)
4294967294 //lasta sector (use default value)
w //save and exit
  1. After that we need to create File System
mkfs -t ext4 /dev/sdb1
  1. Go to /mnt and create some folder for drive
cd /mnt
mkdir hdd
  1. Mount Drive to the directory
mount /dev/sdb1 /mnt/hdd/
Clone this wiki locally