TIPS TO UPGRADE KERNEL
Short version
Download the latest kernel first http://www.kernel.org (example here is the case
The default kernel upgrade to RedHat 6.2 kernel 2.2.19)
# Rm-rf / usr / src / linux
# Tar-xzvf linux-2.2.19.tar.gz
# Mv linux / usr/src/linux-2.2.19
# Ln-s / usr/src/linux-2.2.19 / usr / src / linux
# Cd / usr / src / linux
# Make mrproper
# Make menuconfig (konfigurasilah your own kernel)
# Make dep; make clean; make bzImage
# Make modules
# Make modules_install
# Cp / usr/src/linux/arch/i386/boot/bzImage / boot/vmlinuz-2.2.19
# Cp / usr / src / linux / System.map / boot/System.map-2.2.19
# Cd / boot
# Rm-rf System.map
# Rm-rf vmlinux
# Rm-rf module-info
# Rm-rf initrd-2.2.14.img
# Ln-s vmlinuz-2.2.19 vmlinuz
# Ln-s System.map-2.2.19 System.map
Now we will update his lilo, to recognize the new kernel at boot time later
: Add the following to / etc / lilo.conf
default = linux2
image = / boot/vmlinuz-2.2.19
label = linux2
root = / dev/hda6 (customize to have you, where your / your
be)
read-only
# / Sbin / lilo-v
# / Sbin / shutdown-r now
# Uname-a
If the show is a new kernel means you have been successful.
Long version
Compiling in Linux kernel 2.4.x
Related link: The Linux Kernel HOWTO
Speed Up Boot
Service Disable unnecessary ² like apmd, autofs, identd, ip6tables, iptables, isdn, lpd, nfs, portmap, talkd and sendmail. (just an example, customized to the needs)
Add your hostname to Hosts
Usually the host file like this:
127.0.0.1 localhost
There is also like this:
127.0.0.1 localhost
and add the line:
127.0.0.1 hostname
Virtual memory makes
Although in theory can run Linux on the 2 MB of memory, but more
large memory for more you can do. system X -
Windows does not want to run if the memory is less than 8 MB. To
creating additional virtual memory as much as 8 MB, type (as
root):
# Dd if = / dev / zero of = / swapfile bs = 1024 count = 8192
# Mkswap / swapfile 8192
# Sync
# Swapon / swapfile
Add the last line in / etc / rc.d / rc. local to make a swapfile
available at a time when that will come when you boot, or add
this line in / etc / fstab:
/ swapfile swap swap defaults
Followers
Anda berada di » Home » Linux Tips and Tricks » TIPS TO UPGRADE KERNEL
TIPS TO UPGRADE KERNEL
Posted by siSobri
Klik tombol like diatas... Jika anda menyukai artikel ini.
Terima Kasih telah mengunjungi Blog ini,
Jangan lupa untuk memberikan komentar, kritik maupun saran pada form dibawah post ini...
Terima Kasih telah mengunjungi Blog ini,
Jangan lupa untuk memberikan komentar, kritik maupun saran pada form dibawah post ini...
Category
Linux Tips and Tricks
{ 0 comments ... Tambahkan Komentar Anda }
Post a Comment
BERIKAN KOMENTAR DI SINI !!