How to Install Etherpad on Ubuntu Linux
Etherpad on Ubuntu Linux creates a real-time collaborative text editor.
Etherpad is a free, self-hosted program that lets many people edit a document at the same time, just like a shared online document editor. It’s great for group projects or quick note-taking.
Setting up your own Etherpad server on Ubuntu gives you complete control over your information and how it looks. This guide shows you how to install Etherpad using its official Docker image, a simple way to get a working server fast.
Install prerequisites, MariaDB, and Node.js. Then, clone Etherpad from GitHub, run npm install, and configure your database in settings.json. Finally, create a systemd service file and restart the Etherpad service.
Install prerequisites
First, update your system and install necessary helper tools.
sudo apt update sudo apt install gnupg2 git curl unzip libssl-dev pkg-config gcc g++ make build-essential
Install the MariaDB database server
Etherpad needs a database to save your work. MariaDB is a great choice.
sudo apt update sudo apt install mariadb-server sudo systemctl stop mariadb sudo systemctl start mariadb sudo systemctl enable mariadb
Setup Etherpad database
sudo mysql -u root CREATE DATABASE etherdb; GRANT ALL PRIVILEGES on etherdb.* to etheruser@localhost IDENTIFIED BY 'type_password_here'; FLUSH PRIVILEGES; exit
Install Node.js
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt install -y nodejs
Install Etherpad
To install Etherpad on Ubuntu, you’ll first create a dedicated user and then download the program files. This involves running a few commands to set up the user and get the latest Etherpad code into the correct folder on your system.
sudo useradd --system -d /opt/etherpad --shell=/bin/bash etherpad sudo install -d -m 755 -o etherpad -g etherpad /opt/etherpad cd /opt/etherpad sudo -u etherpad git clone --branch master https://github.com/ether/etherpad-lite.git cd etherpad-lite sudo -u etherpad npm install
Next, edit the settings.json file to add your database details and set trustProxy to true.
Create the Service File
Creating a systemd service file for Etherpad ensures it automatically starts when your Ubuntu server boots up. This means Etherpad will always be running and ready for use without you needing to start it manually each time.
sudo nano /etc/systemd/system/etherpad.service
Paste this template:
[Unit] Description=Etherpad-lite After=syslog.target network.target [Service] Type=simple User=etherpad Group=etherpad WorkingDirectory=/opt/etherpad/etherpad-lite Environment=NODE_ENV=production ExecStart=/usr/bin/node src/node/server.js Restart=always [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload sudo systemctl start etherpad sudo systemctl enable etherpad
Configure Nginx and SSL
To make your Etherpad faster and more secure, you’ll configure Nginx and set up SSL using Let’s Encrypt. Nginx will handle incoming requests and direct them to Etherpad, while SSL keeps the connection private for all users.
sudo apt install nginx certbot python3-certbot-nginx
Create your Nginx config file:
sudo nano /etc/nginx/sites-available/etherpad.conf
Add your proxy settings:
upstream etherpad {
server localhost:9001;
}
server {
listen 80;
server_name etherpad.example.com;
location / {
proxy_pass http://etherpad;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}Enable the site and get your certificate:
sudo ln -s /etc/nginx/sites-available/etherpad.conf /etc/nginx/sites-enabled/ sudo systemctl restart nginx sudo certbot --nginx -d etherpad.example.com
Access Etherpad portal
Open your web browser and go to your domain name. You will see the welcome page.

Begin using Etherpad
You can now create new pads or open existing ones to start collaborating.

Reference: https://etherpad.org/
[Unit] [Service] [Install]
Can I self-host Etherpad?
You can install Etherpad locally on Linux, MacOS, and Windows. There are public sites that host Etherpad so that you and your team can use it without setting up your server.
What is Etherpad used for?
Etherpad (previously known as EtherPad) is an open-source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits in real-time, with the ability to display each author's text in their own color.
How do I embed an Etherpad?
You can easily embed your etherpad-lite into any webpage by using iframes. You can configure the embedded pad using embed parameters.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!