How to make Dockerfile for Elasticsearch | How to Install and Configure Elasticsearch with the Docker


Elasticsearch is a popular open-source search and analytics engine for use cases such as log analytics, real-time application monitoring, and click stream analytics.

Elasticsearch  is a search server based on Lucene. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch is the most popular enterprise search engine followed by “Apache Solr”, also based on Lucene.

To know more please click here

So here in this article we have to learn that how to write Dockerfile for Elasticsearch v2.4.5  and build Elasticsearch’s Docker image and run a Docker Container.

For the above things we have to follow these steps and assume that you have Linux OS in your system and Docker engine are running.

  1. Make a Docker file with Ubuntu 16.04 Base image
  2. Build Image from Dockerfile
  3. Run Docker Container
  4. To configure your elasticsearch server execute the container and configure as per your requirements

Continue reading

How to Generate pem file to ssh the server without Password in Linux

ssh by pem file to Access Server

It is a standard procedure, now how to make this work without using password, using just a .pem file?


PEM or Privacy Enhanced Mail is a Base64 encoded DER certificate.  PEM certificates are frequently used for web servers as they can easily be translated into readable data using a simple text editor.  Generally when a PEM encoded file is opened in a text editor, it contains very distinct headers and footers.

PEM is a widely used encoding format for security certificates. Syntax and content is defined by X.509 v3 standards for digital certificates, defined in IETF RFC 5280 specifications. The main file extensions are .pem, .crt, .ca-bundle. Continue reading

Backup Of MySQL Database To Amazon S3 Using BASH Script Is Not Rocket Science! Learn Them Now!

s3backupBackup of MySQL Database to Amazon S3 using BASH Script

This is a easy way to backup your Mysql Database  to Amazon S3 for a regular interval backup – this is all to be done on your server.

First need to have the checklist  i.e must important for the any task you want to do in a proper way.

  • S3cmd  command line configure on server
  • A bucket over S3 to store dump file
  • Make Bash Script  i.e Contains MySQL Credential ( Hostname, Username, DB Name ), Location on your server where you want to store dump (PATH), Log Path.
  • Give chmod  +x on mysqlbackup Script (
  • Test it and check S3 bucket
  • Schedule with cron as per your requirement

Continue reading

What is DevOps?

2000px-devops-svg_What is Devops?

DevOps” as a term was first coined in 2009 by Patrick Debois, who became one of its chief proponents. Simply put, DevOps is a combination of software development and operations — and as its name suggests, it’s a melding of these two disciplines in order to emphasize communication, collaboration, and cohesion between the traditionally separate developer and IT operations teams.

Continue reading

How to install and configure Jenkins on Amazon EC2, Cloud-Ubuntu 12.04, 14.04 LTS


Jenkins is an open source Continuous Integration tool that monitors execution of repetitive jobs, such as building a software project or jobs ran by cron. It’s written in Java programming language and designed to test and report on isolated changes in a larger code in real time.

It is Originally started as Hudson in 2004 but due to a dispute in 2011 they forked and continued under the name, Jenkins.

It can be used to build software, deploy software, or websites to various endpoints or to run unit/behaviour-driven software tests.

So the builds on top of Continuous Integration are Continuous Deployment and Delivery where after the successful tests you will be able to run, instantly and automatically release with the latest version of your codebase. We can say Jenkins makes deployment a non-issue and helps you speed up your development.

Basically, we can say that “Jenkins is a Continuous Integration server which is the best practice of running your tests on a non-developer machine.”

Continue reading

How to Install TeamViewer 11 on Ubuntu System


As we know that,  “TeamViewer”  is a popular  software used for  system’s (PC) remote access and support . TeamViewer software can connect to any PC or server, so you can remote control your partner’s PC  from anywhere by Internet as if you were sitting right in front of it. For the remote session to work the partner has to start a small application, which does not require installation or administrative rights.


Continue reading

Command Line Tools to Monitoring & Managing Linux Performance/Process

originalA process is a running instance of a launched, executable program. So being a System Engineer it is not easy to monitor Linux server/system performances and keep them up and running, here in this post i will cover mostly used command line to monitoring that might be useful for those who are taking care of Linux servers/systems as Linux Administrator.

Real- time Process Monitoring by ‘ top ‘:

The ‘ top ‘ command line, top program show a dynamic view of system processes and displaying a summary or  it is used to dipslay all the running and active real-time processes in ordered list. It display CPU usage, Memory usage, Swap Memory, Cache Size, Buffer Size, Process PID, User, Commands and much more. It also shows high memory and cpu utilization of a running processess.  And ‘ top ‘ command continuously refreshes at a configurable interval and provides above summary in a column view. The top command is more useful for system administrator to monitor and take correct action when required. Continue reading

Amazon S3 cloud storage access from command line in Linux

s3cmdHow to access Amazon S3 BY command line

Amazon S3 is stand for Simple storage service that is storage for the Internet. It as a, “simple storage service that offers software developers a highly-scalable, reliable, and low-latency data storage infrastructure at very low costs”.

Amazon S3 provides a simple web service interface which you can use to store and retrieve any amount of data, at any time, from anywhere on the web. Using this web service, developers can easily build applications that make use of Internet storage.

Here below i will describe how to access Amazon S3 cloud storage from the command line in Linux Step by step you can learn and execute.

One of the most popular Amazon S3 command line clients is s3cmd, which is written in python. As a simple AWS S3 command line tool, s3cmd is ideal to use when you want to run scripted cron jobs such as daily backups. Continue reading

Linux Basic Commands for Beginners

basic_linux_commandLinux Basic Commands and Examples of them

Commands: A instruction  for a computer or device to perform a specific task know as ‘Command’. It give through terminal as input (by user), so also we can say that command is an interpreter.

[gaurav@gauravx ~]$____

Command line:  A command line is a text-based interface which can be use to input instruction to a computer system. A Linux command line is provided by a program called “The Shell“.  So in previous post shell are covered, where or as all know there are many Shells have been developed.  So The default shell for users in Linux is the BASH Shell (Borne Again shell) and also it is in MAC OSx.

Instruction: Open terminal ( ctrl+shift t ) it displays a string like “ [user@hostname~]$ _ or  [root@hostname~]$#_” mean of this, it is waiting for a command from the user  ‘it is called Shell prompt’.

So command entered at the shell prompt have three basic parts Continue reading

Linux Boot Process- How it executes

run_levelLinux Boot Process 

Basically “Boot Process A CPU gets its instructions from memory. The CPU reads instruction from the BIOS and searches for the hard disks, CD drives and other hardware. The BIOS program looks at the first sector for boot code.

The boot process for Linux goes through several stages. Different systems follows different stage here in Linux  have 6 stages of Boot.


  • BIOS   ( Basic Input/Output System )   Boot
  • MBR    ( Master boot Record )
  • GRUB  ( Grand Unified Boot Loader )
  • Kernel
  • init
  • run level init 0 – init 6 )

Continue reading