From e422e708ccb1f2aec0821f7e393bde62a9d5b5a2 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 16 May 2017 11:31:38 +0200 Subject: coreos instructions --- ...5-16-coreos-installation-on-a-hetzner-server.md | 54 ++++++++++++++++++++++ .../2017-05-16-running-ist-services-on-coreos.md | 11 +++++ 2 files changed, 65 insertions(+) create mode 100644 _posts/2017-05-16-coreos-installation-on-a-hetzner-server.md create mode 100644 _posts/2017-05-16-running-ist-services-on-coreos.md diff --git a/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md b/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md new file mode 100644 index 0000000..ce3a947 --- /dev/null +++ b/_posts/2017-05-16-coreos-installation-on-a-hetzner-server.md @@ -0,0 +1,54 @@ +--- +layout: post +title: "CoreOS Installation on a Hetzner Server" +description: "" +category: +tags: [] +--- +{% include JB/setup %} + +- log into the rescue system + + ssh root@{sever-ip} + +- run `installimage` + + - choose "Other" -> "CoreOS-XXX" + - keep the default install.conf (you may have to quit with ESC 0, if F10 does not work) + - confirm deletion of partitions + +* reboot into CoreOS + + reboot + +- log into CoreOS (using the same password as for the rescue system) + + ssh root@{sever-ip} + +- set the hostname (if you have omitted it in install.conf) + + hostname {hostname} + +- change root password + + passwd + +- create a password for the `core` user + + passwd core + +- login as core user from another console to make sure everything works as expected (and to avoid lockouts) + +- disable root login + + - edit /etc/ssh/sshd_config + - set PermitRootLogin no + - restart sshd + + sudo systemctl daemon-reload + +- exit root + + exit + + diff --git a/_posts/2017-05-16-running-ist-services-on-coreos.md b/_posts/2017-05-16-running-ist-services-on-coreos.md new file mode 100644 index 0000000..88aab73 --- /dev/null +++ b/_posts/2017-05-16-running-ist-services-on-coreos.md @@ -0,0 +1,11 @@ +--- +layout: post +title: "Running IST services on CoreOS" +description: "" +category: +tags: [] +--- +{% include JB/setup %} + +- login as `core` user +- use this gist as a starting point: https://gist.github.com/helma/86298cf1b1aab6e237c295cfc142a0b2 -- cgit v1.2.3