Skip to content
  • Stuff
  • Travel
  • Beverages
  • Support Antipaucity
  • Projects
  • About

antipaucity

fighting the lack of good ideas

setting-up etherpad in centos 6

Posted on 8 May 201411 October 2016 By antipaucity 7 Comments on setting-up etherpad in centos 6

To add to my tutorial collection, here’s how to setup EtherPad on CentOS 6 (x64). As in the IRC tutorial, I used a Digital Ocean VM for this 🙂

What is EtherPad? It’s an open-source collaborative text editor that works like Google Docs – ie, all editors/viewers can see changes from everyone else in realtime.

Here’s how I did it: (props to the EtherPad docs and this other tutorial on Node.js)

  • acquire a CentOS server – I used Digital Ocean
  • make sure you have enough swap space (if you use the smallest Digital Ocean “droplet”, you really need to give yourself 2-4G swap)
    • dd if=/dev/zero of=/swapfile bs=8192 count=524288
    • mkswap swapfile
    • swapon swapfile
    • add this line to the end of your /etc/fstab:
      • /swapfile swap swap defaults 0 0
  • run the following as root:
    • yum -y install gzip git-core curl python openssl-devel && yum groupinstall
    • yum -y install screen gcc gcc-c++ make wget curl
      • note – it’s not always called “gcc-c++”; make sure you use the correct package name for your platform
      • you can find out the correct package name by doing a `yum provides */g++` search
    • yum -y upgrade
      • bring everything up to date – it’s equivalent to `yum -y update –obsoletes`
    • adduser etherpad
    • su – etherpad
    • git clone git://github.com/ry/node.git
    • cd node && ./configure && make && make install
    • cd
    • git clone git://github.com/ether/etherpad-lite.git
    • cd etherpad-lite
    • screen bin/run.sh
  • load http://127.0.0.1:9001 in your browser (substitute the IP/DNS name of your server as appropriate – mine was http://107.170.150.57:9001)
  • for maintenance purposes, you should also do a `git pull origin` for EtherPad periodically

Some notes on the above:

  • if you already have swap space and/or don’t want to worry about it (though I recommend you do), you can skip it
  • I’ve put the `-y` option after every `yum` call presuming you really mean to run it, and you don’t care about dependencies
    • if you aren’t using a fresh server (EtherPad certainly doesn’t require it’s own), you may want to be a little more cautious about the `yum` commands 🙂
  • you should create a start-up script to ensure EtherPad is running if you need to reboot
  • the EtherPad docs have all kinds of further things you can do – this is just a “get it going and start using it” tutorial 🙂
education, technical, tutorial Tags:centos, etherpad, how-to, linux

Post navigation

Previous Post: more coolidge
Next Post: master the art of timing – law 35 – #48laws by robert greene

More Related Articles

reference materials commentary
cloud computing in easy steps by david crookes books
enable virtualization in the bios of your lenovo t450s technical
how to turn a google+ community into a quasi “mailing list” technical
sshuttle – a simple transparent proxy vpn over ssh technical
determining the ‘legitimacy’/’reliability’ of a domain technical

Comments (7) on “setting-up etherpad in centos 6”

  1. crash025 says:
    8 May 2014 at 04:07

    Maybe you could turn this into an automated script and share it via github.

  2. Warren says:
    9 May 2014 at 10:30

    Arguably, it’s ready to go now 🙂

    Putting it on github wouldn’t really help those who might want to run it via a git clone, given that one of its own steps is to instal git =D

  3. crash025 says:
    9 May 2014 at 12:35

    You don’t have to have git already installed to get something off of github. They have “raw” view modes”

    See the usage for this: https://github.com/reddit/reddit/wiki/reddit-install-script-for-Ubuntu

  4. Warren says:
    9 May 2014 at 02:38

    I realize – it’s how I solved the Puppet Labs tech interview prescreen

  5. Pingback: antipaucity » why do i use digital ocean?
  6. Pingback: fallocate vs dd for swap file creation | antipaucity
  7. Pingback: antipaucity » create your own clustered cloud storage system with moosefs and pydio

Comments are closed.

May 2014
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr   Jun »
RSS Error: WP HTTP Error: cURL error 60: SSL: no alternative certificate subject name matches target hostname 'paragraph.cf'

Books

  • Debugging and Supporting Software Systems
  • Storage Series

External

  • Backblaze
  • Cirkul
  • Fundrise
  • Great Big Purple Sign
  • Password Generator
  • PayPal
  • Tech News Channel on Telegram
  • Vultr
  • Wish List

Other Blogs

  • Abiding in Hesed
  • Chris Agocs
  • Eric Hydrick
  • Jay Loden
  • Paragraph
  • skh:tec
  • Tech News Channel on Telegram
  • Veritas Equitas

Profiles

  • LinkedIn
  • Server Fault
  • Stack Overflow
  • Super User
  • Telegram
  • Twitter

Resume

  • LinkedIn
  • Resume (PDF)

Services

  • Datente
  • IP check
  • Password Generator
  • Tech News Channel on Telegram

Support

  • Backblaze
  • Built Bar
  • Cirkul
  • Donations
  • Fundrise
  • PayPal
  • Robinhood
  • Vultr
  • Wish List

35-questions 48laws adoption automation blog blogging books business career centos cloud community documentation email encryption facebook google history how-to hpsa ifttt linux money networking politics prediction proxy review scifi security social social-media splunk ssl startup storage sun-tzu tutorial twitter virtualization vmware wordpress work writing zombie

Copyright © 2025 antipaucity.

Powered by PressBook Green WordPress theme