Tag: Debian

  • apt is awesome

    find the package name of the $file from the apt repository.

    apt-cache search $file

  • Setting up cgi in userdir

    enable a CGI directory for every user in apache.

    Configure apache for userdir.

    [code language=”bash”]
    a2enmod userdir
    [/code]

    open the userdir.conf file and add the following

    [code language=”text”]
    <Directory /home/*/public_html/cgi-bin/>
    Options ExecCGI
    SetHandler cgi-script
    </Directory>
    [/code]

  • Installation Report

    Installation Report
    Date: 18 May 2008

    Installation of NVIDIA Graphics Card
    Get into pure console mode (runlevel 3)

    * Reboot into Recovery Mode or switch down to runlevel 3 or the equivalent
    * apt-get update
    * apt-get install binutils

    Install Kernel Source

    * apt-get install linux-source-2.6.12 – replace 2.6.12 with your kernel version (‘uname -a’ or ‘uname -r’)
    * cd /usr/src
    * tar -jxvf linux-source-2.6.12
    * ln -s linux-source-2.6.12 linux

    Install Kernel Headers

    * apt-get install linux-headers-2.6.12-1 linux-headers-2.6.12-1-386

    Install nVidia Drivers

    * sh NVIDIA-Linux-x86-1.0-8178-pkg1.run

    Up-grading the kernel.
    This will support the network card and help in configuring the wifi.