<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Installation</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.74b"><LINK REL="HOME" TITLE="TUX 2.1" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Summary of System Requirements" HREF="sys-requirements.html"></HEAD ><BODY CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >TUX 2.1: Reference Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="sys-requirements.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" > </TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="installation" >Chapter 2. Installation</A ></H1 > <P > This chapter describes how to install TUX. </P > <DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="installation-instructions" >Installation Instructions</A ></H1 > <P > <P ></P ><OL TYPE="1" ><LI ><P >For optimal performance, create a separate RAID partition as the document root for TUX.</P ></LI ><LI ><P >Configure and install the kernel with TUX support built-in, if it has not already been provided with TUX configured.</P ></LI ><LI ><P >Install the TUX package with the command <TT CLASS="COMMAND" >rpm -Uvh tux-2.1.0-2.i386.rpm</TT > (modify as necessary for new versions...)</P ></LI ><LI > <P > Create an <TT CLASS="FILENAME" >index.html</TT > file in <TT CLASS="FILENAME" >/var/www/html</TT >, the default document root directory. </P > </LI ><LI > <P > Start TUX with the command <TT CLASS="COMMAND" >service tux start</TT > (or <TT CLASS="COMMAND" >./tux.init start</TT > on Linux systems not running Red Hat Linux), and test the URL <TT CLASS="FILENAME" >http://localhost/</TT > with <B CLASS="APPLICATION" >lynx</B > or any Web browser. </P > </LI ></OL > </P > <P > The latest TUX releases can be downloaded from <A HREF="http://people.redhat.com/~mingo/TUX-patches/" TARGET="_top" > http://people.redhat.com/~mingo/TUX-patches/</A >. To install a TUX patch use the following instructions: <P ></P ><OL TYPE="1" ><LI > <P > Download the latest TUX patch and userspace utilities from <A HREF="http://people.redhat.com/~mingo/TUX-patches/" TARGET="_top" >http://people.redhat.com/~mingo/TUX-patches/</A >. </P > </LI ><LI > <P > Apply the TUX patch to a vanilla 2.4.2 kernel tree with the command <TT CLASS="COMMAND" >patch -p0 < tux2-full-2.4.2-X6</TT > (where <TT CLASS="FILENAME" >tux2-full-2.4.2-X6</TT > is the TUX kernel patch). </P > </LI ><LI > <P > Use <TT CLASS="COMMAND" >make oldconfig</TT > to enable TUX in the kernel config, compile it, and boot into the TUX kernel. </P > </LI ><LI > <P > Compile and install the userspace utilities, where <TT CLASS="FILENAME" >tux-2.0.25</TT > is the version of TUX you want to install: <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="90%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMMAND" >tar xzvf tux-2.0.25.tar.gz cd tux-2.0.25 make make install</TT ></PRE ></TD ></TR ></TABLE > </P > </LI ><LI > <P > Create an <TT CLASS="FILENAME" >index.html</TT > file in <TT CLASS="FILENAME" >/var/www/html</TT >, the default document root directory. </P > </LI ><LI > <P > Start TUX with the command <TT CLASS="COMMAND" >service tux start</TT > (or <TT CLASS="COMMAND" >./tux.init start</TT > on Linux systems not running Red Hat Linux), and test the URL <TT CLASS="FILENAME" >http://localhost/</TT > with <B CLASS="APPLICATION" >lynx</B > or any Web browser. </P > </LI ></OL > </P > <DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="logfiles" >Log Files</A ></H2 > <P ></P ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="sys-requirements.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" > </TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Summary of System Requirements</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" > </TD ></TR ></TABLE ></DIV ></BODY ></HTML >