| ... | ... | @@ -45,13 +45,13 @@ Anmerkung: Statt des Ports 82 kann auch ein anderer gewählt werden. |
|
|
|
Desweiteren sind einige Apache-Module zu aktivieren
|
|
|
|
|
|
|
|
```
|
|
|
|
a2enmod mod_proxy_wstunnel proxy proxy_http headers proxy_wstunnel
|
|
|
|
sudo a2enmod mod_proxy_wstunnel proxy proxy_http headers proxy_wstunnel
|
|
|
|
```
|
|
|
|
|
|
|
|
und der Apache-Prozess ist neu zu starten:
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl restart apache2.service
|
|
|
|
sudo systemctl restart apache2.service
|
|
|
|
```
|
|
|
|
|
|
|
|
Dies bewirkt, dass künftig alle Anfragen an `http://a73435.berlin.ptb.de:82/` nach `http://127.0.0.1:8888/` umgeleitet werden.
|
| ... | ... | @@ -137,6 +137,8 @@ EOF |
|
|
|
|
|
|
|
### Start des Systemd-Services
|
|
|
|
|
|
|
|
(Unter root-Account ausführen.)
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl link $PWD/JupyterLab.service
|
|
|
|
systemctl daemon-reload
|
| ... | ... | |
| ... | ... | |