Update page 'Installation'

mad 2018-11-07 13:57:23 +00:00
parent 5a5f26e2b8
commit 732185a27c
1 changed files with 4 additions and 5 deletions

@ -3,15 +3,14 @@ This is the master server that runs the webinterface and manages vms either loca
It needs at least the following dependencies:<br/> It needs at least the following dependencies:<br/>
-php with a webserver (preferably nginx if https is going to be used).<br/> -php with a webserver (preferably nginx if https is going to be used).<br/>
-sqlite for the database<br/> -sqlite for the database<br/>
-git - you could also just download the tarball
If there are nodes to manage, it needs these additional dependencies:<br/> If there are nodes to manage, it needs these additional dependencies:<br/>
-openssl<br/> -openssl<br/>
-openssh<br/> -openssh<br/>
Quick install:<br/> Quick install:<br/>
become root ```become root
```
cd /usr/local cd /usr/local
```
git clone https://git.nativenet.ch/nativenet.ch/nlvmi.git git clone https://git.nativenet.ch/nativenet.ch/nlvmi.git
useradd nlvmi useradd nlvmi
ln -sf ${PWD}/nlvmi/nlvmi /usr/bin/ ln -sf ${PWD}/nlvmi/nlvmi /usr/bin/
@ -21,7 +20,7 @@ chown root:nlvmi nlvmi/*nlvmi
chmod +s nlvmi/wrap-nlvmi chmod +s nlvmi/wrap-nlvmi
mkdir /etc/nlvmi mkdir /etc/nlvmi
cp nlvmi/vlvmi.conf /etc/nlvmi/ cp nlvmi/vlvmi.conf /etc/nlvmi/
-- if it is the masterserver, create the db - nlvmi createdb nlvmi createdb
chown nobody:root /etc/nlvmi chown nobody:root /etc/nlvmi ```