如何在 Ubuntu 上安装 Etherpad Lite


你真的要寻找基于网络的记事本来与团队协作吗?. Etherpad 是一款基于网络的开源文件编辑器,它使您能够实时协作处理一个文件。通过使用 Etherpad,众多用户可以编辑文本文档。本文介绍“如何在 Ubuntu 上安装 Etherpad Lite”。

要在 Ubuntu 上安装 Etherpad Lite,它需要 Node.js 和 NPM,要安装 Node.js 和 NPM 请阅读本文 –

在 Linux 上安装 Node.js

要安装 Etherpad 支持的 Python 库,请使用以下命令 –

$ sudo apt-get install gzip curl python libssl-dev pkg-config build-essential git

示例输出应如下所示 –

Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
git is already the newest version (1:2.7.4-0ubuntu1).
gzip is already the newest version (1.6-4ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu1).
pkg-config set to manually installed.
python is already the newest version (2.7.11-1).
python set to manually installed.
curl is already the newest version (7.47.0-1ubuntu2.2).
The following packages were automatically installed and are no longer required:
   libterm-readkey-perl linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
   linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
   linux-signed-image-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
   libssl-doc zlib1g-dev
The following NEW packages will be installed:
   libssl-dev libssl-doc zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 26 not upgraded.
Need to get 2,590 kB of archives.
After this operation, 10.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4 [168 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.5 [1,344 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-doc all 1.0.2g-1ubuntu4.5 [1,078 kB]
.......................................................................................

Etherpad Lite 托管在 Git 中。要访问 Etherpad git 存储库,请使用以下命令 –

$ git clone http://github.com/ether/etherpad-lite.git

示例输出应如下所示 –

Cloning into 'etherpad-lite'...
remote: Counting objects: 28782, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 28782 (delta 4), reused 0 (delta 0), pack-reused 28772
Receiving objects: 100% (28782/28782), 18.73 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (20507/20507), done.
Checking connectivity... done.

要进入 bin 目录,请使用以下命令 –

$ cd etherpad-lite/bin

要安装 Etherpad Lite,请使用以下命令 –

/etherpad-lite/bin$ ./run.sh

要访问 Etherpad lite,请使用以下 URL –

https://:9001/

示例输出应如下所示 –

现在输入用户名并单击确定按钮。现在,它将弹出以下所示的屏幕 –

阅读完本文后,你将能够理解如何在 Ubuntu 上安装 Etherpad Lite。在我们的下一篇文章中,我们将提供更多基于 Linux 的技巧和窍门。继续关注!

更新日期: 2020 年 1 月 20 日

266 次浏览

启动您的职业生涯

通过完成课程获得认证

入门
广告
© . All rights reserved.