Differences between revisions 2 and 3
Revision 2 as of 2013-01-20 16:55:36
Size: 19328
Editor: HolgerLevsen
Comment: the previous edit should have this comment: lets get going! copy and paste from squeeze-manual
Revision 3 as of 2013-02-13 19:05:50
Size: 19354
Editor: ?David Prévot
Comment: Fix an URL, a typo, and point to other nonexistant images that look more like actual Wheezy ones
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
We recommend that you read or at least take a look at the [[http://www.debian.org/releases/Wheezy/releasenotes|release notes for Debian Wheezy]] before you start installing a system for production use. Please give Debian Edu/Skolelinux a try, it should just work. :-) We recommend that you read or at least take a look at the [[http://www.debian.org/releases/wheezy/releasenotes|release notes for Debian Wheezy]] before you start installing a system for production use. Please give Debian Edu/Skolelinux a try, it should just work. :-)
Line 19: Line 19:
FIXME: these download URLs need to be adopted for wheezy still...

 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-DVD.iso|debian-edu-6.0.6+r1-DVD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-DVD.iso|debian-edu-6.0.6+r1-DVD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-6.0.6+r1-DVD.iso debian-edu-6.0.6+r1-DVD.iso}}}
FIXME: these download URLs need to be adapted for wheezy still... They currently don't work

 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-DVD.iso|debian-edu-7.0.0+r0-DVD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-DVD.iso|debian-edu-7.0.0+r0-DVD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-7.0.0+r0-DVD.iso debian-edu-7.0.0+r0-DVD.iso}}}
Line 31: Line 31:
 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-CD.iso|debian-edu-6.0.6+r1-CD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-CD.iso|debian-edu-6.0.6+r1-CD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-6.0.6+r1-CD.iso debian-edu-6.0.6+r1-CD.iso}}}
 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-CD.iso|debian-edu-7.0.0+r0-CD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-CD.iso|debian-edu-7.0.0+r0-CD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-7.0.0+r0-CD.iso debian-edu-7.0.0+r0-CD.iso}}}
Line 41: Line 41:
 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-source-DVD.iso|debian-edu-6.0.6+r1-source-DVD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-6.0.6+r1-source-DVD.iso|debian-edu-6.0.6+r1-source-DVD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-6.0.6+r1-source-DVD.iso debian-edu-6.0.6+r1-source-DVD.iso}}}
 [[ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-source-DVD.iso|debian-edu-7.0.0+r0-source-DVD.iso]]

 [[http://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.0.0+r0-source-DVD.iso|debian-edu-7.0.0+r0-source-DVD.iso]]

 {{{rsync ftp.skolelinux.org::skolelinux-cd/debian-edu-7.0.0+r0-source-DVD.iso debian-edu-7.0.0+r0-source-DVD.iso}}}

Installation and download options

Where to find additional information

We recommend that you read or at least take a look at the release notes for Debian Wheezy before you start installing a system for production use. Please give Debian Edu/Skolelinux a try, it should just work. :-)

/!\ Be sure to read the getting started chapter of this manual, though, as it explains how to log in for the first time.

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

Download the installation media for Debian Edu 7.0.0+r0 Codename "Wheezy"

DVD for i386, amd64

The multi-architecture DVD ISO image is 4.4 GiB large and can be used for installation of amd64 and i386 machines. It can be downloaded over FTP, HTTP or rsync via:

FIXME: these download URLs need to be adapted for wheezy still... They currently don't work

CD for i386, amd64

The netinstall CD, which can be used for installation of i386 and amd64 as well, is available via

Source DVD

The sources are available via

Request a CD/DVD by mail

For those without a fast Internet connection, we can offer a CD or DVD sent 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.

Installing Debian Edu

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

Select type of installation

Installer boot menu

Install is the default text mode installation on i386 and amd64.
64 bit install does an amd64 text-mode install.
Graphical install uses the GTK installer where you can use the mouse.
64 bit graphical install uses the amd64 GTK installer where you can use the mouse.
Advanced options > gives a sub menu with more detailed options to choose
Help gives some hints on using the installer

Installer advanced options screen 1

Back.. brings back to the main menu.
Expert install gives access to all available questions in text mode.
Rescue mode makes this install medium become a rescue disk for emergency tasks.
Automated install needs a preseed file.
64 bit expert install gives access to all available questions in text mode on amd64.
64 bit rescue mode makes this install medium become a rescue disk for emergency tasks on amd64.
64 bit automated install needs a preseed file.

Installer advanced options screen 2

Graphical expert install gives access to all available questions in graphical mode.
Graphical rescue mode makes this install medium become a rescue disk for emergency tasks with a graphical GTK look.
Graphical automated install needs a preseed file.
64 bit graphical expert install gives access to all available questions in graphical mode on amd64.
64 bit graphical rescue mode makes this install medium become a rescue disk for emergency tasks on amd64 with a graphical GTK look.
64 bit graphical automated install needs a preseed file.

Installer help screen

This Help screen is self explaining and enables the <F>-keys on the keyboard for getting more detailed help on the topics described.

Additional boot parameters for installations

On i386/amd64, boot options can be edited by pressing the TAB key in the boot menu.

  • The multi-architecture DVD defaults to using amd64-installgui on 64-bit x86 machines, and installgui on 32-bit x86 machines.
  • If you want to boot the amd64 text mode with the multi-architecture DVD, that 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 multi-arch DVD on an amd64 machine you need to manually select install (text mode) or expertgui (graphical mode).

  • You can use an existing HTTP proxy service on the network to speed up the installation of the main server profile from CD. Add mirror/http/proxy=http://10.0.2.2:3128/ as an additional boot parameter.

  • If you have already installed the main server profile on a machine, further installations should be done via PXE, as this will automatically use the proxy of the main server.
  • To install the GNOME desktop instead of the KDE desktop, add desktop=gnome to the kernel boot parameters. This option is only available when installing from CD, not when installing from DVD.

  • To install the LXDE desktop instead, add desktop=lxde to the kernel boot parameters. This option is only available when installing from CD, not when installing from DVD.

The installation process

Remember the system requirements and make sure you have at least two network cards (NICs) if you plan on setting up a thin client server.

  • Choose a language (for the installation and the installed system)
  • Choose a location which normally should be the location where you live.
  • Choose a keyboard keymap (the country's default is usually fine)
  • Choose profile(s) from the following list:
    • Main-Server

      • This is the main server (tjener) for your school providing all services pre-configured to work out of the box. You must only install one main server per school! This profile does not include a graphical user interface. If you want a graphical user interface, then select Workstation or Thin-Client-Server in addition to this one.
    • Workstation

      • A computer booting from its local hard drive, and running all software and devices locally like an ordinary computer, except that user logins are authenticated by the main server, where the users' files and desktop profile are stored.
    • Roaming workstation

      • Same as workstation but capable of authentication using cached credentials, meaning it can be used outside the school network. The users' files and profiles are stored on the local disk. Notebooks and laptops should select this profile and not 'Workstation' or 'Standalone' as suggested in earlier releases.
    • Thin-Client-Server

      • A thin client (and diskless workstation) server, also called a LTSP server. Clients without hard drives 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. See the chapter about networked clients for more information on this subject. Choosing this profile also enables the workstation profile (even if it is not selected) - a thin client server can always be used as a workstation, too.

    • Standalone

      • An ordinary computer that can function without a main server (that is, it doesn't need to be on the network). Includes laptops.
    • Minimal

      • This profile 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 Main Server, Workstation and Thin Client Server profiles are preselected. These profiles can be installed on one machine together if you want to install a so called combined main server. This means the main server will be a thin client server and also be used as a workstation. This is the default choice, since we assume most people will install via PXE afterwards. Please note that you must have 2 network cards installed in a machine which is going to be installed as a combined main server or as a thin client server to become usefull after the installation.

  • Say "yes" or "no" to automatic partitioning. Be aware that saying "yes" will destroy all data on the hard drives! Saying "no" on the other hand will require more work - you will need to make sure that the required partitions are created and are big enough.
  • Please say "yes" to submitting information to http://popcon.skolelinux.org/ to allow us to know which packages are popular and should be kept for future releases. Although you don't have to, it is a simple way for you to help. :)

  • Wait. If the selected profiles include Thin-client-server then the installer will spend quite some time at the end, "Finishing the installation - Running debian-edu-profile-udeb..."
  • Be happy

Notes on some characteristics

A note on notebooks

Most likely you will want to use the 'Roaming workstation' profile (see above). Be aware that all data is stored locally (so take some extra care over backups) and login credentials are cached (so after a password change, logins may require your old password if you have not connected your laptop to the network and logged in with the new password).

A note on DVD installs

After 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 adding the following lines to it so that available security updates can be installed:

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

The DVD only works with KDE desktop installations. If you want to install other desktop options, use the netinst images or PXE installation.

A note on CD installs

A 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:

FIXME Check these numbers for Wheezy. They are 2012-01-22 for Lenny.

  • Main server: 8 out 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.
  • Minimal: 12 of 83 MiB downloaded.

A note on thin-client-server installations

First of all, this profile name is confusing for historic reasons. Currently this profile actually installs an LTSP server environment for thin-clients and for workstations. Debian bug 588510 has been filed to change the name of the profile into a better suited one.

Providing the kernel boot parameter edu-skip-ltsp-make-client makes it possible to skip the step which converts the LTSP chroot from a thin-client chroot into a combined thin-client/diskless workstation chroot.

This is useful in certain situations, such as if you want a pure thin client chroot or if there is already a diskless chroot on another server, which can be rsynced. For these situations skipping this step will cut down the installation time considerably.

Except for the longer installation time there is no harm in always creating combined chroots, which is why this is done by default.

Installation using USB sticks instead of CD/DVDs

Since the Squeeze release it is possible to directly copy the CD/DVD .iso images to a USB stick and boot from them. Simply execute a command like this, just adapting the file and device names to your needs:

sudo dd if=debian-edu-amd64-i386-XXX.iso of=/dev/sdX bs=1024

Depending on which image you choose, the USB stick will behave just like a CD or DVD.

Installation over the network (PXE) and booting diskless clients

For this installation method it is required that you have a running main server. When clients boot via the main network, a new PXE menu with installer and boot selection options is displayed. If PXE installation fails with an error message claiming a XXX.bin file is missing, then most probably the client's network card requires nonfree firmware. In this case the Debian Installer's initrd must be modified. This can be achieved by executing the command: /usr/share/debian-edu-config/tools/pxe-addfirmware  on the server.

This is how the PXE menu looks with the Main-Server profile only:

pxe-tjener.png

This is how the PXE menu looks with the Main-Server and Thin-Client-Server profiles:

28-Diskless-WS-GRUB_Boot_menu-PXE.png

This setup also allows diskless workstations and thin clients to be booted on the main network. Diskless workstations must be added with GOsa² just like normal workstations or thin client servers.

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

Modifying PXE installations

The PXE installation uses a debian-installer preseed file, which can be modified to ask for more packages to install.

A 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)

The PXE installation uses /var/lib/tftpboot/debian-edu/install.cfg and the preseeding file in /etc/debian-edu/www/debian-edu-install.dat. These files can be changed to adjust the preseeding used during installation, to avoid more questions when installing over the net. Another way to achieve this is to provide extra settings in /etc/debian-edu/pxeinstall.conf and /etc/debian-edu/www/debian-edu-install.dat.local and to run /usr/sbin/debian-edu-pxeinstall to update the generated files.

Further information can be found in the manual of the Debian Installer.

To disable or change the use of the proxy when installing via PXE, the lines containing mirror/http/proxy, mirror/ftp/proxy and preseed/early_command in tjener:/etc/debian-edu/www/debian-edu-install.dat  need to be changed. To disable the use of a proxy when installing, put '#' in front of the first two lines, and remove the "export xhttp_proxy="http://webcache:3128"; " part from the last one.

Some settings can not be preseeded because they are needed before the preseeding file is downloaded. These are configured in the PXElinux-based boot arguments available from /var/lib/tftproot/debian-edu/install.cfg. Language, keyboard layout and desktop are examples of such settings.

Custom CD/DVDs

Creating custom CDs or DVDs can be quite easy since we use the debian installer, which has a modular design and other nice features. Preseeding allows you 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.

Screenshot tour

The text mode and the graphical installation are functionally identical - only the appearance is different. The graphical mode offers the opportunity to use a mouse, and of course looks much nicer and more modern. Unless the hardware has trouble with the graphical mode, there is no reason not to use it.

So here is a screenshot tour through a graphical Main-Server + Workstation + Thin Client Server installation and how it looks at the first boot of the tjener, a PXE boot on the workstation network and on the thinclient network:

FIXME: these screenshots need to be redone once we have wheezy artwork

01-Installer_boot_menu.png

02-select_a_language.png

03-select_your_location.png

04-Configure_the_keyboard.png

05-Detect_and_mount_CD-ROM.png

06-Load_installer_components_from_CD.png

07-Detect_network_hardware.png

08-Choose_Debian_Edu_profile.png

09-Really_use_the_automatic_partitioning_tool.png

10-Really_use_the_automatic_partitioning_tool-Yes.png

11-Participate_in_the_package_usage_survey.png

12-Set_up_users_and_passwords.png

12a-Set_up_users_and_passwords.png

12b-Set_up_users_and_passwords.png

12c-Set_up_users_and_passwords.png

13-Install the base system.png

14-Select_and_install_software.png

17-Select_and_install_software.png

18-Build LTSP chroot.png

19-Install_the_GRUB_boot_loader_on_a_hard_disk.png

20-Finish_the_Installation.png

21-Finish_the_Installation-Installation_complete.png

22-Tjener_GRUB_boot_menu.png

23-Tjener-KDM_Login.png

24-Tjener-KDE_Start.png

26-Tjener-KDE_Desktop_Browser.png

27-Tjener-KDE_Desktop.png

28-Diskless-WS-GRUB_Boot_menu-PXE.png

[ATTACH]

[ATTACH]

31-ThinClient-KDE_Desktop.png

CategoryPermalink