How to create a new user and provide the root or sudo privileges

Introduction: In this blog we would learn about how to create a new user and add the same user to the root group or with sudo privileges. The sudo command provides a mechanism for granting administrator privileges and how to modify sudoers group in different ways & how to login with new user in the different ways. Step 1: Open the terminal …

How to create a new partition and parted it in linux based system

Introduction In this blog we learn about how to create an new partition in our linux system and parted the new partition so that we use it. Step 1: We have to check how much disk space is currently available and to check the same we need to run a command on terminal. lsblk Step 2: If the space is …

Install and Configure Nginx as load-balancer in Linux.

Nginx is one of the powerful web servers which is used to host multiple websites or creating a reverse proxy/load-balancer or both. In most of the cases, a load-balancer is used to configure highly available web applications and to minimize the downtime due to any failure. In this blog, we are going to create a …

How to deploy Python framework application using uwsgi in Ubuntu 18.04

  Introduction  In this blog we learn to deploy a python based frameworks deployment on ubuntu 18.04 server and how to setup nginx and uwsgi application on the server. We will launch the application and configure the front-end of nginx server and back-end for the uwsgi. Prerequisites Lets started the blog you have to setup some …

How to setup a Redis cluster with Sentinel (comes with Redis) and HAProxy on Ubuntu 18.04

Redis provides high availability via Redis Sentinel distributed system. Sentinel helps to monitor Redis instances, detect failures and will do roles switches automatically thus enabling a Redis deployment to resist any kind of failures. Redis – A fast key/value storage engine Sentinel – Keeps track of Master/Slave machines and promotes and demotes them when VMs go down or go offline HAProxy – A proxy …