Posts

Showing posts from September, 2017

How To Install Docker on Ubuntu 16.04

What is Docker? Docker is an application that makes it simple and easy to run application processes in a container, which are like virtual machines. What is a Container? Containers are a way to package software in a format that can run isolated on a shared operating system. Unlike VMs, containers do not bundle a full operating system - only libraries and settings required to make the software work are needed. This makes for efficient, lightweight, self-contained systems and guarantees that software will always run the same, regardless of where it’s deployed. Prerequisites To follow this tutorial, you will need the following: 64-bit Ubuntu 16.04 server Installing Docker To install docker from official docker repository, add the GPG key for the official Docker repository to the system: $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Add the Docker repository to APT sources: $ sudo add-apt-repository “deb [arch=amd64] https://download.d...

Install Kibana as Windows Service Using Powershell

This guide installs Kibana as Windows service using Powershell. Kibana: Kibana is an open source data visualization plugin for Elasticsearch . It provides visualization capabilities on top of the content indexed on an Elasticsearch cluster. Users can create bar, line and scatter plots, or pie charts and maps on top of large volumes of data Requirement: Elasticsearch Steps executed in following powershell script: Download NSSM – the Non-Sucking Service Manager $webclient = New-Object System.Net.WebClient $url = "https://nssm.cc/release/nssm-2.24.zip" $file = "$pwd\nssm.zip" $webclient.DownloadFile($url,$file) Unzip NSSM zip file at some location $shell = new-object -com shell.application $zip = $shell.NameSpace("$pwd\nssm.zip") foreach($item in $zip.items()) { $shell.Namespace("C:\").copyhere($item) } Add nssm.exe application path in Environment Variables $env:path +=';C:\nssm-2.24\win64' Download Kibana $webclient = ...

Sumo Logic Overview

Image
Sumo Logic is a cloud-based log management and analytics service that leverages machine-generated big data to deliver real-time IT insights. We can log system health and custom messages in sumo logic. Benefits of Sumo Logic over ELK: Sumo Logic is cloud-based log management tool so it requires less maintenance, but in ELK you need to provide infrastructure. Sumo Logic has pre-built dashboards for many common items that administrators, developers, and security folks would like to see, ready to install and start displaying data in an insightful way, but in ELK you need to create dashboards. For Sumo Logic you need to manage only collector installation on Servers, but in ELK you have to manage Elastic search, Logstash and Kibana etc. Alerts and Notifications are simple in Sumo Logic, but in ELK you need extra plugins like Watcher and Elastalert. Sumo Logic Integration We can use sumo logic to log custom messages and system health. To log system health we can use Instal...

Git Basics

Version Control: System that records changes done on files over time so that we can recall specific version later. Local Version Control System Centralized Version Control System Distributed Version Control System Git Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git Advantages Free and Open Source Branching and Merging Frictionless Context Switching Role-Based Codelines Feature Based Workflow Disposable Experimentation Small and Fast Distributed Staging Area Basic Commands git help To get help of specific command. e.g. $ git help log git init Create empty Git repo in specified directory. Run with no arguments to initialize the current directory as a git repository. e.g. $ git init git status List which files are staged, unstaged, and untracked. e.g $ git status git clone Clone repo located at onto local machine. Ori...