Upgrade Nuclear --red Hat Linux Advanced Server 2.1 - Step by STEP
1, environment description Kernel version 2.4.9-e.3smp Fri May 3 17:02:43 EDT 2002Oracle9i Enterprise Edition Release 9.2.0.4.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.4.0 - Production2 Download New Nuclear Nuclear Nuclear 2.4.9-E.27Enterprise Tue Aug 5 15:39:21 EDT 2003 Search in root user, search for kernel-2.4.9-E.27.SRC.RPM on Google, download a total of 33626511bytes to Current path [root @ DGDSS2003 root] # / rootstp://www.redhat.com/archives/ente...t/msg00003.html3, after compiling the initial kernel download, compile the source package with root (please pay attention Compile, the old packet will not be available). Flush as follows: # rpm -ivh kernel-2.4.9-E.27.SRC.rpm This command installs the source package in / usr / src / redhat / directory, enter SPECS subdirectory, enter #CD / usr / src / redhat / specs # rpm -ba kernel-2.4.spec to establish an RPM package. If there is no problem, the generated RPM package is saved in the RPMS / I386 directory, It is available for later use. Under SRPMS, a new source package is generated, and it is not necessary to delete. Install the initial kernel: #CD / usr / src / redhat / rpms / i386 # rpm -UVH kernel-boot-2.4.9-E .27.i386.rpm After the / boot directory generates a new kernel, INITD-2.4.9-E.27Boot.img, the new kernel can be activated. But this kernel does not support SMP, which is relatively weak. The most important thing is to generate a source file directory kernel-2.4.9 in the / usr / src / redhat / build directory, prepare for true compiling: #CD / usr / src / redhat / build # mv kernel-2.4. 9 / USR / SRC / # CD / USR / SRC / # ln -s Linux / USR / SRC / Keernel-2.4.9 / linux / 4, compiled personalized new kernel #CD Linux # make mrproperty #cp configs / kernel-2.4.9-i686-enterprise.config new.config # make Xconfig here Select Load Config from File <- -, use new.config as a parameter, appropriately modify the configuration, save into file, easy to use later. # Make dep # make clean @ Make Bzimage # Make Make # make modules_install // Generate /Lib/Modules/2.4.9-e .27smp # cd boot # cd / etc # vi modules.conf Delete a module is this line alias scsi_hostadapter aic7xxx, saved #MKinitrd Initrd-2.4.9-E.27SMP 2.4.9-E.27SMP Save below / boot Two links SYSTEM.MAP and VMLINUZ make it point to files #CD / boot #RM -F System.map in the new kernel (delete old connections, do not delete the original file)