1. Install Ubuntu 5.10.
2. To setup the root password, reboot the machine and press ESc to go into grub mode.
To to the recovery mode of Linux and press enter.
You will get to # prompt.
Type #passwd root, enter new password and reboot #init 6.
3. Goto System -> Administrator -> Networking and enable the eth0 card for networking support.
4. Goto System ->Administrator -> Synaptic Package Manager
5. Goto Settings -> Repositories. Add Community Maintained (Universe) and press OK.
6. Press “Reload” to update the package list.
7. Goto Terminal: and run all the following commands:
$sudo apt-get update
$sudo apt-get install build-essential
$sudo apt-get install kernel-package
$sudo apt-get install gcc
$sudo apt-get install libncurses5
$sudo apt-get install libncurses5-dev
$sudo apt-get install libqt3-mt-dev
8. Now configure ftp server to transfer new linux 2.6.16 files.
9. I will go for vsftp. You can also configure ftpd, ws-ftpd or proftpd etc.
To install vsftpd:
$sudo apt-get install vsftpd, This will install vsftpd server and start it.
Now we need to make some modifications to the configuration file.
comment #anonymous_enable=YES
Uncomment local_enable=YES
Uncomment write_enable=YES
Save this file and restart vsftpd by running this command. $sudo /etc/init.d/vsftpd restart
10. Upload linux-2.6.16.tar using ftp.
11. copy linux-2.6.16.tar to /usr/src/ folder.
12. cd /usr/src
13. $sudo tar –bzip2 -xvf linux-2.6.12.tar.bz2
14. $sudo ln -s /usr/src/linux-2.6.12 /usr/src/linux
15. Run $sudo make menuconfig or $sudo make xconfig to configure your new kernel.
16. $sudo make-kpkg clean
17. $sudo make-kpkg -initrd –append-to-version=-custom kernel_image modules_image kernel_headers
18. $sudo dpkg -i kernel-image-2.6.16-custom_10.00.Custom_i386.deb
19. $sudo dpkg -i kernel-headers-2.6.16-custom_10.00.Custom_i386.deb
20. Reboot the system $sudo init 6.
No comments:
Post a Comment