From 5a5f26e2b8f3ccd55783ba615dd5d7b47bac2cff Mon Sep 17 00:00:00 2001 From: mad Date: Wed, 7 Nov 2018 13:55:19 +0000 Subject: [PATCH] Update page 'Installation' --- Installation.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Installation.md diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..1c2736c --- /dev/null +++ b/Installation.md @@ -0,0 +1,27 @@ +**Management Server**
+This is the master server that runs the webinterface and manages vms either locally or remote via ssh.
+It needs at least the following dependencies:
+-php with a webserver (preferably nginx if https is going to be used).
+-sqlite for the database
+If there are nodes to manage, it needs these additional dependencies:
+-openssl
+-openssh
+ +Quick install:
+become root +``` +cd /usr/local +``` +git clone https://git.nativenet.ch/nativenet.ch/nlvmi.git +useradd nlvmi +ln -sf ${PWD}/nlvmi/nlvmi /usr/bin/ +ln -sf ${PWD}/nlvmi/wrap-nlvmi /usr/bin/ +ln -sf ${PWD}/nlvmi/web /var/www/localhost/htdocs/nlvmi --or wherever your webroot is +chown root:nlvmi nlvmi/*nlvmi +chmod +s nlvmi/wrap-nlvmi +mkdir /etc/nlvmi +cp nlvmi/vlvmi.conf /etc/nlvmi/ +-- if it is the masterserver, create the db - nlvmi createdb +chown nobody:root /etc/nlvmi + +