Skip to main content

prerequisites

Prerequisites

  • Nginx >= 1.14.0
apt update && apt install nginx-full
  • Mongodb >= 3.2

MongoDB 4.x Installation Guide.

Console command:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
systemctl start mongod
systemctl enable mongod
  • Node.js v14.x

NodeJS 14.x installation:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs (edited)
  • NPM >= 6.3.0
npm i -g npm
  • PM2 >= 3.0.3
npm i -g pm2
  • ZIP/UNZIP
sudo apt-get install zip
sudo apt-get install unzip
  • GCC Compiler
sudo apt-get install build-essential