Update page 'Installation'
parent
b8e6b12516
commit
0a935366f1
|
@ -28,12 +28,15 @@ If there are nodes that should get managed by this master server, then the follo
|
||||||
```su nlvmi```<br/>
|
```su nlvmi```<br/>
|
||||||
```ssh-keygen``` -without a password<br/>
|
```ssh-keygen``` -without a password<br/>
|
||||||
|
|
||||||
|
If you want to use https, novnc will not work out of the box because of the websocket. NLVMI includes a tiny nginx config generator to overcome this issue. Just create a directory like /etc/nginx/nlvmi/, add "include /etc/nginx/nlvmi/*.conf;" to your https server config and edit /etc/nlvmi/nlvmi.conf to set NGINXCONFIGPATH="/etc/nginx/nlvmi". There is also a NGINXRSTARTCOMMAND which can be used to reload the generated configs automatically.
|
||||||
|
|
||||||
|
|
||||||
If this host should also act as node, then the following packages are also needed as dep:<br/>
|
If this host should also act as node, then the following packages are also needed as dep:<br/>
|
||||||
-qemu<br/>
|
-qemu<br/>
|
||||||
-usermode-utilities<br/>
|
-usermode-utilities<br/>
|
||||||
-bridge-utils<br/>
|
-bridge-utils<br/>
|
||||||
-socat<br/>
|
-socat<br/>
|
||||||
|
You should edit /etc/nlvmi/nlvmi.conf and set the local directories used for images. For multiple iso or image directories, use a semicolon as seperator.
|
||||||
|
|
||||||
**KVM node**<br/>
|
**KVM node**<br/>
|
||||||
This is a remote server that gets managed by the master.<br/>
|
This is a remote server that gets managed by the master.<br/>
|
||||||
|
@ -46,5 +49,18 @@ The following deps are needed there:<br/>
|
||||||
-openssh<br/>
|
-openssh<br/>
|
||||||
|
|
||||||
Quick install:<br/>
|
Quick install:<br/>
|
||||||
|
```become root```<br/>
|
||||||
|
```cd /usr/local```<br/>
|
||||||
|
```git clone https://git.nativenet.ch/nativenet.ch/nlvmi.git``` - you could also just copy everything (expect the webfolder) from the masterserver, but keep the nlvmi bash script in sync!<br/>
|
||||||
|
```useradd nlvmi```<br/>
|
||||||
|
```ln -sf ${PWD}/nlvmi/nlvmi /usr/bin/```<br/>
|
||||||
|
```ln -sf ${PWD}/nlvmi/wrap-nlvmi /usr/bin/```<br/>
|
||||||
|
```chown root:nlvmi nlvmi/*nlvmi```<br/>
|
||||||
|
```chmod +s nlvmi/wrap-nlvmi```<br/>
|
||||||
|
```mkdir /etc/nlvmi```<br/>
|
||||||
|
```cp nlvmi/nlvmi.conf /etc/nlvmi/```<br/>
|
||||||
|
Now edit /etc/nlvmi/nlvmi.conf and set the IP of the masterserver and the local directories used for images. For multiple iso or image directories, use a semicolon as seperator.
|
||||||
|
You also need to copy /etc/nlvmi/nlvmi_sign.crt from the master server to the node.
|
||||||
|
You should also add the generated ssh key from the masters /home/nlvmi/.ssh/id_rsa.pub to the nodes /home/nlvmi/.ssh/authorized_keys.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue