50% di sconto tutti i piani, offerta a tempo limitato. A partire da $2.48/mo
Etherpad

Etherpad

Etherpad è un editor di documenti collaborativo in tempo reale. Alternativa a Gooogle Docs per testo semplice, con cronologia delle versioni e chat in linea,

Versione

Latest

Sistema Operativo

Ubuntu Server 24.04 LTS

Min. RAM

2 GB

Tipi IP

IPV4

Accedi a Etherpad

  • Interfaccia utente: https://<SERVER_IP>
  • Interfaccia di amministrazione: https://<SERVER_IP>/admin
  • Credenziali di accesso admin: Nome utente admin, password salvata in .env as ADMIN_PASSWORD

Aggiungi utenti tramite le impostazioni di amministrazione

1. Visita: https://<SERVER_IP>/admin

2. Vai su Impostazioni.

3. Verrà visualizzato un file di configurazione JSON.

4. Individua il users sezione:

  "users": {
    "admin": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "${ADMIN_PASSWORD:null}",
      "is_admin": true
    },
    "user": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "test",
      "is_admin": false
    }
  },

5. Aggiungi un nuovo utente (rispetta la sintassi valida di JSON):

  "users": {
    "admin": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "${ADMIN_PASSWORD:null}",
      "is_admin": true
    },
    "user": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "test",
      "is_admin": false
    },
    "newuser": {
      "password": "strongpassword",
      "is_admin": false
    }
  },

6. Clicca su Salva impostazioni.

7. Clicca su Riavvia Etherpad.

File e directory importanti

  • Installazione dell'applicazione: /root/etherpad
  • File Docker Compose: /root/etherpad/docker-compose.yml
  • Variabili d'ambiente: /root/etherpad/.env
  • Dati del database PostgreSQL: /var/lib/docker/volumes/etherpad_postgres_data/_data
  • Dati di runtime di Etherpad: /var/lib/docker/volumes/etherpad_etherpad-var/_data
  • Directory dei plugin: /var/lib/docker/volumes/etherpad_plugins/_data
  • Configurazione Nginx: /etc/nginx/sites-available/etherpad
  • Certificati SSL: /etc/nginx/ssl/

Gestione dei servizi

Elenca container:

docker ps

Riavvia i container:

docker compose -f /root/etherpad/docker-compose.yml restart

Segui i log di Etherpad:

docker compose -f /root/etherpad/docker-compose.yml logs -f

Riavvia Nginx:

systemctl restart nginx

Abilitare SSL con un dominio

1. Punta il tuo dominio all'IP del server.

2. Modifica la configurazione Nginx e sostituisci entrambi server_name <IP>; con il tuo dominio (<your-domain>) per i blocchi HTTP (porta 80) e HTTPS (porta 443):

vim /etc/nginx/sites-available/etherpad

3. Installa Certbot:

apt install -y certbot python3-certbot-nginx

4. Esegui il seguente comando per generare un certificato Let's Encrypt valido:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Sostituisci i percorsi SSL nella configurazione Nginx:

vim /etc/apache2/sites-available/etherpad
# Before:
    # ssl_certificate /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. Riavvia Nginx per applicare le modifiche:

systemctl restart nginx

7. Apri il browser e visita: https://yourdomain.com

Note

  • Etherpad è servito dietro un reverse proxy Nginx per la terminazione SSL e una maggiore sicurezza.
  • Un certificato autofirmato può generare avvisi nel browser; è un comportamento atteso, a meno che non si utilizzi Let's Encrypt.
  • Alcuni browser potrebbero mostrare errori o causare il malfunzionamento di Etherpad.
  • Etherpad è stato testato e funziona correttamente su Firefox, consigliato per la massima compatibilità.

More in Collaboration Tools

Related apps.

Deploy Etherpad now. From $2.48/mo.