Chapter 2. Installation

This chapter describes how to install TUX.

Installation Instructions

  1. For optimal performance, create a separate RAID partition as the document root for TUX.

  2. Configure and install the kernel with TUX support built-in, if it has not already been provided with TUX configured.

  3. Install the TUX package with the command rpm -Uvh tux-2.1.0-2.i386.rpm (modify as necessary for new versions...)

  4. Create an index.html file in /var/www/html, the default document root directory.

  5. Start TUX with the command service tux start (or ./tux.init start on Linux systems not running Red Hat Linux), and test the URL http://localhost/ with lynx or any Web browser.

The latest TUX releases can be downloaded from http://people.redhat.com/~mingo/TUX-patches/. To install a TUX patch use the following instructions:

  1. Download the latest TUX patch and userspace utilities from http://people.redhat.com/~mingo/TUX-patches/.

  2. Apply the TUX patch to a vanilla 2.4.2 kernel tree with the command patch -p0 < tux2-full-2.4.2-X6 (where tux2-full-2.4.2-X6 is the TUX kernel patch).

  3. Use make oldconfig to enable TUX in the kernel config, compile it, and boot into the TUX kernel.

  4. Compile and install the userspace utilities, where tux-2.0.25 is the version of TUX you want to install:
    tar xzvf tux-2.0.25.tar.gz
    cd tux-2.0.25
    make
    make install

  5. Create an index.html file in /var/www/html, the default document root directory.

  6. Start TUX with the command service tux start (or ./tux.init start on Linux systems not running Red Hat Linux), and test the URL http://localhost/ with lynx or any Web browser.