dapnetnodeinstall
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| dapnetnodeinstall [2018/01/08 10:15] – dh3wr | dapnetnodeinstall [2018/10/23 07:22] (aktuell) – [Installation DAPNET-Core] df2et | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Installation procedure for new DAPNET node ====== | ====== Installation procedure for new DAPNET node ====== | ||
| + | <color #ed1c24> | ||
| + | ATTENTION: Due to serious problems of the current version of DAPNET-CORE we do not accept any new cores. A new version overcoming this issues is in progress. If you want to run your own core, please wait for the new version being released!</ | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| Zeile 11: | Zeile 13: | ||
| ===== 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" | + | We assume a fresh debian based linux system where you have root access. The user the DAPNET Core will run on is '' |
| The following software packages are needed | The following software packages are needed | ||
| Zeile 19: | Zeile 21: | ||
| * Java 1.8 | * Java 1.8 | ||
| - | You need to install java 1.8 following [[https:// | + | You need to install java 1.8 following [[https:// |
| + | < | ||
| + | After having installed java, install the rest with | ||
| < | < | ||
| + | Verify your java version is minimum 1.8 with | ||
| + | < | ||
| + | |||
| + | If you have installed the default java 1.7 OpenJDK, remove it with | ||
| + | < | ||
| + | |||
| ===== Installation DAPNET-Core ===== | ===== Installation DAPNET-Core ===== | ||
| + | Create a new user called '' | ||
| + | < | ||
| + | |||
| Make a directory /opt/dapnet | Make a directory /opt/dapnet | ||
| < | < | ||
| - | Make dapnet the owner of this directory | + | Make '' |
| < | < | ||
| - | 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. < | + | Change to user '' |
| + | < | ||
| Change to < | Change to < | ||
| Zeile 45: | Zeile 59: | ||
| mvn clean package</ | mvn clean package</ | ||
| - | 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 |
| < | < | ||
| Zeile 73: | Zeile 87: | ||
| </ | </ | ||
| - | Contact us or one of the existing Core sysops and get the password. We assume | + | If you want the Core to bind to a specific address you can extend the TCP config |
| + | |||
| + | < | ||
| + | |||
| + | {{: | ||
| + | |||
| + | We assume | ||
| < | < | ||
| - | 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 '' |
| < | < | ||
| Zeile 84: | Zeile 104: | ||
| ==== Alternative 1 to run the Node ==== | ==== Alternative 1 to run the Node ==== | ||
| - | Change to < | + | Change to < |
| + | |||
| + | < | ||
| + | |||
| + | Run the '' | ||
| - | < | ||
| < | < | ||
| Zeile 111: | Zeile 134: | ||
| The source code is already downloaded to < | The source code is already downloaded to < | ||
| - | < | + | < |
| - | Edit < | + | Edit < |
| - | < | + | < |
| Insert below this line: | Insert below this line: | ||
| Zeile 131: | Zeile 154: | ||
| Change to < | Change to < | ||
| - | Now the web interface is accessable on http:// | + | Now the web interface is accessable on '' |
| + | |||
| + | ==== Hint to run the REST-API on the same HTTP Port ==== | ||
| + | Normally, the REST-API runs on port 8080. If you just have port 80 open for your website and don't want to add port 8080, you can use the Apache webserver as a proxy to process the API requests. | ||
| + | |||
| + | Add to your apache config: | ||
| + | < | ||
| + | ProxyPass "/ | ||
| + | ProxyPassReverse "/ | ||
| + | </ | ||
| + | |||
| + | In the settings of the DAPNET-WEG, enter in ''/ | ||
| + | < | ||
| + | " | ||
| + | </ | ||
| + | |||
| + | Restart the apache and build the website again: | ||
| + | < | ||
| + | sudo systemctl restart apache2 | ||
| + | cd / | ||
| + | npm run build | ||
| + | </ | ||
| ===== First Steps ===== | ===== First Steps ===== | ||
| Ask us for your personal login data and happy paging. | Ask us for your personal login data and happy paging. | ||
dapnetnodeinstall.1515406518.txt.gz · Zuletzt geändert: 2018/01/08 10:15 von dh3wr