Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
admin_grundlagen:etherpad [2024/01/28 07:40] ingo_wichmann |
admin_grundlagen:etherpad [2025/05/30 06:29] (aktuell) ingo_wichmann [Etherpad-Lite Service mit Postgres als Datenbank] |
||
---|---|---|---|
Zeile 11: | Zeile 11: | ||
-> sollte node Repository anzeigen | -> sollte node Repository anzeigen | ||
apt install nodejs | apt install nodejs | ||
- | useradd -r -d /opt/etherpad-lite -s /usr/sbin/nologin | + | useradd -r -d /opt/etherpad-lite -s /usr/sbin/nologin etherpad |
cd /opt | cd /opt | ||
git clone --branch master https://github.com/ether/etherpad-lite.git | git clone --branch master https://github.com/ether/etherpad-lite.git | ||
Zeile 51: | Zeile 51: | ||
User=etherpad | User=etherpad | ||
Group=etherpad | Group=etherpad | ||
- | WorkingDirectory=/opt/etherpad | + | WorkingDirectory=/opt/etherpad-lite |
Environment=NODE_ENV=production | Environment=NODE_ENV=production | ||
- | ExecStart=/usr/bin/node --experimental-worker /opt/etherpad/node_modules/ep_etherpad-lite/node/server.js | + | ExecStart=/usr/bin/node --experimental-worker /opt/etherpad-lite/node_modules/ep_etherpad-lite/node/server.js |
# use mysql plus a complete settings.json to avoid Service hold-off time over, scheduling restart. | # use mysql plus a complete settings.json to avoid Service hold-off time over, scheduling restart. | ||
Restart=always | Restart=always | ||
Zeile 59: | Zeile 59: | ||
ProtectSystem=full | ProtectSystem=full | ||
PrivateDevices=yes | PrivateDevices=yes | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
</file> | </file> | ||
+ | systemctl enable --now etherpad.service | ||
===== Etherpad hinter Apache-Reverse Proxy ===== | ===== Etherpad hinter Apache-Reverse Proxy ===== | ||
Siehe: | Siehe: |