How to use NewRelic with SELinux

NewRelic doesn’t seem to work with SELinux out of the box and it appears it’s out of the scope of NR’s support. So, here’s how to run NR while having SELinux protection. First, we’re going to create the rule file: # mkdir ~/newrelic # cd ~/newrelic # nano newrelic.te The contents of the file should ...

Installing Software RAID on Centos 5/6/7 via SSH 11

Considering number of dedicated server rentals that just gives JBOD, setting up your own software raid is quite handy. This tutorial goes over the very basic of how it’s done. All of this should be done under root. Let’s say you have 3 disks: sda, sdb & sdc. The OS is mounted on the sda, so ...

Installing the latest PHP (5.4.23 / 5.5.7) on CentOS/RHEL 1

Method 1 – Remi Repo The Remi Repository (famillecollet.com) maintains the newest PHP for CentOS, RHEL, etc. And by newest, I mean newer than all other major repos. All you need to do is install PHP with Remi enabled. As of writing this article, Remi has 5.4.23 for CentOS, RHEL, etc. If you want even ...

Understanding IOWait 6

IOWait definition & properties IOWait (usually labeled %wa in top) is a sub-category of idle (%idle is usually expressed as all idle except defined subcategories), meaning the CPU is not doing anything. Therefore, as long as there is another process that the CPU could be processing, it will do so. Additionally, idle, user, system, iowait, ...