-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Hetzner server
vadimicus edited this page Jun 8, 2018
·
1 revision
This guide about how to setup and customize backend from Hetzner
- Go to rescue system and connect to it with SSH
installimage- While reviewing setup config file make RAID to 0 and SWRAID to 0
- Write HOSTNAME as you wish ;)
- CNT+10 and install you OS
- When OS installation is done, reconnect by SSH
- add new user by and give him sudo
adduser SOME_USER_NAME
//enter some good password =)
usermod -aG sudo SOME_USER_NAME
- Setup STORAGES
lsblk
//To check what hard drives you have
- 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
- After that we need to create File System
mkfs -t ext4 /dev/sdb1
- Go to /mnt and create some folder for drive
cd /mnt
mkdir hdd
- Mount Drive to the directory
mount /dev/sdb1 /mnt/hdd/