vim

vi / vim : Remove space at beginning and end of each lines

In this article, we will learn in vi / vim editor how can we remove all the spaces at the beginning or end of the file. Recently, we have encountered the problem where contents where copied from one file to another file with new file extension. There we found too many uneven spaces in each line at beginning and end.

Nagios AWS

Nagios monitoring on AWS Autoscaling group instances

Setting Nagios monitoring alerts on instances behind the AWS Elastic Load Balancer (ELB) is always tricky part. In this post, we will learn how we can monitor the instances which are created by autoscaling policy and running behind the ELB. We expect our reader do have good knowledge on scripting, nagios and AWS comptuting. This…

jemalloc/jemalloc.h: No such file or directory – Redis

jemalloc/jemalloc.h: No such file or directory – Redis

Recently while installing redis from source, met with error – zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory . It seems the jemalloc is the dependency which is not allowing redis to compile. NOTE: We have already install redis 3.0 from source on Ubuntu 14.04 / CentOS 7 / RHEL 7 , where we…