These are steps to change your http routes to https.

Step1. Go to this url and download the zip installer from here ( nginx: download ) and unzip it.

Step 2. Generate the certificate for your machine. Take reference from here.

djay21/Nginx-reverse-proxy (

Step 3. Copy your certsin your windows machine, if created from another machine and paste it on the nginx folder (root location).

Step 4. Update your ~/nginx/conf/nginx.conf file with this one. Replace localhost with your dns name and proxy_pass url with your local base url on which your application is working.

#user nobody; worker_processes 1; events {…

This post will describe an easy way to manage your Azure storage data through a simple tool that is available in Linux, MAC os, and Windows.

You can download the one according to your operating system through this URL.

After successful download, click to install

For Windows,

Accept the terms and click Install:

Click Next:

Most people often find it difficult to set up docker and configure it when running behind any proxy server, if you’re trying to run Docker without having direct access to the web you have to configure the docker daemon to use a proxy server. Without it, you won’t be able to pull or push any image.

The image above is for windows docker proxy settings and you will have the same settings with the Linux servers as well, with the steps mentioned below.

I see a lot of tutorials on the internet describing how to apply the proxy in the…

You will get to see a lot like this error while working with docker and the VM/Servers that are running behind some proxy or managed by your organization.

Assuming you have the certificate issued by your IT team.

The following steps will help you get rid of this problem :

  1. Convert to .crt openssl x509 -inform DER -in certificate.cer -out certificate.crt
  2. Make extra directory sudo mkdir /usr/share/ca-certificates/extra
  3. Copy certificates over sudo cp certificate.crt /usr/share/ca-certificates/extra/certificate.crt
  4. sudo update-ca-certificates
  5. If not, then you have to do what I did, go to sudo nano /etc/ca-certificates.conf
  6. Scroll down and find your .cer and remove the…

In this post, we will talk about how to configure your applications to run as a system service in Linux.

STEP 1. Make a backoffice.service file in /etc/systemd/system/ directory.

Description= Back office service
ExecStart=/usr/bin/env node /path/to/server/app.js


STEP 2. Run this command to make your daemon aware of your application.

systemctl daemon-reload

STEP 3. Run this command to start your application.

systemctl start backoffice
systemctl enable backoffice

STEP 4. Check your application as a service

service backoffice status
journalctl -u backoffice

You can also use other services such as nohup, forever, pm2, etc. to configure your application or you can use Linux crontab as well to make your application available all the time.

This post is about how to install different node js version or node version manager for different flavors of Linux (Ubuntu/Debian/Centos/Redhat) systems.

Node.js v14.x:

#Using Ubuntu
curl -sL | sudo bash -
sudo apt-get install -y nodejs
# Using Centos with No root privileges
curl -sL | sudo bash -
# Using centos with LTS version
curl -sL | bash -

Node.js v13.x:

# Using Ubuntu
curl -sL | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL | bash -
apt-get install -y nodejscurl -o-

In this post, we will be discussing how to integrate our Gitlab Server with keycloak.


Keycloak server:

GITLAB server:

NOTE: For GITLAB & KEYCLOAK SETUP, follow the below mention links.

STEP 1. Create a SAML Client in Keycloak.

Our realm name is Devops. Yours can be different. So change Devops with your own realm name wherever possible.

GitLab is an important DevOps lifecycle tool that provides a Git-repository manager providing wiki, issue-tracking, and also it acts as a Continous Integration server providing various deployment pipeline features like creating your own runner, integrating docker registry with GitLab etc.

sudo docker run --detach --hostname 
--publish 80:80
--publish 22:22
--publish 443:443
--name gitlab-linode
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
--env GITLAB_OMNIBUS_CONFIG="external_url '';" gitlab/gitlab-ee:latest

Hostname: Your server DNS name.

GITLAB_OMNIBUS_CONFIG: Your server DNS name followed by http

GitLab-ee:latest: It is the Gitlan Enterprise Edition docker image.

After running this command, browse to your server address you will prompt…

Keycloak is an Open Source Identity and Access Management solution for modern Applications and Services. It is used to add authentication and user authorization.

To setup keycloak Service, follow these steps:-

#Download the archive.


#Unzip this archieve

unzip keycloak*

#Open Bin folder and run this command to start the keycloak server.

cd keycloak/bin &&

./ -b -Djboss.socket.binding.port-offset=109

#Open another terminal to configure keycloak server to set credentials as well as to run without ssl.

./ — realm master — user admin — password adminPassword

admin will be the username of the master realm and adminpassword is the…

Openshift Commands

Openshift Login and Configuration

#login with a user
oc login -u developer -p developer
oc login --token=<token> --server=
#login as system admin
oc login -u system:admin
#User Information
oc whoami
oc whoami -t -> get token
#View your configuration
oc config view

Basic Commands

# list all project
oc projects
# using project
oc project <myproject>
#Use specific template
oc new-app --template=<template>

#New app from a different branch
oc new-app --name=node-dev

#Create objects from a file:
oc create -f myobject.yml -n <myproject>
oc process -f myobject.yml | oc create -f -
#Create or merge objects from file oc apply -f myobject.yaml…

Dheeraj kumar

A DevOps who is passionate about Autom@tion.

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