DevOps

How to install ruby with rvm on rhel 7 or centos 7

In this tutorial, I will show you how to install Ruby using RVM on RHEL 7 (Red Hat Enterprise Linux) or Centos 7 server. Steps are same for RHEL 7 and centos7. Install dependencies yum install -y curl gpg gcc gcc-c++ make libyaml¬† wget https://rpmfind.net/linux/centos/7.5.1804/os/x86_64/Packages/libyaml-devel-0.1.4-11.el7_0.x86_64.rpm rpm -ivh libyaml-devel-0.1.4-11.el7_0.x86_64.rpm Import RVM Read more…

By shyam jos, ago
DevOps

Simple HTML email alert template for Icinga 2

I have created a very simple¬†HTML email alert Template for Icinga 2 to replace the default boring text based email alert.This template can be easily installed by replacing existing alert scripts inside /etc/icinga2/scripts. Update: I have replaced mail command with mutt due to incompatibility of options among different linux distributions. Read more…

By shyam jos, ago