How to Install Etherpad Lite on Ubuntu 20.04 LTS – H2S Media

Learn the steps to install and use Etherpad on Ubuntu 20.04 focal fossa /18.04 Bionic Beaver LTS/ Debian Linux distros for a free and open-source collaborative text editor.

EtherPad is a real-time collaborative web-based text editor in which several people can conveniently work together online on a document. It is an open-source web application, hence doesn’t need to pay anything. The application is scalable to thousands of simultaneous real-time users. It provides full data export capabilities, and runs on your server, under your control.

You can think about having your own Google Docs-like service but with plugins, support to extend the application capabilities. You can simply invite new users with the integrated share function or send them the link to the document via email.

Avoid annoying compatibility problems with the free EtherPad web app. In contrast to Google’s service Google Docs, for example, you do not need an account with the manufacturer to use the web app. Registration is no longer necessary, which makes working together even easier.

An Etherpad is created on the Internet by specifying a title on the corresponding page, the generated link is used to access the pad, including the editing function. The nice thing about working on an Etherpad is that the participants can be assigned a color so that you can see who wrote what. You also have a kind of ‘control function’ for the development of the pad through the clock symbol. Once clicked, all changes to the pad can be viewed in time-lapse. The editors of the document can communicate with one another via an integrated chat function.

 Key Features:

  • Rich Editing
  • Minimalist editor
  • Dark Mode
  • Image support within a pad using a plugin.
  • Video Chat
  • Collaboration++
  • Document Analysis –
  • Scaleable  – Scale to ∞ number of Active Pads with up to ~20,000 edits per second, per pad.

Steps to install to Etherpad Lite on Ubuntu 20.04 or 18.04 LTS

1. Perform system update & add Git

If you haven’t updated your system yet, then run it once to refresh the system repository cache and update the installed packages.

sudo apt update
sudo apt upgrade

Also, Install Git

sudo apt install git -y

2. Install NodeJs on Ubuntu 20.04 or 18.04

Along with git, to install Etherpad we also need to have Nodejs on our Ubuntu system. Hence to install the latest version of Nodejs run the below-given commands:

Add Nodejs repository

curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -

Installation

After adding the repository, let’s install its packages

sudo apt install -y nodejs

3. Install MariaDB server

By default, the Etherpad will save the data in a plain-text file, so to improve the security let use the MariaDB database server,

sudo apt install mariadb-server -y

Create Database:

sudo mysql
create database etherpad_db;
grant all privileges on etherpad_db.* to h2suser@localhost identified by 'password'; flush privileges;
exit;

Note: Change the database name, user, and password in the above command that you want to set.

4. Add a dedicated user

For safety just create a non-sudo user.

adduser ether

Now, switch to your newly created user:

su ether

5. Clone Etherpad files using Git

Download the required files we need to run the Etherpad on our Ubuntu server. And for that just use the git that will directly clone the file on your system.

git clone --branch master https://github.com/ether/etherpad-lite.git

6. Install Etherpad Lite in Ubuntu 20.04 or Debian

Once the cloning of files is completed switch to the directory and run the installation script under standard user, not root.

cd etherpad-lite
export NODE_ENV=production
src/bin/run.sh

Install Etherpad on Ubuntu 20.04

Once you get the below-like screenshot, stop the server by pressing Ctrl+C.

Stop Etherpad Server

7. Set Database, username, a password for Etherpad

As we have created a dedicated MySQL database, thus we will use that one and also change the default admin password for the Etherpad instance.

Edit the settings.json

nano etherpad-lite/settings.json

Find the line and add /* & */ symbols to comment the lines out as shown in the screenshot

/*

"dbType" : "dirty", "dbSettings" : { "filename" : "var/dirty.db"
},
*/

Comment default Database

Also, remove the symbol /* and the symbol */ given at the beginning and end of the MYSQL lines.

Disable default plain DB of ether Lite

After that add the Database values such as user, database name, and password you have created in the MariaDB section.

Add Database values for Etherpad

Also, find and set the trustProxy value to true, if a reverse proxy is performing as SSL, otherwise leave it to default.

 "trustProxy": true,

Set Trust proxy

Find and Enable Authentication by changing "requireAuthentication": false, value from false to true.

Enable Authentication

Next, find the user section, remove the /* and */ symbols and then change the password of the admin user.

  Change Admin Password Etherpad

Save the file by pressing Ctrl+O, hit the Enter key, and then Ctrl+X to exit.

Install dependencies:

./bin/installDeps.sh

Exit etherpad user

exit

8. Create Service file to run Etherpad in background

Create a service file

sudo nano /etc/systemd/system/etherpad.service

Add the following lines:

[Unit]
Description=Etherpad-lite, the collaborative editor.
After=syslog.target network.target [Service]
Type=simple
User=ether Group=ether WorkingDirectory=/etherpad-lite
Environment=NODE_ENV=production ExecStart=/usr/bin/node /etherpad-lite/src/node/server.js Restart=always [Install]
WantedBy=multi-user.target

Save the file by press Ctrl+O, hit the Enter key, and the exit – CTRL+X.

Reload daemon:

sudo systemctl daemon-reload

Start and enable Etherpad service

sudo systemctl start etherpad
sudo systemctl enable etherpad

Check the status of the service to confirm

systemctl status etherpad

9. Access web interface

By default, the Etherpad Lite will run on the 9001 port number, hence open your browser and type your server address with port 9001.

Don’t forget to allow the port in the firewall

sudo ufw allow 9001

Etherpad Lite installation on Ubuntu 20.04 Server Etherpad lite interface

Other Articles:

10 Best Linux distro based on Ubuntu for laptops or PC 2021
How to install npm and nodejs 14. x on Kali Linux
How to enable ssh on Ubuntu 20.04 LTS
How to install WHM & CPanel on Ubuntu
Install i3 Window manager on Ubuntu

Source of this news: https://www.how2shout.com/linux/how-to-install-etherpad-lite-on-ubuntu-20-04-lts/

Related posts:

Proxy Vs. VPN: What’s The Difference? - Forbes
VPNs and proxies both obscure your internet protocol (IP) address, making it seem as though you are browsing from a different location. However, while they may have some similar benefits (like spoofi...
Ebooks, books that mattered to me this winter - The Cancer Flex letter
Skip for navigation Skip to content Subscription Change Our change will be effective at once and your card will be recharged a prorated amount dependent upon your ex...
Learn how to Fix 'Some Websites Must not Opening' Issue in Browser cash BollyInside
This skill tutorial is about the Approach to Fix ‘Some Websites Definitely Opening’ Issue in Browser. I would like to try our best so that you understand this facts. I hope you like this blog H...
Maryland businessman bids $650 million for all of Tribune, including The Baltimore Sun - Baltimore S...
Bainum subsequently made his bid for the whole company on March 16, Tribune Publishing said in the SEC filing. In addition to Baltimore Sun Media, which includes the Capital Gazette in Annapolis, Ca...
How to Connect to a Proxy Server - Alphr
How to Connect to a Proxy Server Proxy servers are beneficial because they act as mediators between your computer and the internet. They make online requests for you...
404 and 503 errors: Cracking the HTTP status codes - CNET
404 is a common sign that the page cannot be found on the web.  CNET It was Feb. 16 and I had two alarms set on my phone for Beyoncé's Formation tour tickets. As they were bound to sell out in ...
Dallas Invents: 135 Patents Granted for Week of Sept. 7 » Dallas Innovates - dallasinnovates.com
Dallas Invents is a weekly look at U.S. patents granted with a connection to the Dallas-Fort Worth-Arlington metro area. Listings include patents granted to local assignees and/or those with a N...
A pre‐systematic review on the use of masks as a protection material for SARS‐COV‐2 during the COVID...
PubMed 16 To evaluate the effectiveness of protective equipment (UK)12 Effectiveness of protective equipment 1 volunteer (healthy) Three tests: Hat, goggles, mask and gown (Test 1); Hat, gogg...
Amazon Prime Video VPN error still troubling users despite being fixed - PiunikaWeb
Amazon Prime Video is among the top streaming services across the globe. It is offered both as part of the Prime subscription and a standalone service. While Prime Video has a pretty decent user base...
An ‘internet civil war’ has erupted in Russia - Aljazeera.com
When Evgeny first heard that Russia’s communications censor Roskomnadzor was going to block the popular messenger app Telegram, it brought to mind a Soviet-era slogan. The Communist Party said: “It m...
Microsoft-exchange Servers Hacked by Contemporary Ransomware Gang via ProxyShells Vulnerabilities—Ho...
Microsoft Exchange's servers currently being hacked by the new ransomware group that goes by the information LockFile via the ProxyShell vulnerabilities that were recently discovered. (Photo: by...
Telegram privacy features: The 10 features you need to use - The Indian Express
Telegram is a very popular messaging app right now and has managed to become the most downloaded non-gaming app for January 2021, according to Sensor Tower. The app saw 63 million downloads in Januar...
Database Security Best Practices: The Essential Guide - Security Intelligence
Database Security Best Practices: The Essential Guide <!-- --> In 2021, an F-35 fighter jet is m...
Chauhan releases YARP 1 . 0 reverse proxy built all over. NET • DEVCLASS the aim DevClass
Microsoft company has announced the release together with YARP 1 . 0, outlined by the software giant currently being highly customisable reverse unblock proxy built using the. NET state. A key ...
How To Fix It "Unable To Access Online Services" On Warzone - Tech News Today
Are you tired of getting the “Warzone unable to access online services” error while trying to play Call of Duty- Warzone? It can feel bothersome when you get this error, even during your stable inter...
The DDoS Threat On IoT Devices Like Routers - TheNationRoar
Source: csoonline.com Storage limitations and network capacity leave simple IoT, Internet of Things, devices such as routers highly vulnerable to cyber-criminals. Distributed Denial-of-Service, DDoS ...
Best VPN services to use in Thailand - The Thaiger
Due to a series of laws that censor websites and increase surveillance powers for local authorities, internet freedom has changed dramatically in Thailand. Over 100,000 websites are blocked in the co...
Proxy Vs VPN: Definitions And Differences – Forbes Advisor - Forbes
Editorial Note: Forbes Advisor may earn a commission on sales made from partner links on this page, but that doesn't affect our editors' opinions or evaluations. Getty VPNs and proxies both obscur...

IP Rotating Proxy Onsale

SPECIAL LIMITED TIME OFFER

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds
First month free with coupon code FREE30