Tutorial Category

Debian 5 and 6

  1. How To Build Linux kernels the Debian way

    By Samantha tagged in Build,customize,debian,kernel
    This short tutorial describes a quick and easy way to customize, build and install a Linux kernel under Debian or Ubuntu Linux. First, we will install all prerequisites and then download the kernel source. Next step will be the customization or the kernel and the last step will be to create and install a Debian package with the new Customized Linux kernel. 1. Prerequisites Let's start with the first step which is installing all the prerequisites: # apt-get install bzip2 build-essential \ kernel-package libncurses5-dev 2. Kernel build and customization Next step is to download the kernel source code from kernel.org....
  2. How To Add ISO Image To apt sources.list

    By Daniel Smith tagged in Add,apt,apt sources,ISO,ISO Image,list
    Here is a way how to include a Debian/Ubuntu ISO image into your /etc/apt/sources.list file. This kind of hack can prove handy in terms of reducing package download during the installation or if you do not have CD/DVD drive available ( or is broken ) on your system. Let's assume that we have a Debian ISO image downloaded at the location: /mnt/storage/iSO/debian-i386-DVD-1.iso. As a first step we need to create a mount point to where this ISO image will be mounted to: mkdir /mnt/debian-dvd Now we need to...
  3. How To Upgrade Debian Lenny (5.0) To Squeeze (6.0)

    Please Note: It is wise to uninstall packages from third-party sources or those that were manually installed via a .deb to prevent possible conflicts and related issues. To begin, edit /etc/apt/sources.list and change all occurrences of lenny to squeeze. A quick vi macro if you use it would be %s/lenny/squeeze/g. Once finished, you file should look similar to the one below. # main repo deb http://ftp.debian.org/debian/squeeze main deb-src http://ftp.debian.org/debian/squeeze main deb http://security.debian.org/ squeeze /updates main deb-src http://security .debian.org/ squeeze /updates main Next we'll update...