Install/Debian

From TcosProject

Jump to: navigation, search


Image:Vlc.png We are working on this wiki page, please come here later !

Install TCOS in Debian or Ubuntu distro


Contents

[edit] Prerequisites

[edit] Hardware Requirements

  • Pentium IV, Intel Core 2 Duo, AMD dual.
  • 500 Mb of RAM + 80 Mb * number of thin clients
  • 1 or more network cards
  • Thin clients:
* Almost Pentium I 166 (recomended > Pentium II 350)
* Almost 64 Mb of RAM (TCOS can run with 24 MB ussing NFS and local swap)
* Network card (recomended 100Mbps and PXE support)
  • Network:
* Almost one network 10/100 Mbps switch, and if you have more than 20 thin clients a scheme like this:
Network scheme with 2 net cards
Network scheme with 2 net cards

[edit] Software Requirements

  • Linux distro
  • Debian etch 4.0
  • Debian testing (aka lenny)
  • Debian unstable
  • Ubuntu Dapper (6.06)
  • Ubuntu Edgy (6.10)
  • Ubuntu Feisty (7.04)
  • Ubuntu Gutsy (7.10)
  • Ubuntu Hardy (8.04)
  • Other distro based on Debian or Ubuntu:
  • MaX (v3.0) based on Ubuntu Dapper
  • Guadalinex (v4) based on Ubuntu Edgy
  • MaX (v4.0) based on Ubuntu Hardy
  • Desktop:
  • KDE
  • GNOME
  • Xfce4
  • any other
  • A generic kernel to build thin client images.
Table of default kernels
Distro and version Default Kernel
Debian Etch 4.0 2.6.18-6-486
Debian Unstable (sid) 2.6.25-2-486
Ubuntu Dapper (6.06) 2.6.15-29-386
Ubuntu Edgy (6.10) 2.6.17-12-generic
Ubuntu Feisty (7.04) 2.6.20-15-generic
Ubuntu Gutsy (7.10) 2.6.22-10-generic
Ubuntu Hardy (8.04) 2.6.24-18-generic

Image:Button ok.png TIP: You can use any other kernel but these are recomended.

Image:Messagebox info.png NOTE: There isn't any reason to use in server same kernel version that thin clients use, please use *-686 or *-k7 kernels in server, that have better perfomance and support more RAM

[edit] Install packages

Image:Messagebox info.png NOTE: TCOS images usually should be 32bits, if your server is installed with other architecture (for ex amd64)

See: Install/OtherArchs

First of all you need to import my GPG key and add one line to sources.list,
you can see all avalaible mirrors in Packages section

Install with apt-get, aptitude or synaptic:

apt-get install tcos

Image:Button ok.png TIP: Perhaps you need to create /tftpboot dir and exec: dpkg-reconfigure initramfs-tools-tcos after installing, TCOS will never create non standard directories

tcos metapackage will install some tools:

  • dhcp3-server | dhcp-server
  • atftpd | tftpd-hpa
  • openbsd-inetd | netkit-inetd | inetutils-inetd
  • syslinux
  • xfs
  • ....

Image:Messagebox info.png NOTE: Hey I have installed on server my NVIDIA/ATI propietary drivers, and TCOS package will try remove them!!!

See: Install/TCOS_and_propietary_drivers

Next we have to install unionfs and squashfs modules, in Ubuntu isn't necesary because default kernel have them, but in Debian we can try to install precompiled modules:

apt-get install tcos-extra-modules-2.6.18-5-486

or build:

apt-get install build-essential module-assistant linux-headers-2.6.18-5-486
m-a -t -k /usr/src/linux-headers-2.6.18-5-486/ build unionfs squashfs
m-a -t -k /usr/src/linux-headers-2.6.18-5-486/ install unionfs squashfs

Image:Button ok.png TIP: If you want to use another kernel you can change in /etc/tcos/tcos.conf


Optionally we can install some other tools:

  • x11vnc
  • freenx
  • alsa-base alsa-utils
  • pulseaudio pulseaudio-utils libflashsupport
  • paman pavucontrol pavumeter
  • ltspfs-client
  • ltspfs-server
  • tcos-server-utils
  • tcosmonitor (Remote management support)
  • tcosconfig (GUI Wizard to build images)


Image:Messagebox info.png NOTE: Installed sucessfully?, then go to configure article