You should not delete /usr/src/redhat. That directory is needed for kernel compile. It should have 5 subdirectories: BUILD, RPMS, SOURCES, SPEC, and SRPMS.
kernel-2.6.18-53.el5.src.rpm is a source code rpm (.src.rppm) for the kernel, which must be compiled to get a binary rpm which you can install.
Su to root and make the necessary directories.
Then install the kernel .src.rpm: rpm -i kernel-2.6.18-53.el5.src.rpm. That will place the kernel source tarball in /usr/src/redhat/SOURCES, and an rpm .spec file in /usr/src/redhat/spec. The .spec file is the rpm equivalent of a makefile which guides the compiling of the source code.
cd to SPEC
compile the binary kernel rpm.
When the compile is complete, you will have a binary kernel rpm which you can install, assuming there are no errors during the compile. It will be in /usr/src/redhat/RPMS.
Then you can install that binary rpm.
Last edited by bigrigdriver; 04-20-2010 at 08:57 AM.