Diskon 50%. semua paket, waktu terbatas. Mulai dari $2.48/mo
papan eter

papan eter

Etherpad adalah editor dokumen kolaboratif waktu nyata. Alternatif Google Docs untuk teks biasa dengan riwayat versi, obrolan sebaris, dan perbedaan revisi. Sumber terbuka, digunakan di Wikipedia, Mozilla, dan Komisi Eropa. Referensi server kolaborasi teks real-time.

Versi

Terbaru

Sistem Operasi

Ubuntu Server 24.04 LTS

Minimal. RAM

2 GB

Jenis IP

IPV4

Akses Etherpad

  • Antarmuka pengguna: https://<SERVER_IP>
  • Antarmuka admin: https://<SERVER_IP>/admin
  • Kredensial admin: Nama pengguna admin, kata sandi disimpan di .env as ADMIN_PASSWORD

Tambahkan Pengguna melalui Pengaturan Admin

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

2. Buka Pengaturan.

3. File konfigurasi JSON akan ditampilkan.

4. Temukan users bagian:

  "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. Tambahkan pengguna baru (ikuti sintaks JSON yang valid):

  "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. Klik Simpan Pengaturan.

7. Klik Mulai Ulang Etherpad.

File dan Direktori Penting

  • Instalasi aplikasi: /root/etherpad
  • File Docker Compose: /root/etherpad/docker-compose.yml
  • Variabel lingkungan: /root/etherpad/.env
  • Data basis data PostgreSQL: /var/lib/docker/volumes/etherpad_postgres_data/_data
  • Data waktu proses Etherpad: /var/lib/docker/volumes/etherpad_etherpad-var/_data
  • Direktori plugin: /var/lib/docker/volumes/etherpad_plugins/_data
  • Konfigurasi Nginx: /etc/nginx/sites-available/etherpad
  • Sertifikat SSL: /etc/nginx/ssl/

Manajemen Layanan

Daftar wadah:

docker ps

Mulai ulang kontainer:

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

Ikuti log Etherpad:

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

Mulai ulang Nginx:

systemctl restart nginx

Mengaktifkan SSL dengan Domain

1. Arahkan domain kamu ke IP server.

2. Edit konfigurasi Nginx dan ganti kedua server_name <IP>; dengan domainmu (<your-domain>) untuk blok HTTP (port 80) dan HTTPS (port 443):

vim /etc/nginx/sites-available/etherpad

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. Jalankan perintah berikut untuk membuat sertifikat Let’s Encrypt yang valid:

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

5. Ganti path SSL di konfigurasi 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. Restart Nginx untuk menerapkan perubahan:

systemctl restart nginx

7. Buka browser dan kunjungi: https://yourdomain.com

Catatan

  • Etherpad disajikan di belakang proxy balik Nginx untuk penghentian SSL dan peningkatan keamanan.
  • Sertifikat yang ditandatangani sendiri dapat memicu peringatan browser; ini diharapkan kecuali Let's Encrypt digunakan.
  • Beberapa browser mungkin menampilkan kesalahan atau menyebabkan Etherpad tidak berfungsi dengan benar.
  • Etherpad telah diuji dan dikonfirmasi berfungsi di Firefox, yang direkomendasikan untuk kompatibilitas terbaik.

Lebih banyak di Collaboration Tools

Aplikasi terkait.

Terapkan Etherpad sekarang. Mulai $2,48/bln.