Program Assignment One, CSCI 523, Advanced Operating Systems Things to configure the the CS Systems Lab Set up Desktop with Terminal Icon 1. Click on start button -> System -> Terminal 2. Right click on Terminal and select "copy to desktop" Set up Printer 1. Login in as root 2. edit /etc/cups/cupsd.conf by adding comment flag "#" to any security line. 3. http://127.0.0.1:631 4. Add printer with lpd://192.168.100.3/raw configuration. Read Hat Kernel Install 1. yum install kernel-devel 2. cd /usr/src/kernels/2.6.... 3. download kernel image... Load and recompile the Linux kernel 1. Login as root 2. cd /usr/src/ 3. Download the 40MB kernel archive from the official kernel source (Takes 15-60 mins) 4. Use bunzip2 to uncompress the archive linux-2.6.19.2.tar.bz. It should expand to just under 250MB. (Takes 3-6 mins) 5. Use tar -xf linux-2.6.19.2.tar to un-archive Linux into its source tree. Or use one command for steps 4 & 5: bunzip2 linux-2.6.19.2.tar.bz | tar -xf - 6. Create a simple symbolic link like: ln -s linux-2.6.19.2 lin 7. cd lin 8. Invoke "make xconfig" to create the .config file. Adjust a parameter such as CPU type. 9. Invoke "make" or "make > /dev/null" to compile the kernel. (Takes 15-60 mins) 10. make modules_install to copy device driver modules over to /lib/modules/2.6.19.2/ 11. Move and rename the kernel image /usr/src/lin/arch/i386/boot/bzImage to /boot/vmlinuz01. 12. Add menu option to Grub to boot vmlinux01. 13. Reboot, select vmlinuz01 and cross your fingers... No GUI boot 1. Login as root 2. vi /etc/inittab 4. Switch the default run level on line 20 from level 5 to level 3 by chganging: id:5:initdefault: to id:3:initdefault: How To Compile A Kernel - The Fedora Way http://www.howtoforge.com/kernel_compilation_fedora How To Compile A Kernel - The Ubuntu Way http://www.howtoforge.com/kernel_compilation_ubuntu 1. Download kernel source.. cd /usr/src wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/kernel-2.6.18-1.2798.fc6.src.rpm rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm 2. Find the kernel source. I think its linux 2.6.18.src.rpm and extract it to usr/src 3. Go to usr/src/ linux-2.6.18 4. run make mrproper but I don't think its necessary 5. run make oldconfig. I believe this copies your current .config file to this directory. 6. Change the Makefile line EXTRAVERSION = -custom-2.6.18.2 or something else 7. make install 8. make modules_install 9. make install 10. restart and select your new kernel at boot And that's it. You may have to modify /boot/grub/meun.lst or /boot/grub/grub.conf to make the new kernel boot first