Benutzer-Werkzeuge

Webseiten-Werkzeuge


dapnetnodeinstall

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste Überarbeitung Beide Seiten der Revision
dapnetnodeinstall [2018/02/20 11:56]
dh3wr [Installation DAPNET-Core]
dapnetnodeinstall [2018/03/07 12:34]
dh3wr [Alternative 1 to run the Node]
Zeile 11: Zeile 11:
  
 ===== Preparations ===== ===== Preparations =====
-We assume a fresh debian based linux system where you have root access. The user the DAPNET Core will run on is "dapnet" ​in this manual. Choose whatever fits to you system setup. Create this user. Google how to do this on your linux system. The dapnet Core does not need root rights to run.+We assume a fresh debian based linux system where you have root access. The user the DAPNET Core will run on is ''​dapnet'' ​in this manual. Choose whatever fits to you system setup. Create this user. Google how to do this on your linux system. The dapnet Core does not need root rights to run.
  
 The following software packages are needed The following software packages are needed
Zeile 31: Zeile 31:
  
 ===== Installation DAPNET-Core ===== ===== Installation DAPNET-Core =====
-Create a new user called ​//dapnet//+Create a new user called ​''​dapnet''​
 <​code>​sudo adduser dapnet</​code>​ <​code>​sudo adduser dapnet</​code>​
  
Zeile 38: Zeile 38:
 <​code>​sudo mkdir /​opt/​dapnet</​code>​ <​code>​sudo mkdir /​opt/​dapnet</​code>​
  
-Make dapnet the owner of this directory+Make ''​dapnet'' ​the owner of this directory
  
 <​code>​sudo chown dapnet /​opt/​dapnet</​code>​ <​code>​sudo chown dapnet /​opt/​dapnet</​code>​
  
-Change to user //dapnet//. If you don't have a user //dapnet// on your system, make one. If you don't know how, ask google. <​code>​su dapnet</​code>​+Change to user ''​dapnet''​. If you don't have a user ''​dapnet'' ​on your system, make one. If you don't know how, ask google. 
 +<​code>​sudo su dapnet</​code>​
  
 Change to <​code>​cd /​opt/​dapnet</​code>​ and download the newest version from github. Change to <​code>​cd /​opt/​dapnet</​code>​ and download the newest version from github.
Zeile 56: Zeile 57:
 mvn clean package</​code>​ mvn clean package</​code>​
  
-The compiled files are now in the directory target. In order not to loose your config make a directory named "local"+The compiled files are now in the directory ​''/​opt/​dapnet/​Core/​target''​. In order not to loose your config ​every time you recompile a new version ​make a directory named ''​local''​
  
 <​code>​mkdir /​opt/​dapnet/​Core/​local</​code>​ <​code>​mkdir /​opt/​dapnet/​Core/​local</​code>​
Zeile 84: Zeile 85:
 </​code>​ </​code>​
  
-Contact us or one of the existing Core sysops and get the password. We assume ​hier it is "​geheim"​. So put the real one in the line:+{{:​icons:​warning.png |}}**Contact us or one of the existing Core sysops ​to have your node added and get the password**.{{ :​icons:​warning.png|}} 
 + 
 +We assume ​here the password ​is "​geheim"​. So put the real one in the line:
  
 <​code>​auth_value="​geheim"/></​code>​ <​code>​auth_value="​geheim"/></​code>​
  
-At the bottom, put the callsign of the core in lowercase. The example here ist db0abc+At the bottom, put the callsign of the core in lowercase. The example here ist ''​db0abc''​. Enter the one that is registered in the DAPNET. Use lowercase letters.
  
 <​code><​pbcast.GMS name="​db0abc@DAPNET"</​code>​ <​code><​pbcast.GMS name="​db0abc@DAPNET"</​code>​
Zeile 95: Zeile 98:
  
 ==== Alternative 1 to run the Node ==== ==== Alternative 1 to run the Node ====
-Change to <​code>​cd /​opt/​dapnet/​Core/​local</​code>​ and start at screen, so the program keeps running even if your SSH connection is closed+Change to <​code>​cd /​opt/​dapnet/​Core/​local</​code>​ and start a ''​screen''​, so the program keeps running even if your SSH connection is closed. Install ''​screen''​ if not already installed. 
 + 
 +<​code>​sudo apt-get install screen</​code>​ 
 + 
 +Run the ''​screen''​
  
-<​code>​sudo apt-get install screen</​code>​ (if not already installed) 
 <​code>​screen</​code>​ <​code>​screen</​code>​
  
Zeile 124: Zeile 130:
 <​code>​apt-get install apache2 libapache2-mod-php5</​code>​ <​code>​apt-get install apache2 libapache2-mod-php5</​code>​
  
-Edit <​code>/​etc/​apache2/​sites-availabe/​000-default.conf</​code>​ and change+Edit <​code>/​etc/​apache2/​sites-available/​000-default.conf</​code>​ and change
  
 <​code>​DocumentRoot /​opt/​dapnet/​Web/​dist</​code>​ <​code>​DocumentRoot /​opt/​dapnet/​Web/​dist</​code>​
dapnetnodeinstall.txt · Zuletzt geändert: 2018/10/23 09:22 von df2et