How to create Python3.8 Virtual Environment

Aim When you create a Python application then there is a need to create virtual environment. Virtual environment helps you to maintain your dependencies in an isolated location. This doesn’t effect the global system dependencies. Also, using virtual environment you can have python application that supports different version of Python In this post we will […]

How to install Python3.8 on Ubuntu 18.04

Aim In this post we will be installing Python3.8 on Ubuntu-18.04 Prerequisite Ubuntu 18.04 operating system must be available Step 2 : Installing the dependencies update the apt repository sudo apt update Install the dependencies sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget Step 2 : Download the source Code You […]

How to install Redis Using Docker Compose

Aim Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. In this post we will be installing Redis and Redis Insight […]

Publish Data from Log file to Elasticsearch using Logstash

Aim Sometime we need to analyze ours logs and perform some analysis on it. We can’t perform analysis by reading the log file directly because it will be very time-consuming and the data in unstructured. In this post we will try to read log file and dump that log data into Elasticsearch using Logstash. Architecture […]

How to setup Auto Suggestions in Oh-My-ZSH shell

Aim Oh My Zsh is an open source, community-driven framework for managing your Zsh configuration. The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, […]

How to Generate fake Apache server logs

Aim Sometime there is need to generate fake Apache Server Logs. Like you want to create a big data project, so you will need a large amount of data. You can perform analysis on that data and then you can produce useful results. We will be using a Python library to generate fake Apache server […]

How to create Python2.7 Virtutal Environment

Aim When you create a Python application then there is a need to create virtual environment. Virtual environment helps you to maintain your dependencies in an isolated location. This doesn’t effect the global system dependencies. Also, using virtual environment you can have python application that supports different version of Python In this post we will […]

What is ELK Stack

Aim This post aims to understand what is elk stack and why it has become important for any developer, tester or dev-ops person to understand the working and usage of elk stack. we will understand that why there is demand of ELK stack these days ELK stands for E = Elasticsearch L = Logstash K […]

Create Data Pipeline using Kafka – Elasticsearch – Logstash – Kibana

Aim The current world is heavily dependent on data. Everyone is generating large amount. It is becoming challenge reading large amount of data and then process it and finally perform some action on that data. In this post we will be creating a data pipeline where in we will be performing three responsibilities Read data […]

Ten most important Docker commands

Aim In this post we will learn about ten most important commands used in docker world. we will look into some most frequently used commands. Prerequisite Docker must be installed on your machine. 1. List All Running Containers docker ps This command list down important information about all the running docker containers CONTAINER ID : […]

How to create a Kafka Producer in Python

Aim Kafka is becoming very important tool for creating scalable applications. Today’s world is data driven and Kafka is one of the tool works well with large data. In this post we will be writing a Kafka producer in Python. We will create a scenario of user registration and then we will push the registration […]

How to setup Kafka using docker compose

Aim In this post we will be installing Kafka using docker compose Prerequisite You need to have docker installed on your machine You need to have docker-compose installed on your machine Step 1 : Create a yaml file touch docker-compose.yaml Step 2 : Put the below contents in the docker compose file version: “3” services: […]

How to host your own Docker Registry

Aim In this post we will be hosting our own docker registry using docker compose Prerequisite Docker must be installed on your machine Docker compose must be installed on your machine Step 1 : Create a yaml file touch docker-compose.yml Step 2 : Put the following components in the above file version: “3” services: docker-registry: […]

How to install RabbitMQ using docker compose

Aim In this post we will install RabbitMQ using docker compose Prerequisite You need to have Docker installed on your machine You need to have Docker Compose installed on your machine Step 1 : Create the docker compose file touch rabbitmq-docker-compose.yml Step 2 : Create RabbitMQ service in docker compose Put following components in the […]

How to install Jenkins on Ubuntu 18.04

Aim In this post we will be installing Jenkins on Ubuntu 18.04 Prerequisite Java 8 or Java 11 must be installed on your machine Step 1 : Add the Key wget -q -O – https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add – Step 2 : Update the sources list and apt repository Open the sources file sudo […]

How to install MongoDB 3.4 on Ubuntu 18.04

Aim In this post we will be installing MongoDB 3.4 on Ubuntu 18.04 Step 1 : Add the key sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 0C49F3730359A14518585931BC711F9BA15703C6 Step 2 : Add and update the apt repository echo “deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list sudo apt update Step 3 : Install MongoDB 3.4 sudo apt-get […]

How to install docker compose on Ubuntu-18.04

Aim In this tutorial we will be installing docker compose on Ubuntu-18.04 Step 1 : Download the docker compose binary sudo curl -L “https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose If you want to install a different version then just replace the 1.26.2 in above command with the version that you want to install The location of […]

Hot to Install Docker on Ubuntu-18.04

Aim In this tutorial we will try to install Docker on Ubuntu-18.04. we will also download a Docker image and then create a container out of it. Step 1 : Uninstall any previous version of Docker sudo apt-get remove docker docker-engine docker.io containerd runc Step 2 : Update the Ubuntu Repository In this step we […]

WordPress Permalinks are not working with PostName

Aim In this post we will try to focus one of the important bugs that people get when they try to change the permalink settings of the post in WordPress. Step 1 : Create a .htaccess Create a .htaccess file in the root directory of your WordPress webiste touch .htaccess Then put the following contents […]

VIM Plug : The VIM Plugin Manager

Why people run away from vim When you open VIM for the first time then you will see a blank screen without any menu etc. There is no sidebar showing project structure. If you open any file let say JavaScript or CSS or html then there is no syntax highlighting. If you want to edit […]

Simple Movement Commands in VIM

Simple Movement Commands in VIM The real power of vim shines when you get familiar to the movement commands used in vim. If you are using other text editors then you will use your mouse to move from one place to another which reduces your efficiency. Knowing different movement commands of VIM will make your […]

Where does npm install node modules

Where does npm install node modules If you are new to npm (node package manager) then you must have been wondering that where does npm install node modules. npm install module locally and globally. Locally Installing a node module locally means that this module will be needed by the current project only. when we install […]

What is Git Branch

Git branches are one of the most important feature that git provides. In a single git repository we can make as many branches as we want. Suppose you are working in master branch of a git repository and an urgent requirement comes to make a feature but you are not sure that this feature will […]

Install Kafka and Kafka Manager using docker compose

Aim We will install Kafka Manager using docker compose. In this post we will learn to install three components using docker compose Kafka Zookeeper Kafka Manager Create a YAML file touch kafka-docker-compose.yml Put the below contents in that file version: “3” services: zookeeper: image: zookeeper restart: always container_name: zookeeper hostname: zookeeper ports: – 2181:2181 environment: […]

Install Logstash on Ubuntu 18.04

Aim In this tutorial we will be installing Logstash on Ubuntu 18.04 machine. Logstash is a part of ELK stack and it is useful in collecting data from any source and then dump that data to any sink. Thus Logstash plays an important role in movement of data in the ELK ecosystem. Prerequisite for Logstash […]

Elasticsearch and Kibana installation using docker compose

Aim In this post we will learn to install Elasticsearch and Kibana using Docker Compose. Prerequisite Docker must be installed on your machine. Docker compose must be installed on your machine. Create a docker compose file touch elasticsearch-docker-compose.yml Put the below components in the file version: “3.3” services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:7.4.0 container_name: elasticsearch restart: always […]