2023年2月26日日曜日

Debian 11(Bullseye)にEtherpad-liteをインストールする

Etherpad-liteでブラウザ上で同時に複数ユーザが文書を編集する事ができます。文書の編集の他、シンプルなチャット機能も付いているので相談しながら共同作業が可能です。

〇Etherpad-liteの画面(Debian 11 Bullseye)

Etherpad-liteのインストール

以下のコマンドを実行します。
sudo apt-get update

sudo apt-get -y install curl git

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

sudo apt-get -y install nodejs

cd /opt

sudo git clone --branch master https://github.com/ether/etherpad-lite.git

cat << EOF | sudo tee /etc/systemd/system/etherpad-lite.service
[Unit]
Description=etherpad-lite
[Service]
Type=simple
ExecStart=/opt/etherpad-lite/bin/run.sh --root
WorkingDirectory=/opt/etherpad-lite
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF

sudo systemctl enable etherpad-lite.service

sudo systemctl start etherpad-lite.service

インストールが完了したらブラウザからhttp://<ホスト名またはアドレス>:9001/ にアクセスします。
※初回起動時は初期化に時間がかかるので少々待ってください

関連情報

・Etherpad-liteのgithubリポジトリ
https://github.com/ether/etherpad-lite

0 件のコメント:

コメントを投稿