Table of Contents

The Kernel, Tuning, Printing


The Kernel and Kernel Configuration

When To Configure (Customize) a Kernel

Kernel Locations

Kernel Configuration

                # echo 179894 >> /proc/sys/fs/file-max

Loadable kernel modules

Inserting and removing kernel modules

Kernel Logging


Performance Tuning and Benchmarking


Printing


Lab Activity

Compile, install and run a new Linux kernel

       # tar xjf linux-source*.tar.bz2
       # cd /usr/src/linux-source*
       # cp /boot/config-3.2.something* .
       # cp config-3.2.something* .config
       # nohup make-kpkg --revision=vanilla471 --initrd kernel_image &
       # dpkg -i /usr/src/linux-image*.deb

Set up CUPS printing

          http://localhost:631
    
  * The CUPS printer URL for the printer in HH 310 is
          socket://10.8.0.119:9100

           where :9100 is the HP Jetdirect service port for the
           Jetdirect network card in the printer.
           # lpr << END
           This is a test from root@carson.cs.monmouth.edu.
           END
           # enscript << END
           This is a test from root@carson.cs.monmouth.edu.
           END

Leftover Lab Activities


One-to-many copying of large files using bittorrent


The Spamassassin Mail Filter


Firewalls with iptables