Note: For newer versions of NodeJS, Nginx and MongoDB, checkout their websites and update the related parts. 0.Pre-requisites run all the commands in terminal as the root user (sudo su) yum update yum install -y epel-release