> How to deploy a django project using gunicorn and nginx. Also to add ssl certificate from certbot

Django gives a local server but this is not a recommended solution for production environment… For this we’ll use nginx+gunicorn to make it more fault tolerant and robust.

How to create your own django project?

  • Create a directory and a virtual environment in it
mkdir dummyproj && cd dummyproj
python3 -m venv newenv
source newenv/bin/activate
  • Install Django.

> What is python and how can you learn it?

What is python??

Python is a easy to learn and a very powerful interpreted, high-level and general-purpose language.

What does this even mean?

  1. Interpreted - Ahh... Did I say "Interpreted"? Actually python does both. It first compile the code into "byte-code" and then Interprets the byte-code to perform what it was programmed for…

How your x86 program starts up in linux

In this blog, I will assume that you have basic understanding of assembly language. If not, then you should consider learning it. Although I’ll try to explain things in the easiest terms as possible.

Basic C program

Let’s start with a basic C program…

CODE: (Saving it with simple.c)

#include <stdio.h>

int main()
{…

Using TFsec tool

What is Terraform?

Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services. Terraform codifies cloud APIs into declarative configuration files. (Source →Terraform.io)

Basically, we use terraform tool to provision cloud services from CLI using the code.

But can…

Privilege escalation is the act of exploiting a bug, design flaw or configuration oversight in an operating system or software application to gain elevated access to resources that are normally protected from an application or user.

It is just to understand the basic fact that a user can not access…

host-based intrusion detection system (HIDS) for checking the integrity of files

Advanced Intrusion Detection Environment (AIDE) is a host-based intrusion detection system (HIDS) for checking the integrity of files. It does this by creating a baseline database of files on an initial run, and then checks this database against the system on subsequent runs. File properties that can be checked against…

Linux Unified Key Encryption — Disk Encryption

cryptsetupmanage plain dm-crypt and LUKS encrypted volumes

cryptsetup <OPTIONS> <action> <action-specific-options> <device> <dmname>

An encrypted blockdevice is protected by a key. A key is either:

  • a passphrase
  • a keyfile

What the..?

Ok.. If you are new to encryption world, then it’s time to get a bit familiar data encryption.

There…

Getting started with Augmented Reality in Flutter using ARCore

What Is Augmented Reality?

According to Wikipedia,

Augmented reality is an interactive experience of a real-world environment where the objects that reside in the real world are enhanced by computer-generated perceptual information, sometimes across multiple sensory modalities, including visual, auditory, haptic, somatosensory and olfactory.

The basic idea of augmented reality is to superimpose graphics…

MLops for beginners

What is S2I? Why you need it? How can you use it to leverage the power of complete devops life-cycle?

In my previous few articles, We have seen multiple tools that helps to complete the devops lifecycle. S2I is yet another tool that helps in achieving the same .

As the name suggests, S2I is a framework that helps us to build docker images directly from the source code!! It…

Rishabh Umrao

Connecting the dots and rest is magic. https://ayedaemon.github.io/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store