From 5b0ac206dfad67d00cd0264defa3a94992a71d35 Mon Sep 17 00:00:00 2001
From: Michiel de Jong <michiel@unhosted.org>
Date: Wed, 5 Nov 2014 23:56:41 +0000
Subject: [PATCH] Ubuntu instructions

---
 doc/running-on-ubuntu.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 doc/running-on-ubuntu.md

diff --git a/doc/running-on-ubuntu.md b/doc/running-on-ubuntu.md
new file mode 100644
index 0000000..9581d3a
--- /dev/null
+++ b/doc/running-on-ubuntu.md
@@ -0,0 +1,18 @@
+To run an IndieHosters on ubuntu 14.10 (earlier versions will not work), run something like:
+
+  apt-get update && apt-get -y upgrade
+  dpkg-reconfigure -plow unattended-upgrades
+  # set unattended upgrades to 'Yes'
+  apt-get -y install systemd-sysv git docker.io
+  docker run -d --restart='always' -p 4001:4001  quay.io/coreos/etcd:v0.4.6
+  echo "#!/bin/sh" > /usr/local/etcdctl
+  echo "docker run --net=host quay.io/coreos/etcd:v0.4.6 /etcdctl $1 $2 $3 $4" >> /usr/local/etcdctl
+  shutdown -r now
+
+  systemctl start docker # This will be automatic once the IndieHosters unit-files are installed
+  systemctl list-units
+  docker ps
+  etcdctl ls
+  etcdctl help
+
+Now follow the [CoreOS-based instructions](deploying-a-server.md)
-- 
GitLab