In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. compile the kernel
cd /usr/src
Copy the kernel upgrade package to this directory and extract it.
tar -vxf linux-2.6.32.60.tar.bz2
cd linux-2.6.32.60
cp /boot/config-2.6.18-164.el5 .config
make menuconfig (if the screen does not pop up, ncurses-devel needs to be installed)
Select Load an Alternate Configuration File
Select OK on the pop-up screen
Select Save an Alternate Configuration File
select OK
opt out
vim .config
Modify # CONFIG_SYSFS_DEPRECATED_V2 is not set to CONFIG_SYSFS_DEPRECATED_V2=y
save and exit
make all
make modules_install
make install
2. modify initrd
cp /boot/initrd-2.6.32.60.img /tmp
cd /tmp/
mkdir newinitrd
cd newinitrd/
zcat ../ initrd-2.6.32.60.img |cpio -i
ls
vim init
echo "loading dm-region-hash.ko module"
insmod /lib/dm-region-hash.ko
There are two copies, one of which is deleted.
find .| cpio -c -o > ../ initrd
cd ..
gzip -9 initrd-2.6.32.60.img
cp initrd-2.6.32.60.img /boot
3. modify the grub
vi /boot/grub/grub.conf
Change default=1 to default=0 Save Exit
4. restart the system
5. Enter in the startup project, there will be two kernels, one is old, one is the latest compilation
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.