Finding the kernel version in OpenVZ CentOS 6

When running a Linux server it is sometimes necessary to check which kernel version you are using to be able to choose certain software to install etc. There are a few ways to do this. We will be trying out the methods in this linfo.org article. Since I am running an OpenVZ CentOS 6 Linux…

Checking if your CentOS system is original or a virtualization version (OpenVZ)

As I was finding the kenel version of my Linux server I hit some issues as I ran this command. [ahmed@amayem kernel]$ uname -r 2.6.32-042stab078.28 I noticed that that version string is a bit unusal. It has stab in it. Kernel version 2.6.32 was released by kernel.org and I don’t see a stab in the…

Using sudo cd problem and workarounds

Pre-requisites Root access to your server or have access to an account that has sudo powers on your servers – Instructions here to see how to give a linux user sudo powers. Setup Login as a non-priveleged user (non-root). Let’s make a directory that only root can enter: [ahmed@amayem ~]$ sudo mkdir test [ahmed@amayem ~]$…

Woes of using an outdated supervisord to run a node.js app (ghost)

The Situation I wanted to run my ghost blog using supervisord. I decided to install supervisord by using yum. The result was pretty bad as it turned out that the version that I installed was waaayyyy behind, which caused so many problems. To install it properly check out these instructions. This is an account of…