NOW: Debian documentation
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 31 Jan 2017 13:32:04 +0000 (14:32 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 31 Jan 2017 13:32:04 +0000 (14:32 +0100)
NOW/debian/README.debian [new file with mode: 0644]
NOW/debian/now.docs [new file with mode: 0644]

diff --git a/NOW/debian/README.debian b/NOW/debian/README.debian
new file mode 100644 (file)
index 0000000..64f5b87
--- /dev/null
@@ -0,0 +1,28 @@
+# Installation
+
+## Together with apache2
+
+    apt-get install -y apache2 now
+
+## Installing apache2 later
+
+    apt-get install -y now
+    apt-get install -y apache2
+    a2enmod passenger
+    service apache2 restart
+    # rerun post-installation scripts:
+    #   a2enconf now && a2ensite now-site
+    dpkg-reconfigure now
+
+## Configuration
+
+Edit `/etc/now.yml` file.
+
+More information see [README](https://github.com/CESNET/NOW/#at-now-host).
+
+# Quick check
+
+Replace USER by real OpenNebula user:
+
+    curl http://localhost:11080
+    curl http://localhost:11080/network?user=USER
diff --git a/NOW/debian/now.docs b/NOW/debian/now.docs
new file mode 100644 (file)
index 0000000..682414a
--- /dev/null
@@ -0,0 +1 @@
+README.debian