I ran into a error when installing the first gem on a CentOS development server I was creating. The error states that the extconf.rb file could not the header files. Below I show the output of the error along with what was done to resolve the error.
I recently setup a new server with Ruby and Rubygems however I received an error when attempting to install my first gem which happened to be ruby-lsapi. Below I explain the error including an example of the error in the output of installing a gem as well as what was done to resolve the error.
Yesterday I wrote an article about securing your /tmp and /var/tmp directories on a Linux server because I had found some files uploaded to the /tmp directory via the apache user. After locking down those directories I wanted to verify that there were no other issues on the server so I installed Rootkit Hunter and Rootcheck which are two applications that will assist you with verifying the integrity of your Linux server. Below is information on installing Rootkit Hunter and Rootcheck as well as information on how to use each of them effectively.
The latest available Ruby version in the default CentOS repositories is currently Ruby version 1.8.5. Many packages in the default CentOS repos are notorious for lagging way behind what versions of the packages are currently available. Even though Ruby 1.8.7 and Ruby 1.9.X are available I simply needed to get Ruby 1.8.6 installed for a project I was working on so I used the information below to install Ruby 1.8.6 on CentOS Linux using the Yum Package Manager.
One thing that can be annoying on Dell servers is the long boot process though you can modify the BIOS and other items to make the boot process faster. One of this first things I always do is disable the PXE boot delay by making a modification to the BIOS and by modifying the settings of the Intel Boot Agent. A better view and description of the PXE boot delay on a Dell Poweredge 650 is displayed below as well as both of the modifications used to minimize the delay of the PXE Intel Boot Agent.