<\/span><\/h2>\r\n\r\n\r\n\r\nFirst, log in to your Ubuntu 20.04 server via SSH as the root user:<\/p>\r\n\r\n\r\n\r\n
ssh root@IP_Address -p Port_number<\/pre>\r\n\r\n\r\n\r\nYou will need to replace \u2018IP_Address\u2018 and \u2018Port_number\u2018 with your server\u2019s respective IP address and SSH port number. Additionally, replace \u2018root\u2019 with the username of the admin account if necessary.<\/p>\r\n\r\n\r\n\r\n
Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\r\n\r\n\r\n\r\n
apt-get update -y\r\napt-get upgrade -y<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 2: Install the Required Packages<\/span><\/h2>\r\n\r\n\r\n\r\nFirst, you will need to install all dependencies required to install Etherpad in your server. You can install all of them with the following command:<\/p>\r\n\r\n\r\n\r\n
apt-get install libssl-dev pkg-config git gcc g++ make build-essential gnupg2 -y<\/pre>\r\n\r\n\r\n\r\nOnce all the packages are installed, you will need to install Node.js in your system. At the time of writing this tutorial, the latest version of Node.js is 14.15.0. By default, Node.js is not available in the Ubuntu 20.04 standard repository. So you will need to install the Node.js repository to your system. You can add the Node.js repository with the following command:<\/p>\r\n\r\n\r\n\r\n
curl -sL https:\/\/deb.nodesource.com\/setup_14.x -o nodesource_setup.sh\r\nbash nodesource_setup.sh<\/pre>\r\n\r\n\r\n\r\nOnce the repository is added, install the Node.js with the following command:<\/p>\r\n\r\n\r\n\r\n
apt-get install nodejs -y<\/pre>\r\n\r\n\r\n\r\nAfter installing Node.js, verify the installed version of Node.js with the following command:<\/p>\r\n\r\n\r\n\r\n
node -v<\/pre>\r\n\r\n\r\n\r\nYou should get the following output:<\/p>\r\n\r\n\r\n\r\n
v14.15.0\r\n<\/pre>\r\n\r\n\r\n\r\n