Differences between revisions 24 and 25
Revision 24 as of 2009-11-26 18:55:55
Size: 10707
Editor: HolgerLevsen
Comment:
Revision 25 as of 2009-12-03 14:22:21
Size: 10960
Editor: HolgerLevsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
  * The {{{debian-edu-expert}}} boot-option adds the barebone profile to the profile options, and switches to manual partitioning. Enter {{{installgui debian-edu-expert}}} or {{{install debian-edu-expert}}} at the syslinux/yaboot prompt to enter expert mode.   * The {{{debian-edu-expert}}} boot-option (which is selectable in the boot menu) adds the barebone profile to the profile options, and switches to manual partitioning. Enter {{{installgui debian-edu-expert}}} or {{{install debian-edu-expert}}} at the syslinux/yaboot prompt to enter expert mode.
Line 50: Line 50:
  * to install the '''GNOME''' desktop instead of the '''KDE''' desktop, add {{{desktop=gnome}}} to the kernel boot params. The kernel boot params can be edited by pressing the ''tabulator-key'' in the boot menu.

Installation

Where to find additional information

We recommend to read or at least take a look at the release notes for Debian Lenny before you start installing a system for production use. If you just want to give Debian Edu/Skolelinux a try, you don't have to though, it should just work :-)

Even more information about the Debian Lenny release is available in its installation manual.

Download an installation media for Debian Edu 5.0.3+edu0 Codename "Lenny"

DVDs for i386, amd64 and powerpc

The multiarch dvd ISO image is 4.4 GiB large. To download it, use either of these methods:

  • ftp://ftp.skolelinux.org/cd-lenny-dvd/debian-edu-amd64-i386-DVD-1.iso

    http://ftp.skolelinux.org/cd-lenny-dvd/debian-edu-amd64-i386-DVD-1.iso

    rsync ftp.skolelinux.org::cd-lenny-dvd/debian-edu-amd64-i386-DVD-1.iso

or for the netinstall cd you can download

  • ftp://ftp.skolelinux.org/cd-lenny-amd64-i386-powerpc-netinst/debian-edu-amd64-i386-powerpc-NETINST-1.iso

    http://ftp.skolelinux.org/cd-lenny-amd64-i386-powerpc-netinst/debian-edu-amd64-i386-powerpc-NETINST-1.iso

    rsync ftp.skolelinux.org::cd-lenny-amd64-i386-powerpc-netinst/debian-edu-amd64-i386-powerpc-NETINST-1.iso

The powerpc port has not been tested as much as the other architectures, though it should work just fine and has been reported to work. Still, we consider the port an experimental release of Debian Edu, which we might not be able to support as the other archs.

FIXME: The source code for this release is not available now. The fix is to build a source DVD.

Request a CD/DVD by mail

For those without a fast internet connection, we offer to send you a CD or DVD for the cost of the CD or DVD and shipping. Just send an email to cd@skolelinux.no and we will discuss the payment details (for shipping and media) :) Remember to include the address you want the CD or DVD to be sent to in the email.

Installation options explained

When you do an Debian Edu installation you have a few options to choose. But don't be afraid, there aren't many. We have done a good job hiding the complexity of Debian during the installation and beyond. However, Debian Edu is Debian, and if you want there are more than 15000 packages to choose from and a billion configuration options. But for the majority of our users, our defaults should be fine.

  • Normal graphical installation is the default on i386 and amd64. The powerpc installer does not support graphical installation. Enter install at the boot prompt to do an i386 text-mode install.

    • The debian-edu-expert boot-option (which is selectable in the boot menu) adds the barebone profile to the profile options, and switches to manual partitioning. Enter installgui debian-edu-expert or install debian-edu-expert at the syslinux/yaboot prompt to enter expert mode.

    • If you want to boot the amd64 text mode with the multiarch DVD it would be amd64-install. Likewise you can choose amd64-expertgui to get the GUI version on amd64.

    • If you want to boot the i386 mode with the multiarch DVD on an amd64 machine you need to manually select install (text mode) or expertgui (graphical mode). The multiarch DVD defaults to use amd64-installgui on x86 64-bits machines, and installgui on x86 32-bits machines.

    • If you have already installed the mainserver profile on a machine, you can use its http proxy service to speed up the following installations from CD. Add d-i mirror/http/proxy string http://10.0.2.2:3128/ as additional boot-option.

    • to install the GNOME desktop instead of the KDE desktop, add desktop=gnome to the kernel boot params. The kernel boot params can be edited by pressing the tabulator-key in the boot menu.

  • Choose a language (for the installation and the installed system)
  • Choose a time-zone
  • Choose a keyboard keymap (usually the countrys default is fine)
  • Choose a profile:

    • server
      • This is the main server (tjener) for your school providing the following services: file, print, intranet, proxy, DNS, DHCP, LDAP, backup, nagios, simesummary, munin. All services are pre-configured and working out of the box. You must only install one main server per school!
    • workstation
      • A computer booting from its local hard drive, and running all software and devices locally like an ordinary computer, but the user login is authenticated by the main server, where the user's files and desktop profile are stored.
    • thin client server
      • Thin client (and diskless workstation) server. Clients with no hard drive boot and run software from this server. This computer needs two network cards, a lot of memory, and ideally more than one processor or core. Out of the box, this profile installs a thin client server. To turn it into a diskless workstation server you need to follow this HowTo. (Fixme: integrate this HowTo into this chapter of the manual.)

    • standalone
      • An ordinary computer that can function without a main server, ie. doesn't need to be on the network. Includes laptops.
    • barebone
      • This profile is only available when using the 'debian-edu-expert' boot option. It will install the base packages and configure the machine to integrate into the Debian Edu network, but without any services and applications. It is useful as a platform for single services manually moved out from the main-server.
    The first 3 profiles can all be installed on the same machine. That means the main server can also be a thin client server and can be used as a workstation.
  • say yes to automatic partioning, it will destroy the data on the harddrives!
  • say yes to partman
  • please say yes to submit information to http://popcon.skolelinux.org/ - though you dont have to :)

  • wait
    • if thin client server is among the selected profiles, the installer will spent quite some time at the end, "Finishing the installation - Running debian-edu-profile-udeb..."
  • be happy

A note on manual partitioning

If you decide to do manual partitioning for the main-server, you need to make sure that the directory /skole/tjener/home0 exists, probably by mounting a partition there. If you don't create that directory you will only be able to login as root. The reason is that the user creation system require this directory to exist to be able to create users home directories, and without a users home directory the user can not log in.

A note on notebooks

In principal it makes sense to either install notebooks with the workstation or with the standalone profile. But keep in mind, that the workstation profile uses LDAP for the user accounts and NFS for the home directories, so those workstations will only work while in the network where they can access the server. If you plan to use your laptop at home or on the road, choose the standalone profile.

It is possible to reconfigure workstations to cache authentication information and sync the home directories to local disk (and resync to the server when in the network) with unison, but there is currently no howto available for this.

A note on DVD installs

If you install from a DVD /etc/apt/sources.list will only contain sources from the DVD. If you have an internet connection we strongly suggest to add the following lines to it, so that available (security) updates can be installed:

deb http://ftp.debian.org/debian/ lenny main 
deb http://security.debian.org/ lenny/updates main 
deb http://ftp.skolelinux.org/skolelinux lenny local

A note on CD installs

The netinst installation (which is the type of installation our CD provides) will fetch some packages from the CD and the rest from the net. The amount of packages fetched from the net varies from profile to profile:

  • Main server: 8 of 115 MiB downloaded.
  • Main server and Thin client server: 618 of 1082 MiB downloaded.
  • Main server and Workstation: 618 of 1081 MiB downloaded.
  • Thin client server: 618 of 1052 MiB downloaded.
  • Workstation: 618 of 1051 MiB downloaded.
  • Standalone: 618 of 1020 MiB downloaded.
  • Barebone: 12 of 83 MiB downloaded.

Custom CD/DVDs

Creating custom CDs or DVDs is quite easily possible, since we use the debian installer, which has a modular design and other nice features. Preseeding allows to define answers to the questions normally asked.

So all you need to do is to create a preseeding file with your answers (this is described in the appendix of the debian installer manual) and remaster the CD/DVD.

Installation over the network (PXE) and booting diskless clients

PXE installation and diskless clients requiere tjener, the main server, to be installed and set up.

When clients (whether those are clients to be installed or diskless clients of both kinds, thin clients or diskles workstations, doesn't matter) boot via the network, a new PXE menu with installer and boot selection options is displayed. Thin clients and diskless workstation still boot automatically as before on the thin client network without such PXE menu.

More information about network clients can be found in the Network clients HowTo chapter.

Modifying PXE installations

The PXE installation is using a debian-installer preseed file, and this file can be modified to ask for more packages to install.

The line like the following needs to be added to tjener:/etc/debian-edu/www/debian-edu-install.dat 

  d-i    pkgsel/include string my-extra-package(s)

Screenshot tour

Here is a screenshot tour through a main-server + thin-client-server installation:

debian-edu-lenny-01-bootoption.png

debian-edu-lenny-02-language.png

debian-edu-lenny-03-location.png

debian-edu-lenny-04-keymap.png

debian-edu-lenny-05-timezone.png

debian-edu-lenny-06-profile.png

debian-edu-lenny-07-partitioning.png

debian-edu-lenny-08-popcon.png

debian-edu-lenny-09-rootpw.png

debian-edu-lenny-10-basesystem.png

debian-edu-lenny-11-software.png

debian-edu-lenny-12-finish.png

debian-edu-lenny-13-grub.png

debian-edu-lenny-14-splash.png

debian-edu-lenny-15-kdm.png

CategoryPermalink