Etherpad Lite (Debian): Unterschied zwischen den Versionen

Aus MattWiki
(Die Seite wurde neu angelegt: „Anleitung für Etherpad Lite auf Debian 8 mit systemd == Installation als Dienst == Create a user called etherpad-lite adduser --system --home=/srv/etherpa…“)
 
Keine Bearbeitungszusammenfassung
 
(15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Anleitung für Etherpad Lite auf Debian 8 mit systemd
Anleitung für Etherpad Lite auf Debian 8 mit systemd.
 
== Systemvoraussetzungen installieren ==
# apt-get install gzip git curl python libssl-dev nodejs build-essential
# apt-get install mysql-server mysql-client
 
[[Node.js_installieren_(Debian)]]
 
== Installation Etherpad Lite 1.6.0 ==
System-User etherpad erstellen
 
# adduser --system --group etherpad
 
Repository von git clonen
 
$ cd /home/etherpad
$ sudo -u etherpad git clone git://github.com/ether/etherpad-lite.git
 
== Einrichtung ==
$ cd /home/etherpad/etherpad-lite
$ cp settings.json.template settings.json
$ emacs settings.json
 
Datenbankname und Verbindungsdaten eingeben


== Installation als Dienst ==
== Installation als Dienst ==
Create a user called etherpad-lite
adduser --system --home=/srv/etherpad-lite --group etherpad-lite


Ensure the etherpad-lite user has full access to the etherpad-lite source.
Ensure the etherpad-lite user has full access to the etherpad-lite source.
Zeile 26: Zeile 46:
Run  
Run  


systemctl enable etherpad-lite  
systemctl enable etherpad-lite  


to enable the service on boot.
to enable the service on boot.
Zeile 36: Zeile 56:


NB: might need to change "/srv/etherpad-lite/bin/run.sh" with "/bin/sh /srv/etherpad-lite/bin/run.sh" according to configuration
NB: might need to change "/srv/etherpad-lite/bin/run.sh" with "/bin/sh /srv/etherpad-lite/bin/run.sh" according to configuration
== Proxy aktivieren ==
Benötigt, wenn Etherpad über eine Subdomain in Apache eingehängt werden soll:
a2enmod proxy
a2enmod proxy_http
a2enmod authz_groupfile
service apache2 restart
== Interessante Plugins ==
* adminpads
* push2delete
* small_list
[[Category:Linux]]

Aktuelle Version vom 2. September 2017, 16:27 Uhr

Anleitung für Etherpad Lite auf Debian 8 mit systemd.

Systemvoraussetzungen installieren

# apt-get install gzip git curl python libssl-dev nodejs build-essential
# apt-get install mysql-server mysql-client

Node.js_installieren_(Debian)

Installation Etherpad Lite 1.6.0

System-User etherpad erstellen

# adduser --system --group etherpad

Repository von git clonen

$ cd /home/etherpad
$ sudo -u etherpad git clone git://github.com/ether/etherpad-lite.git

Einrichtung

$ cd /home/etherpad/etherpad-lite
$ cp settings.json.template settings.json
$ emacs settings.json

Datenbankname und Verbindungsdaten eingeben

Installation als Dienst

Ensure the etherpad-lite user has full access to the etherpad-lite source.

Create a new file etherpad-lite.service in /etc/systemd/system/

[Unit]
Description=etherpad-lite (real-time collaborative document editing)
After=syslog.target network.target 

[Service]
Type=simple
User=etherpad-lite
Group=etherpad-lite
ExecStart=/srv/etherpad-lite/bin/run.sh

[Install]
WantedBy=multi-user.target


Run

systemctl enable etherpad-lite 

to enable the service on boot.


Dienststeuerung

systemctl start etherpad-lite         # start the service

NB: might need to change "/srv/etherpad-lite/bin/run.sh" with "/bin/sh /srv/etherpad-lite/bin/run.sh" according to configuration


Proxy aktivieren

Benötigt, wenn Etherpad über eine Subdomain in Apache eingehängt werden soll:

a2enmod proxy
a2enmod proxy_http
a2enmod authz_groupfile
service apache2 restart


Interessante Plugins

  • adminpads
  • push2delete
  • small_list