Update instructions
This commit is contained in:
parent
ab16264a61
commit
28715dad23
1 changed files with 14 additions and 6 deletions
20
INSTALL.md
20
INSTALL.md
|
@ -8,14 +8,22 @@
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
Replace the following variables with yours:
|
First, you need a server.
|
||||||
IP
|
We recommend [Hetzner](https://serverboerse.de/index.php?country=EN) as they are the cheapest options around.
|
||||||
hostname
|
You can filter servers with ssd.
|
||||||
|
|
||||||
|
These instructions can also work on any VM/VPS/Hardware.
|
||||||
|
|
||||||
|
## Install the system
|
||||||
|
|
||||||
```
|
```
|
||||||
|
IP=
|
||||||
|
|
||||||
ssh -o "StrictHostKeyChecking no" root@$IP
|
ssh -o "StrictHostKeyChecking no" root@$IP
|
||||||
|
|
||||||
|
hostname=
|
||||||
|
ssh_public_key=""
|
||||||
|
|
||||||
fdisk -l #find your ssd
|
fdisk -l #find your ssd
|
||||||
|
|
||||||
# Setup raid
|
# Setup raid
|
||||||
|
@ -28,13 +36,13 @@ mkfs.ext4 /dev/md0
|
||||||
cat > cloud-config.tmp << EOF
|
cat > cloud-config.tmp << EOF
|
||||||
#cloud-config
|
#cloud-config
|
||||||
|
|
||||||
hostname: $hostname
|
hostname: "$hostname"
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- #your ssh public key here
|
- $ssh_public_key
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
wget https://raw.github.com/coreos/init/master/bin/coreos-install
|
wget https://raw.github.com/coreos/init/master/bin/coreos-install
|
||||||
bash coreos-install -d /dev/sda -c cloud-config
|
bash coreos-install -d /dev/sda -c cloud-config.tmp
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue