Install etherpad-lite in squeeze¶
sudo aptitude install gzip git-core curl python libssl-dev pkg-config build-essential
sudo adduser --disabled-login --no-create-home etherpad-lite
git clone https://github.com/Pita/etherpad-lite.git
sudo mv etherpad-lite /usr/local
sudo chown -R etherpad-lite. /usr/local/etherpad-lite
sudo mkdir /var/log/etherpad-lite
sudo chown etherpad-lite. /var/log/etherpad-lite
wget http://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz
tar -xvzf node-v0.6.15.tar.gz
cd node-v0.6.15
./configure && make
sudo make install
cd /usr/local/etherpad-lite
sudo bin/installDeps.sh
sudo -u etherpad-lite bin/run.sh
sudo vim /etc/init.d/etherpad-lite
# add the text in https://github.com/Pita/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service
# and replace EPLITE_DIR with our path
EPLITE_DIR="/usr/local/etherpad-lite"
sudo chmod +x /etc/init.d/etherpad-lite
update-rc.d etherpad-lite defaults
Install etherpad-lite in sid¶
sudo aptitude install gzip git-core curl python libssl-dev pkg-config build-essential
sudo adduser --disabled-login --no-create-home etherpad-lite
git clone https://github.com/Pita/etherpad-lite.git
sudo mv etherpad-lite /usr/local
sudo chown -R etherpad-lite. /usr/local/etherpad-lite
sudo mkdir /var/log/etherpad-lite
sudo chown etherpad-lite. /var/log/etherpad-lite
sudo aptitude install nodejs npm
cd /usr/local/etherpad-lite
sudo bin/installDeps.sh
sudo -u etherpad-lite bin/run.sh
sudo vim /etc/init.d/etherpad-lite
# add the text in https://github.com/Pita/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service
# and replace EPLITE_DIR with our path
EPLITE_DIR="/usr/local/etherpad-lite"
sudo chmod +x /etc/init.d/etherpad-lite
update-rc.d etherpad-lite defaults