How to Install Etherpad Lite on Ubuntu
您是否真的在寻找基于Web的记事本与团队合作? Etherpad是基于Web的开放供应文件编辑器,它使您可以实时协作处理文件。使用Etherpad,一群用户可以编辑文本内容记录。本文介绍了有关"如何在Ubuntu上安装Etherpad Lite"的内容。
要在Ubuntu上安装Etherpad Lite,它需要Node.js和NPM,要安装Node.js和NPM,请阅读本文–
在Linux上安装Node.js
要为Etherpad安装受支持的Python库,请使用以下命令-
1 | $ sudo apt-get install gzip curl python libssl-dev pkg-config build-essential git |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 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存储库,请使用以下命令–
1 | $ git clone http://github.com/ether/etherpad-lite.git |
样本输出应如下所示–
1 2 3 4 5 6 7 | 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目录,请使用以下命令–
1 | $ cd etherpad-lite/bin |
要安装Etherpad Lite,请使用以下命令-
1 | /etherpad-lite/bin$ ./run.sh |
要访问Etherpad lite,请使用以下URL –
1 | http://localhost:9001/ |
样本输出应如下所示–
现在输入用户名,然后单击确定按钮。现在它将显示如下屏幕–
After this article, you will be able to understand How to install Etherpad Lite on Ubuntu. In our next articles, we will come up with more Linux based tricks and tips. Keep reading!