Install the new linux kernel. Use the fedora method-general Linux technology-Linux programming and kernel information. For more information, see the following. Create the rpmbuild directory:
Cd ~
Cp-a/usr/src/redhat/rpmbuild
Echo '% _ topdir % (echo $ HOME)/rpmbuild'>. rpmmacros
Yum install fedora-rpmdevtools unidef
Fedora-buildrpmtree
Cd/usr/src
Wget http://download.fedora.redhat.co...-1.2798.fc6.src.rpm
# It seems that there is only this old thing now, so I get something from the development tree.
Wget http://download.fedora.redhat.co... 202. rc8.fc8. src. rpm
Rpm-ivh kernel-2.6.23-0.202.rc8.fc8.src.rpm
Cd ~ /Rpmbuild/SPECS/
Rpmbuild-bp kernel. spec
Cd/root/rpmbuild/BUILD/kernel-2.6.23rc8
Make menuconfig
Make rpm
Then you will ~ /Rpmbuild/SRPMS/directory to find a new src. rpm package
Of course, this src. rpm package is used to install the new src. rpm package after the patch is installed.
Install new kernel
Cd ~ /Rpmbuild/RPMS/i386
Rpm-ivh kernel-2.6.23rc8.i386.rpm
Mkinitrd/boot/initrd-2.6.23-rc8.img 2.6.23-rc8
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service