Update your Linux Kernel (CentOS 5)
If your CentOS 5 server was provisioned prior to Dec 17 2010, then you are likely not running the latest CentOS kernel and are missing many important security patches.
Why am I missing security patches?
To provide the necessary drivers for your RAID card, we used to install a custom kernel on your server. However, updating to the current kernel could remove access to your hard drive.
To remedy this, we recommend reprovisioning your server. This installs an updated kernel that has drivers for your RAID card as well as all necessary security updates. For more information, see Starting over with My Server (Reprovision).
However, if you do not want to reprovision your server, you can update your kernel manually and install a RAID card driver from ElRepo.
To Upgrade Your CentOS Server's Kernel
- Via SSH, log in to your server as 'root.' See Switching to the Root User on Your Linux Server for information.
- Verify that you have the custom kernel. Type:
uname -rYou should receive the following response:2.6.18-HPTraidIf you receive a different response, you are not using the custom kernel and are already using the updated kernel.
- Verify that you have the expected RAID card connected. Type:
lspci -d 1103:1720You should receive the following response:03:09.0 SCSI storage controller: HighPoint (or Triones) Technologies, Inc. RocketRAIDIf you receive another response, do not proceed.
1720 (2x SATA II RAID Controller) (rev 02)
- Download and install the driver for your RAID card. Type the following commands:
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.orgrpm -Uvh http://elrepo.org/elrepo-release-5-1.el5.elrepo.noarch.rpmyum --enablerepo=elrepo install kmod-rr172x
- Modify the file attributes of your
grub.conffile to make it editable:chattr -i /boot/grub/grub.conf
- Modify your yum repo file to allow kernel updates by commenting out the exclude lines in your
CentOS-Base.repofile. Type:sed -i 's/^exclude/#exclude/' /etc/yum.repos.d/CentOS-Base.repo
- Install the latest kernel. Type:
Note: If you do not see the kernel install, try using
- Reboot your server. Type:
- Verify you installed the new kernel:
uname -rYou should receive the following response:2.6.18-194.26.1.el5