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 + +