Update page 'Installation'
							parent
							
								
									dc72ebabeb
								
							
						
					
					
						commit
						5a5f26e2b8
					
				
							
								
								
									
										27
									
								
								Installation.md
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
								
									
										
										
									
									
								
							
						
						
									
										27
									
								
								Installation.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,27 @@
 | 
			
		||||
**Management Server**<br/>
 | 
			
		||||
This is the master server that runs the webinterface and manages vms either locally or remote via ssh.<br/>
 | 
			
		||||
It needs at least the following dependencies:<br/>
 | 
			
		||||
-php with a webserver (preferably nginx if https is going to be used).<br/>
 | 
			
		||||
-sqlite for the database<br/>
 | 
			
		||||
If there are nodes to manage, it needs these additional dependencies:<br/>
 | 
			
		||||
-openssl<br/>
 | 
			
		||||
-openssh<br/>
 | 
			
		||||
 | 
			
		||||
Quick install:<br/>
 | 
			
		||||
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 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user