Upgrade RH9 kernel under VMware to 2.6

xiaoxiao2021-03-04  62

Virtual machine version VMware: 4.5.1 Build-7568 original core version redhat 9 Linux-2.4.20-8 to be upgraded version Linux-2.6.11.7

Download the kernel Linux-2.6.11.7.tar.bz2 to / usr / src and extract ln -s Linux-2.6.11.7 Linux-2.6 in / usr / src / linux / documentation / changes to view the version requirements of the appropriate software

Download and install module-init-tools-3.1.tar.bz2 # configure --prefix = / # make moveold # make all install # ./generate-modprobe.conf /etc/modprobe.conf Download and install device-mapper-1.00 .19-2.i386.rpm Download and install LVM2-2.00.25-1.01.i386.rpm, download and install with rpm -ivph --Node --force download and install Mkinitrd-4.1.18-2.i386.rpm

Under /usr/src/linux-2.3 Make Mrpropert (if the previous is not compiled, this step can be provoked) Make MenuConfig, select the compiled module. Device Drivers Block devices Default RAM disk size to 8192 USB support UHCI HCD select (or OHCI, EHCI alone does not work) to select the remaining modules make allmake modules_installmake install / etc / modprobe.conf portion corresponding alias usbfs usbcore alias change according to the actual situation USB-Controller UHCI-HCD Mouse Keyboard Section (HID, MouseDev, KeybDev) and other parts, USBDEVFS in /etc/rc.siSinit, etc. ) /Etc/grub.conf Change DEFAULT 2.6 kernel sections plus one Elevator = deadLineReboot

Learn to summarize the settings of OpenSSL OpenSSH, with PUTTY's use /etc/inetd.conf to increase the generation of SSH stream tcp noait root / usr / sbin / tcpd sshd -i key pair to generate SSH-KEYGEN (Linux / Win) public key copy to ~ / .ssh / authorized_keys, key uses grep -rnh "pattern" * Find ./ -Name '* name *' -print zf%; zi; zo; zo;., $ d; zo; zo;. DMESG CAT / Proc / Version Insmod; LSMOD; ModProbe -l | GREP USB UserAdd-S / BIN / BASH -G LFS -M -K / DEV / NULL LFS CAT> ~ / .bash_profile << "EOF" EXEC ENV -I Home = $ home term = $ term ps1 = '/ u: / w / $' / bin / bash eof

转载请注明原文地址:https://www.9cbs.com/read-31748.html

New Post(0)