50% 할인 모든 플랜, 기간 한정. 시작 가격 $2.48/mo
Etherpad

Etherpad

Etherpad는 실시간 협업 문서 편집기입니다. 버전 히스토리, 인라인 채팅, 변경 내역 비교를 지원하는 일반 텍스트 기반의 Google Docs 대안입니다. 오픈소스로 제공되며 Wikipedia, Mozilla, 유럽 의회에서 사용 중인 실시간 텍스트 협업 서버의 기준입니다.

버전

최신

운영 체제

Ubuntu Server 24.04 LTS

최소 RAM

2 GB

IP 유형

IPv4

Etherpad 접근

  • 사용자 인터페이스: https://<SERVER_IP>
  • 관리자 인터페이스: https://<SERVER_IP>/admin
  • 관리자 계정: 사용자 이름 admin암호가 저장됨 .env as ADMIN_PASSWORD

관리자 설정에서 사용자 추가하기

1. 방문: https://<SERVER_IP>/admin

2. 설정으로 이동합니다.

3. JSON 설정 파일이 표시됩니다.

4. 위치 찾기 users 섹션:

  "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. 새 사용자를 추가합니다 (올바른 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. 설정 저장을 클릭합니다.

7. Etherpad 재시작을 클릭합니다.

중요한 파일과 디렉토리

  • 애플리케이션 설치: /root/etherpad
  • Docker Compose 파일: /root/etherpad/docker-compose.yml
  • 환경 변수: /root/etherpad/.env
  • PostgreSQL 데이터베이스 데이터: /var/lib/docker/volumes/etherpad_postgres_data/_data
  • Etherpad 런타임 데이터: /var/lib/docker/volumes/etherpad_etherpad-var/_data
  • 플러그인 디렉토리: /var/lib/docker/volumes/etherpad_plugins/_data
  • Nginx 설정: /etc/nginx/sites-available/etherpad
  • SSL 인증서: /etc/nginx/ssl/

서비스 관리

컨테이너 나열:

docker ps

컨테이너 다시 시작:

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

Etherpad 로그 확인하기:

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

Nginx 재시작:

systemctl restart nginx

도메인으로 SSL 활성화

1. 도메인을 서버 IP로 지정하세요.

2. Nginx 설정 편집 및 둘 다 교체 server_name <IP>; 도메인으로 (<your-domain>) HTTP (포트 80)와 HTTPS (포트 443) 블록 모두:

vim /etc/nginx/sites-available/etherpad

3. Certbot 설치:

apt install -y certbot python3-certbot-nginx

4. 다음 명령을 실행하여 유효한 Let's Encrypt 인증서 생성:

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

5. Nginx 설정의 SSL 경로 교체:

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. Nginx 재시작으로 변경 사항 적용:

systemctl restart nginx

7. 브라우저를 열고 방문: https://yourdomain.com

메모

  • Etherpad는 SSL 종료 및 보안 강화를 위해 Nginx 리버스 프록시 뒤에서 서비스됩니다.
  • 자체 서명 인증서를 사용하면 브라우저 경고가 표시될 수 있습니다. Let's Encrypt를 사용하지 않는 경우 이는 정상입니다.
  • 일부 브라우저에서는 오류가 발생하거나 Etherpad가 올바르게 작동하지 않을 수 있습니다.
  • Etherpad는 Firefox에서 테스트 및 정상 작동이 확인되었습니다. 호환성을 위해 Firefox 사용을 권장합니다.

협업 도구의 더 보기

관련 앱.

지금 Etherpad를 배포하세요. 월 $2.48부터.