Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Nächste Überarbeitung | Vorherige Überarbeitung | ||
admin_grundlagen:etherpad [2024/01/27 15:44] ingo_wichmann angelegt |
admin_grundlagen:etherpad [2025/05/30 06:29] (aktuell) ingo_wichmann [Etherpad-Lite Service mit Postgres als Datenbank] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | frei nach https://github.com/ether/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service und https://github.com/ether/etherpad-lite/wiki/How-to-use-Etherpad-Lite-with-PostgreSQL/876a249e89d4468a74441bfcb470d2b4ecba416a | + | ====== Etherpad ====== |
+ | frei nach https://github.com/ether/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service | ||
+ | und https://github.com/ether/etherpad-lite/wiki/How-to-use-Etherpad-Lite-with-PostgreSQL/876a249e89d4468a74441bfcb470d2b4ecba416a | ||
+ | ===== Etherpad-Lite Service mit Postgres als Datenbank ===== | ||
apt install --no-install-recommends extrepo git postgresql-15 | apt install --no-install-recommends extrepo git postgresql-15 | ||
Zeile 8: | 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 48: | 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 56: | 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 ===== | ||
+ | Siehe: | ||
+ | |||
+ | https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy#apache | ||