How to install Nagios on CentOS 5 or 6

Introduction This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on CentOS and have it monitoring your local machine inside of 20 minutes. No advanced installation options are discussed here – just the basics that will work for 95% of users who want to get started. These instructions were written based …

Read More »

Enabling SNMP On CentOS / RHEL

Setting up SNMP (Simple Network Management Protocol) on a CentOS machine is a very quick and easy process. First we will install SNMP itself by running the following command: yum install net-snmp Once you have SNMP installed we will want to install the configuration utility for SNMP. The configuration utility allows you to easily configure SNMP for both the community …

Read More »

Install Ruby on Rails in cPanel/WHM

The installation of Ruby on Rails in cPanel has two parts, first is installing Ruby itself, which can be accomplished by running: [code]/scripts/installruby[/code] This script will install Ruby, RubyGems, Mongrel and the software that Ruby relies upon and activates the Ruby interface in your end user’s cPanel. The second step in the installation is running. [code]/usr/local/cpanel/bin/ror_setup[/code] This script will setup …

Read More »

How To: Add swap to a KVM VPS or Dedicated Server CentOS 6

Swap is beneficial, because it allows inactive memory blocks to be written to disk, freeing up real memory for stuff like file system caching. Swap also (to some extent) protects you against short bursts of memory demand. Linux (by default) over commits real memory, relying on the fact that most applications ask for more than they need, but if they …

Read More »

Basic Linux Commands (Cheat Sheet)

Here are many common Linux commands that will be helpful to you, if you ever even use the command line interface in Linux. Most average users just use the graphical user interface instead which usually has many tools and front-ends to Linux common commands. This Linux tutorial on command commands will help even the average user in case X server …

Read More »

Bash Scripting Basics: Part 2 – Statements and variables

Now that we know how to create a very basic script and run them its time to get started on learning how statements and variables work. Every language has itsown way of using statements and variables, they might look slightly different when comparing one language to another, but they all have the same goal in mind. That makes bash scripting the ideal …

Read More »