Installing ELK

Version of Elastic search used: elasticsearch-2.3.3 Version of logstash used:  logstash-2.3.3 Version of kibana used:  kibana-4.5.1 OS used: ubuntu 15.04 The only pre-requisite is java runtime. Issue : java -version java version “1.7.0_95” OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.04.1) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) If java is not installed at your end,… Read More »

Bad substitution Error in Linux

I was trying to run a script from a shell, it executed properly. But when I was running this script in cron, the script does not behave correctly. It runs partially. Then I tried following in cron: 10 10 * * * /data/script1.sh >>/tmp/script1.log 2>&1 After the cron finished executing, I looked up in /tmp/script1.log.… Read More »

Windows AD Users on Linux

To use Windows Active Directory Users  on  Linux machine, we need to configure Samba and Winbind For implementation with Active Directory.  first of all  make sure that samba is installed on Linux Server. Oh! I missed here to mention here that, I am here discussing implementation on Linux distribution  CentOS 6.4 For Windows AD users… Read More »

Pulp Installation on CentOS

Pulp is a open source Package Management software. Pulp need A database system – I used mongodb A messaging system – I used qpid So before going further with pulp server installation, I installed mongodb and qpid. On my centos 6.5 system , I configured  pulp-2-stable repo #vi /etc/yum.repos.d/pulp-2-stable.repo  [pulp-2-stable] name=Pulp 2 Production Releases baseurl=https://repos.fedorapeople.org/repos/pulp/pulp/stable/2/6/x86_64/… Read More »

Hadoop Installation

Hadoop version used: 2.2 downloaded from apache website. Platform: RHEL 6.4 64bit Hostname : host1.test.local Prerequisites: Installing java Adding dedicated Hadoop system user. Configuring SSH access. Installing java [root@host1 ~]# rpm -qa|grep java tzdata-java-2012j-1.el6.noarch java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64   We have openjdk , but not openjdk-devel.  We will require open-jdk also because it provides a tool jps which… Read More »

PCI DSS Compliance

PCI-DSS is a compliance standard for Payment Card Industry. PCI-DSS stands for Payment Card Industry Data Security Standard. As we know Banks and Debit/Credit Card issuing authority facing new security challenges everyday. Payment brands such as Master Card, VISA, DISCOVER etc formed a International authority known as PCI-SSC(Payment Card Industry Security Standards Council) to develop… Read More »

What is Docker?

As per docker website, Docker is “an open source project to pack, ship and run any application as a lightweight container.” Here container refers consistent and standard packing of applications. The idea of providing as a container is to enable it to run on any infrastructure. The technologies used in Docker are as below LXC:… Read More »

SSH: Client-Side Server authentication

        We know that in SSH, server authenticate client before allowing to logon on server. Server authentication process identifies user through local, LDAP or Kerberos authentication process. SSH also provides mechanism to authenticate server on client side before client proceed to logon on server. In order to authenticate server in initial key exchange, the client keeps… Read More »

Linux Cryptography

In Redhat Linux such as CentOS and RHEL, OpenSSL package provides three categories of functions   libcrypto:  This category include generic encryption related functions. The generic functions provided by libcrypto are used by other programms such as Bind,SASL, OpenSSH etc.  libssl: This category provides open source implementation of TLS and SSL. As we know there are… Read More »