Difference between revisions of "Mesh/SudoPad"

89 bytes added ,  11:35, 12 July 2018
no edit summary
Line 17: Line 17:
   sudo adduser --system --home=/opt/etherpad --group etherpad-lite
   sudo adduser --system --home=/opt/etherpad --group etherpad-lite
2. Install prequistes, some of these may already be installed, but it is always good to check that they are up-to-date,
2. Install prequistes, some of these may already be installed, but it is always good to check that they are up-to-date,
   sudo apt-get update
   sudo apt update
   sudo apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
   sudo apt install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
3. Next, you'll need to install Node.JS and NPM, (someone please confirm steps for install node js, i think it was already installed)
3. Next, you'll need to install Node.JS and NPM, (someone please confirm steps for install node js, i think it was already installed)
   sudo add-apt-repository ppa:chris-lea/node.js
   curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
   sudo apt-get update
   export NVM_DIR="$HOME/.nvm"  # or you can close and reopen your terminal before using nvm
   sudo apt-get install nodejs
   nvm install 7.10
4. Install and test etherpad-lite with following command,
4. Install and test etherpad-lite with following command,
   sudo su - etherpad-lite -s /bin/bash  
   sudo su - etherpad-lite -s /bin/bash  
95

edits