如何安装etherpad

不是很难的教程,不过很想吐槽windows双击就能运行,而linux需要自己装几个东西才行的这个蛋疼的事情。。。淦。。。
1、安装:
这里有部分教程:https://github.com/ether/etherpad-lite#installation
在这里我是debian 就选择:

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

然后你需要一个nvm来安装指定的版本(node v0.10.x)

git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`

然后

vim ~/.bashrc

把这一行添加到末尾

source ~/.nvm/nvm.sh

:wq保存退出,然后关了SSH重开一下
然后安装node v0.10.37:

nvm install v0.10.37

 
接着确认一下版本是否是我们需要的

node --version

提示 v0.10.37 安装成功
接着从git上拉下来etherpad

git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite/bin/

启动应用:

./run.sh --root

 
教程就此完成,访问方式为:http://你的IP:9001/
简单的玩法就是这样,当然etherpad还支持mysql等高端玩法,由于我这里没有这个需求,所以暂时意义不大,有兴趣和有需求的话可以搜搜其他教程

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注