Debian Edu / Skolelinux Jessie 8.0+edu0 Manual 19/03/2015


Tabla de contenidos

1. Manual for Debian Edu 8.0+edu0 Codename Jessie
2. Acerca de Debian Edu y Skolelinux.
2.1. Un poco de historia, y el porqué de dos nombres
3. Arquitectura
3.1. Red
3.1.1. La configuración de red predeterminada
3.1.2. Servidor principal (tjener)
3.1.3. Servicios que corren en el servidor principal
3.1.4. Servidor(es) LTSP (Servidor(es) de cliente(s) ligero(s))
3.1.5. Clientes ligeros
3.1.6. Estaciones sin disco
3.1.7. Clientes en red.
3.2. Administración
3.2.1. Instalación
3.2.2. Configuración del acceso al sistema de archivos
4. Requisitos
4.1. Requisitos de hardware
4.2. Hardware conocido que funciona
5. Requerimientos para una instalación de red
5.1. Configuración por defecto
5.2. Enrutador de Internet
6. Instalación y opciones de descarga
6.1. Donde encontrar información adicional
6.2. Download the installation media for Debian Edu 8.0+edu0 Codename "Jessie"
6.2.1. Imagen en CD de instalación por red para i386, amd64
6.2.2. Imagen ISO para arquitectura i386 y amd64 en dispositivos USB y Blue-ray
6.2.3. Imagen del código fuente
6.3. Solicite un CD / DVD por correo
6.4. Instalacion de Debian Edu
6.4.1. Seleccione el tipo de instalación
6.4.2. El proceso de instalación
6.4.3. Notas en algunas características
6.4.4. Instalación utilizando memorias USB lugar de CD / Blue-ray
6.4.5. Instalación a través de la red (PXE) e inicio de estaciones sin disco.
6.4.6. Imágenes personalizadas
6.5. Captura de pantalla del paseo
7. Iniciando
7.1. Pasos mínimos para iniciar
7.1.1. Servicios que corren en el servidor principal
7.2. Introducción a GOsa²
7.2.1. GOsa² Login plus Overview
7.3. Gestión de usuarios con GOsa²
7.3.1. Agregar usuarios
7.3.2. Buscar, modificar y borrar usuarios
7.3.3. Establecer contraseñas
7.3.4. Administración avanzada de usuarios
7.4. Gestión de usuarios con GOsa²
7.4.1. Gestión de grupos en la linea de comando
7.5. Administración de equipos con GOsa²
7.5.1. Buscar y eliminar computadoras
7.5.2. Modificar equipos existentes / Manejo del grupo de red
8. Printer Management
9. Sincronización del reloj
10. Redimensionando particiones completas
11. Maintenance
11.1. Actualizar el software
11.1.1. Mantente informado sobre actualizaciones de seguridad
11.2. Gestión de las copias de seguridad
11.3. Monitorización del servidor
11.3.1. Munin
11.3.2. Nagios
11.3.3. Sitesummary
11.4. Más información sobre personalizaciones de Debian Edu
12. Actualizaciones
12.1. Notas generales sobre la actualización
12.2. Actualizar desde Debian-Edu Wheezy
12.2.1. Upgrade the server side
12.2.2. Upgrade LTSP chroot (default arch i386)
12.2.3. Recrear un chroot LTSP
12.3. Actualizar desde instalaciones antiguas de Debian-Edu / Skolelinux (antes que Wheezy)
13. Guías
14. Guías para administración general
14.1. Seguimiento de /etc usando el sistema de control de versiones git
14.1.1. Ejemplos de uso
14.2. Redimensionando Particiones
14.2.1. Gestión de volúmenes lógicos
14.3. Installing a graphical environment on the main-server to use GOsa²
14.4. Usar ldapvi
14.5. JXplorer, una interfaz gráfica para LDAP
14.6. ldap-createuser-krb, una herramienta para línea de comando
14.7. Using stable-updates
14.8. Using backports.debian.org to install newer software
14.9. Actualizar con un CD o similar
14.10. Automatic cleanup of leftover processes
14.11. Instalación automática de actualizaciones de seguridad
14.12. Apagado automático de las computadoras durante la noche
14.12.1. Como configurar shutdown-at-night
14.13. Acceso a servidores Debian-Edu ubicados detrás de un firewall
14.14. Installing additional service machines for spreading the load from main-server
14.15. HowTos de wiki.debian.org
15. Advanced administration
15.1. Personalizaciones de usuarios con GOsa²
15.1.1. Create Users in Year Groups
15.2. Other User Customisations
15.2.1. Crear directorios en el directorio home de los usuarios
15.2.2. Fácil acceso a dispositivos USB y CDROMs/DVDs
15.3. Use a dedicated storage server
15.4. Restrict ssh login access
15.4.1. Setup without LTSP clients
15.4.2. Setup with LTSP clients
15.4.3. A note for more complex setups
16. HowTos for the desktop
16.1. Modificar la pantalla de inicio de KDM
16.2. Using KDE "Plasma", GNOME, LXDE, Xfce and/or MATE together
16.3. Flash
16.4. Reproducir DVDs
16.5. Uso del repositorio multimedia
16.6. Handwriting fonts
17. HowTos para clientes en red
17.1. Introducción a clientes ligeros y estaciones de trabajo sin disco
17.1.1. LTSP client type selection
17.2. Configurar el menú PXE
17.2.1. Configurar la instalación de PXE
17.2.2. Agregar un repositorio personalizado para instalaciones PXE
17.2.3. Cambiar el menú PXE en un servidor combinado (servidor principal y LTSP)
17.2.4. Separate main and LTSP server
17.2.5. Use a different LTSP client network
17.3. Changing network settings
17.4. LTSP en detalle
17.4.1. Configuración del cliente LTSP en LDAP (y en lts.conf)
17.4.2. Force all thin clients to use LXDE as default desktop environment
17.4.3. Load-balancing LTSP servers
17.4.4. Sonido con clientes LTSP
17.4.5. Actualización del entorno LTSP
17.4.6. Slow login and security
17.5. Reemplazar LDM con KDM
17.6. Connecting Windows machines to the network / Windows integration
17.6.1. Joining a domain
17.6.2. XP home
17.6.3. Managing roaming profiles
17.6.4. Redirecting profile directories
17.6.5. Avoiding roaming profiles
17.7. Remote Desktop
17.7.1. Remote Desktop Service
17.7.2. Clientes de escritorio remoto disponible
17.8. HowTos de wiki.debian.org
18. Samba en Debian Edu
18.1. Cómo empezar
18.1.1. Acceder los archivos mediante Samba
18.2. Domain Membership
18.2.1. Windows hostname
18.2.2. Unirse al dominio SKOLELINUX con Windows XP
18.2.3. Unirse al dominio SKOLELINUX con Windows Vista/7
18.3. First Domain Logon
19. HowTos for teaching and learning
19.1. Moodle
19.2. Teaching Prolog
19.3. Monitoring pupils
19.4. Restricting pupils' network access
19.5. Smart-Board integration
19.5.1. Providing the repository on tjener
19.5.2. Add the needed packages to the PXE installation image
19.5.3. Adding the SmartBoard software manually after installation
19.6. HowTos de wiki.debian.org
20. HowTos for users
20.1. Changing passwords
20.2. Java
20.2.1. Running standalone Java applications
20.2.2. Running Java applications in the web browser
20.3. Using email
20.3.1. KMail
20.3.2. Icedove
20.3.3. Obtener un ticket Kerberos para leer correos en las estaciones de trabajo sin disco
20.4. Volume control
21. Contribuir
21.1. Déjenos saber que existes
21.2. Contribute locally
21.3. Contribuye a nivel global
21.4. Documentación para editores y traductores
22. Soporte
22.1. Soporte basado en voluntarios
22.1.1. in English
22.1.2. in Norwegian
22.1.3. in German
22.1.4. in French
22.1.5. in Spanish
22.2. Soporte profesional
23. Nuevas características en Debin Edu Jessie
23.1. New features for Debian Edu 8.0+edu0 Codename Jessie released 2015-XX-YY
23.1.1. Installation changes
23.1.2. Actualizaciones de software
23.1.3. Actualizaciones en documentación y traducciones
23.1.4. LDAP related changes
23.1.5. Other changes
23.1.6. Known issues
24. Copyright y authores
25. Copyright de la traducción y Autores
26. Traducciones de este documento
26.1. HowTo translate this document
27. Appendix A - The GNU General Public License
27.1. Manual for Debian Edu 8.0+edu0 Codename "Jessie"
27.2. LICENCIA PUBLICA GENERAL GNU
27.3. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
28. Apéndice B - Aún no hay CD/DVDs vivo de Debian Edu Jessie
28.1. Features of the Standalone image
28.2. Features of the Workstation image
28.3. Activando el soporte regional y traducciones
28.4. Cosas para saber
28.5. Problemas conocidos con la imágen
28.6. Descarga
29. Apéndice C - Características de publicaciones anteriores
29.1. New features in Debian Edu 7.1+edu0 Codename Wheezy released 2013-09-28
29.1.1. User visible changes
29.1.2. Installation changes
29.1.3. Actualizaciones de software
29.1.4. Actualizaciones en documentación y traducciones
29.1.5. LDAP related changes
29.1.6. Other changes
29.1.7. Known issues
29.2. Cambios en Debian Edu 6.0.7+r1 nombre código "Squeeze" publicado el 03-03-2013
29.3. New features in Debian Edu 6.0.4+r0 Codename "Squeeze" released 2012-03-11
29.3.1. User visible changes
29.3.2. Installation changes
29.3.3. Actualizaciones de software
29.3.4. Infrastructural changes
29.3.5. Actualizaciones en documentación y traducciones
29.3.6. Regressions
29.3.7. New administration tool: GOsa²
29.3.8. More software changes
29.3.9. Other LDAP related changes
29.3.10. Other changes
29.4. Nuevas características en 5.0.6+edu1 nombre código "Lenny", publicado el 05-10-2010
29.5. Nuevas características en Debian Edu 5.0.4+edu0 "Lenny" publicado el 2010-02-08
29.6. Nuevas características en Debian 5.0.4, sistema en el cual esta basado Debian Edu 5.0.4+edu0
29.7. Características nuevas en la versión "3.0 Terra" publicado el 12-05-2007
29.8. New features in the "3.0r0 Terra" release 2007-07-22
29.9. Características de la versión 2.0 publicada el 14-03-2006
29.10. Características de la versión "1.0 venus" publicado el 20-06-2004
29.11. Más información sobre versiones más anteriores

1. Manual for Debian Edu 8.0+edu0 Codename Jessie

Inicio de sesión de Debian Edu

This is the manual for the Debian Edu Jessie 8.0+edu0 release.

La versión en http://wiki.debian.org/DebianEdu/Documentation/Jessie es un wiki actualizado frecuentemente.

Las Traduccionesson parte del paquete debian-edu-doc que puede ser instalado en un servidor web, y que está disponible en línea.

2. Acerca de Debian Edu y Skolelinux.

Debian Edu a.k.a Skolelinux es una distribución basada en Debian, proporcionando un ambiente "fuera de la caja", completamente configurado para una red escolar.

Inmediatamente después de la instalación, el servidor de la escuela ejecutará todos los servicios necesarios para que la red escolar sea funcional (vea el siguiente capítulo detalles de la arquitectura de esta configuración), y estará lista para agregar usuarios y equipos vía GOsa², que una interfaz de usuario web cómoda, o cualquier otro editor de LDAP. Un ambiente de carga por red es preparado usando PXE, así, después de la instalación inicial del servidor principal desde CD, Blue-ray o unidad USB, las otras computadoras pueden ser instaladas a través de la red, esto incluye "estaciones de trabajo itinerantes" (pueden ser llevadas fuera de la red escolar, usualmente laptops o netbooks) y carga por PXE para computadoras sin disco duro como los tradicionales clientes ligeros.

Múltiples aplicaciones educativas como celestia, drgeo, gcompris, kalzium, kgeography, solfege y scratch, han sido incluidas en el escritorio predeterminado, el cual puede fácilmente ser extendido casi ilimitadamente, vía el universo Debian.

2.1. Un poco de historia, y el porqué de dos nombres

Skolelinux es una distribución de Linux, hecha por el proyecto Debian Edu. Siendo una distribución mezclada de Debian es un sub-proyecto oficial de Debian

Lo que esto significa, es que Skolelinux es una versión de Debian que proporciona un ambiente "out of the box" de una red escolar completamente configurada.

El proyecto Skolelinux fué fundado en Noruega el 2 de julio de 2001, y casi a la vez Raphaël Hertzog iniciaba el proyecto Debian Edu en Francia. Desde el 2003, ambos proyectos trabajaron unidos, aunque los nombres permanecieron separados. "Skole" y (Debian-)"Educativo" son dos términos bien conocidos en estas regiones.

En Noruega, donde Skolelinux se inició, el grupo principal de alcance son las escuelas con grupos de estudiantes desde los 6 a 16 años. Actualmente, el sistema es utilizado en muchos países alrededor del mundo, con un número mayor en Noruega, España, Alemania y Francia.

3. Arquitectura

Esta sección del documento describe la arquitectura de red y los servicios proporcionados por una instalación Skolelinux.

3.1. Red

La Topología de red de Debian Edu

La figura es un esquema propuesto de la topología de red. La configuración predeterminada de Skolelinux asume que hay un (y sólo uno) servidor principal, y permite incluir tanto servidores de clientes ligeros (con clientes ligeros asociados) como estaciones de trabajo. El número de estaciones de trabajo puede ser tan grande o pequeña como se quiera (desde ninguno a muchísimos). Lo mismo para los servidores de clientes ligeros, cada uno de los cuales está en una red separada, de forma que el tráfico entre los clientes ligeros y su servidor no afecte al resto de los servicios de red.

La razón por la que sólo puede haber un servidor principal en cada red es que el servidor principal proporciona DHCP, y sólo puede haber una máquina haciendo eso en cada red. Es posible trasladar servicios del servidor principal a otras máquinas configurando el servicio en otra máquina, y posteriormente, actualizando la configuración de DNS para que apunte al alias DNS de ese servicio a la máquina correcta.

Para simplificar la configuración estándar de Skolelinux, la conexión a Internet va sobre un router separado. Se puede configurar Debian con un módem o una conexión RDSI, sin embargo no se ha intentando hacer tal configuración para Skolelinux por defecto.(las modificaciones necesarias para ajustar la configuración por defecto a esta situación deberían documentarse por separado).

3.1.1. La configuración de red predeterminada

El DHCP en el servidor «Tjener» sirve la red 10.0.0.0/8 vía PXE Boot, en la que recibirá un menú de syslinux done podrá seleccionar si instalar un servidor nuevo / estación de trabajo, iniciar un cliente delgado, estación sin disco, prueba de memoria o iniciar desde disco local.

Esto está diseñado para ser modificado, es decir, usted puede tener la raíz NFS en en el punto syslinux a uno de los servidores LTSP o cambiar la opción next-server (almacenado en LDAP) del servicio DHCP para que los clientes puedan arrancar por medio de PXE desde el servidor de terminales.

El servicio DHCPD en el servidor LTSP únicamente ofrece una red dedicada en la segunda interfaz (las opciones preconfiguradas son 192.168.0.0/24 y 192.168.1.0/24) y raramente necesitan ser cambiadas.

La configuración de todas las subredes es almacenada en LDAP.

3.1.2. Servidor principal (tjener)

Una red Skolelinux necesita un servidor principal (también llamado "tjener" que significa "servidor" en Noruego) que por defecto tenga la dirección IP 10.0.2.2 y sea instalado seleccionando el perfil servidor principal. Es posible (pero no requerido) seleccionar e instalar también los perfiles de servidor de cliente ligero y estación de trabajo al perfil de servidor principal.

3.1.3. Servicios que corren en el servidor principal

Con la excepción del control de los clientes ligeros, todos los servicios se configuran inicialmente en un ordenador central (el servidor principal). Debido a razones de rendimiento, el servidor de clientes ligeros debe ser una máquina separada (aunque se pueden instalar juntos en la misma máquina los perfiles de servidor principal y servidor de clientes ligeros). Todos los servicios tienen un nombre de DNS y se ofrecen únicamente sobre IPv4. Los nombres de DNS para los servicios hacen fácil el traslado a máquinas individuales de cada uno de ellos. Tan sólo hay que parar el servicio en el servidor principal, y cambiar la configuración de DNS para apuntar a la nueva ubicación del servicio (que, evidentemente, debe configurarse antes en esa máquina).

Para garantizar la seguridad, siempre q ue se transmitan contraseñas por la red, se hace en canal encriptado. Por tanto, no se envía ninguna contraseña en texto plano.

Abajo se encuentra una lista de los servicios que se tienen por defecto en una red Skolelinux, con el nombre de DNS en cada servicio, Si es posible, todos los archivos de configuración harán referencia al servicio por su nombre (sin el nombre del dominio), haciendo más fácil para las escuelas el cambio de dominio (si se tiene un dominio DNS) o la dirección IP que utilizan.

Tabla de servicios

Descripción de servicios

Nombre común

Nombre de servicio DNS

Registros centralizados

rsyslog

syslog

Sistema de Nombre de Dominio

DNS (BIND)

domain

Configuración automática de equipos

DHCP

bootps

Sincronización de reloj

NTP

ntp

Directorios de usuarios vía sistema de archivos de red

SMB / NFS

homes

Correo Electrónico

IMAP (Dovecot)

postoffice

Servicio de Directorio

OpenLDAP

ldap

Administración de usuarios

GOsa²

---

Servidor Web

Apache/PHP

www

Respaldo Central

sl-backup, slbackup-php

backup

Caché Web

Proxy (Squid)

webcache

Impresión

CUPS

ipp

Inicio de sesión remoto seguro

OpenSSH

ssh

Configuración Automática

Cfengine

cfengine

Servidor(es) de clientes ligeros

LTSP

ltsp

Monitoreo de servicios y equipos, reportes de fallas, histórico vía web. Reportes de fallos vía correo.

munin, nagios y site-summary

munin, nagios y site-summary

Cada usuario almacena sus archivos personales en su directorio home que está disponible en el servidor. Los directorios Home están accesibles desde todas las máquinas, dando a los usuarios acceso independientemente del puesto que estén usando. El servidor opera sin importar el sistema operativo. Ofrece tanto NFS para clientes UNIX, como SMB para Windows y clientes Macintosh.

Por defecto, el correo está configurado para envío local (dentro de la escuela), aunque se puede configurar el envío a todo Internet si la escuela tiene una conexión a Internet fija. Las listas de correo están configuradas utilizando la información en la base de datos de usuario, dando a cada clase su propia lista de correo. Los clientes están configurados para enviarcorreo al servidor (usando 'smarthost'), y los usuarios pueden acceder a su correo personal mediante IMAP.

Todos los servicios usan el mismo nombre de usuario y contraseña, gracias a la base de datos centralizada para autenticación y autorización de usuarios.

Para incrementar el rendimiento al acceder frecuentente a los mismos sitios de internet hay un proxy que cachea localmente los archivos (Squid). Junto al bloqueo de tráfico web en el router este también permite el control de acceso a Internet individualmente para cada puesto.

La configuración de red en los clientes se hace automáticamente con DHCP. Los clientes normales reciben direcciones IP en el rango privado 10.0.0.0/8, y los clientes ligeros se conectan a su servidor de clientes ligeros mediante la subred separada 192.168.0.0/24 (esto asegura que el tráfico de los clientes ligeros no interfiera con el resto de los servicios de red).

El registro de sucesos está centralizado, de forma que todas las computadoras envían sus mensajes al servidor. El servicio syslog está configurado para aceptar sólo mensajes entrantes desde la red local.

Por defecto, el servidor de DNS está configurado con un dominio para uso interno (*.intern), contra un servidor de DNS real ("externo") que puede configurarse. El servidor de DNS actua como un caché de DNS, de forma que todos los puestos de la red pueden usarlo como su servidor de DNS principal.

Los alumnos y profesores pueden publicar sitios web. El servidor web proporciona mecanismos para autenticar los usuarios, y para limitar el acceso a páginas individuales y subdirectorios a ciertos usuarios y grupos. Los usuarios pueden crear páginas web dinámicas, ya que el servidor web puede ejecutar programas del lado del servidor.

La información sobre las computadoras y los usuarios se puede cambiar en una ubicación central y es accesible a todos los ordenadores de la red automáticamente. Para conseguirlo, hay un servidor de directorio centralizado. El directorio tendrá información sobre los usuarios, grupos, máquinas y grupos de máquinas. Para evitar confusión entre los usuarios no habrá ninguna diferencia entre los grupos de archivos, listas de correo y grupos de red. Esto implica que los grupos de máquinas que tengan que estar en grupos de red, tienen el mismo tipo de nombre que los grupos de usuarios y listas de correo.

La administración de los usuarios y servicios se hace mediante web, y sigue estándares establecidos. Son funcionales en los navegadores que incluye Skolelinux. Es posible delegar algunas tareas a usuarios o grupos de usuarios mediante los sistemas de administración.

Para evitar algunos problemas con NFS, y hacer más simple la depuración de errores, es necesario sincronizar los relojes de todas las máquinas. Para lograr esto, el servidor Skolelinux tiene configurado un servidor NTP, y todas las estaciones y clientes se configuran para sincronizar sus relojes con el servidor. El servidor debe sincronizar su propio reloj mediante NTP con alguna de las máquinas disponibles en Internet para asegurarse de que toda la red tenga la hora correcta.

Las impresoras se conectan donde sean necesarias, bien directamente en la red, o conectadas a un servidor, estación de trabajo o servidor de cliente ligero. El acceso a las impresoras se puede controlar para los usuarios de acuerdo con el grupo al que pertenezcan, y puede hacerse con cuota y control de acceso a las impresoras.

3.1.4. Servidor(es) LTSP (Servidor(es) de cliente(s) ligero(s))

Una red Skolelinux puede tener muchos servidores LTSP (también llamado servidor de clientes ligeros), que pueden ser instalados seleccionando el perfil servidor de clientes ligeros.

EL servidor de clientes ligeros está configurado para recibir los registros de los clientes ligeros y reenviarlos al servidor central.

3.1.5. Clientes ligeros

Una configuración de cliente ligero permite a un PC ordinario funcionar como un terminal (X). Esto significa que la computadora arranca desde un disquete o desde el servidor a través de la red (usando network-PROM o PXE) sin usar el disco duro local. La configuración de cliente ligero que se usa es la de Linux Terminal Server Project (LTSP).

Los clientes delgados son una buena forma de usar máquinas viejas, de poca capacidad, ya que los programas se ejecutan en el servidor LTSP. Funciona así: El servicio usa DHCP y TFTP para conectarse a la red y arrancar desde la red. Después, se monta el sistema de archivos vía NFS desde el servidor LTSP, y finalmente se arranca X11 y el administrador de pantalla se conecta al mismo servidor LTSP vía SSH con X-forwarding, de esta manera, todos los datos enviados por la red, son encriptados. Para clientes delgados extremadamente antiguos y lentos para la encriptación, puede modificarse el comportamiento para funcionar como versiones anteriores, usando conexión para X vía XDMCP

3.1.6. Estaciones sin disco

Las estaciones sin disco, también reciben los nombres de "clientes delgados", "clientes livianos", "estaciones tontas". Para efectos de claridad de este manual utilizaremos el término "estaciones sin disco".

Una estación sin disco, ejecuta todas las aplicaciones localmente, sin necesidad de un S.O instalado. Esto significa que el equipo, inicia las aplicaciones desde el servidor, sin necesidad de tener software instalado en un disco local.

Las estaciones sin disco son una forma excelente para reutilizar hardware reciente, con el mismo costo bajo de mantenimiento que los clientes ligeros. Las aplicaciones son administradas y mantenidas en el servidor, sin necesidad de instalaciones en los clientes. Los directorios de los usuarios y las configuraciones de sistema son almacenadas en el servidor.

Las estaciones sin disco, fueron presentadas como parte del proyecto LTSP (Linux Terminal Server Project) versión 5.0

3.1.7. Clientes en red.

El término "clientes en red" es usado en este manual para referirse tanto para clientes delgados, como terminales sin disco, o equipos utilizando MacOS o Windows.

3.2. Administración

All the Linux machines that are installed with the Skolelinux installer will be administrable from a central computer, most likely the server. It will be possible to log in to all machines via SSH (root not allowed by default), and thereby have full access to the machines.

Usamos cfengine para editar los archivos de configuración. Estos archivos se actualizan desde el servidor a los clientes. Para cambiar la configuración del cliente, es suficiente editar la configuración en el servidor y dejar que la automatización distribuya los cambios.

Toda la información de los usuarios se guarda en un directorio LDAP. Las actualizaciones de las cuentas de usuario se hacen contra esta base de datos, que es la que usan los clientes para autenticarse.

3.2.1. Instalación

Actualmente hay dos medios de instalación: instalación por red desde un CD e instalación multi arquitectura desde un dispositivo USB. Ambos medios pueden ser cargados desde memorias USB.

La idea es poder instalar un servidor desde cualquier medio una sola vez e instalar los demás clientes por la red arrancando mediante la red.

Solo la instalación en red necesita acceso a Internet durante la instalación.

The installation should not ask any questions, with the exception of desired language (e.g. Norwegian Bokmål, Nynorsk, Sami) and machine profile (server, workstation, thin client server). All other configuration will be set up automatically with reasonable values, to be changed from a central location by the system administrator subsequent to the installation.

3.2.2. Configuración del acceso al sistema de archivos

Cada cuenta de usuario de Skolelinux tiene asignada una sección del sistema de archivos en el servidor de archivos. Esta sección (directorio home) contiene los archivos de configuración del usuario, documentos, correos electrónicos y páginas web. Algunos de los archivos deberían tener acceso de lectura para otros usuarios del sistema, algunos podrían ser de lectura para todos a través de Internet, y algunos no deberían ser accesibles por nadie que no fuera el usuario.

Para asegurar que todos los discos serán utilizados para directorios de datos de los usuarios o directorios compartidos, pueden poseer nombres únicos entre todas los ordenadores durante la instalación al ser montados como /skole/host/directory/. Inicialmente, un directorio es creado en el servidor de archivos, /skole/tjener/home0/ en el que todas las cuentas de usuarios son creadas. Más directorios pueden ser creados cuando sea necesario acomodar grupos de usuarios particulares o patrones particulares de uso.

To enable shared access to files under the normal UNIX permissions system, users need to be in supplementary shared groups (such as "students") as well as the personal primary group that they're in by default. If users have an appropriate umask to make newly created items group-accessible (002 or 007), and if the directories they're working in are setgid to ensure the files inherit the correct group-ownership, the result is controlled file sharing between the members of a group.

The initial access settings for newly created files are a matter of policy. The Debian default umask is 022 (which would not allow group-access as described above), but Debian Edu uses a default of 002 - meaning that files are created with read access for everybody, which can later be removed by explicit user action. This can alternatively be changed (by editing /etc/pam.d/common-session) to a umask of 007 - meaning read access is initially blocked, necessitating user action to make them accessible. The first approach encourages knowledge sharing, and makes the system more transparent, whereas the second method decreases the risk of unwanted spreading of sensitive information. The problem with the first solution is that it is not apparent to the users that the material they create will be accessible to all other users. They can only detect this by inspecting other users' directories and seeing that their files are readable. The problem with the second solution is that few people are likely to make their files accessible, even if they do not contain sensitive information and the content would be helpful to inquisitive users who want to learn how others have solved particular problems (typically configuration issues).

4. Requisitos

Hay diferentes formas de usar una solución Skolelinux. Puede instalarse en un sólo PC o en una amplia región con muchas escuelas operadas centralmente. Esta variedad de configuraciones hace una gran diferencia en la forma de configurar las cosas dependiendo de los elementos de red, servidores y puestos de cliente.

4.1. Requisitos de hardware

El propósito de los diferentes perfiles es explicado en el capítulo Arquitecturas de red.

  • The computers running Debian Edu / Skolelinux must have either 32 bit (Debian architecture 'i386', oldest supported processors are Intel Pentium and AMD K5) or 64 bit (Debian architecture 'amd64') x86 processors.

  • At least 2 GiB RAM for 30 clients and 4 GiB RAM for 50-60 clients are recommended for the main and thin client server profiles.

  • Thin clients with only 64 MiB RAM and 133 MHz on 32 bit processors are possible, though 256 MiB RAM or more and faster processors are recommended.

    • Swapping over the network is automatically enabled for LTSP clients; the swap size is 512 MiB, and if you need more you can tune this by editing /etc/ltsp/nbdswapd.conf on tjener to set the SIZE variable.

    • Si sus terminales tienen disco duro, se recomienda que sean utilizados para paginación, ya que resulta ser más rápida que la paginación por medio de la red.

  • For workstations, diskless workstations and standalone systems, 800 MHz and 512 MiB RAM are the absolute minimum requirements. For running modern webbrowsers and LibreOffice 1024 MiB RAM is recommended.

    • On workstations with little RAM the spell checker might cause LibreOffice to hang if the swap space is also too small. If this happens frequently the spell checker can be disabled by system administrators.

  • The minimum disk space requirements depend on the profile which is installed:

    • main server + thin client server: 60 GiB. As usual with disk space on a main server, "the bigger the better".

    • thin client server: 40 GiB.

    • workstation or standalone: 30 GiB.

  • Los servidores para clientes ligeros necesitan dos tarjetas de red cuando la arquitectura de red por defecto es usada.

    • eth0 conectada a la red principal (10.0.0.0/8),

    • eth1 is used for serving LTSP clients (192.168.0.0/24 as default, but others are possible.

  • Laptops are movable workstations, so they have the same requirements as workstations.

4.2. Hardware conocido que funciona

Una lista de hardware probado esta en http://wiki.debian.org/DebianEdu/Hardware/ . Esta lista no está completa :)

http://wiki.debian.org/InstallingDebianOn es un esfuerzo para documentar el proceso de instalación, configuración y uso de Debian en hardware específico. Por lo tanto los potenciales compradores sabrán si su hardware es soportado y los propietarios podrán saber como obtener el máximo de sus equipos.

Una excelente base de datos sobre hardware soportado por Debian esta disponible en http://kmuto.jp/debian/hcl/.

5. Requerimientos para una instalación de red

5.1. Configuración por defecto

Se aplican las siguientes reglas cuando se usa la arquitectura de red por defecto:

  • Necesita exactamente, un servidor principal, el tjener.

  • Puede tener hasta cientos de estaciones de trabajo en la red principal.

  • You can have a lot of LTSP servers on the main network; two different subnets are preconfigured (DNS, DHCP) in LDAP, more could be added.

  • Puede tener cientos de clientes ligeros y/o estaciones de trabajo sin disco en cada red de servidores LTSP.

  • Puede tener cientos de otras computadoras que tendrán direcciones IP asignadas de manera dinámica.

  • Para acceder a Internet necesita un enrutador/pasarela (ver más abajo).

5.2. Enrutador de Internet

Un enrutador/pasarela conectado a Internet en la interfaz externa y con la dirección IP 10.0.0.1 y máscara de red 255.0.0.0 en la interfaz interna, es necesario para conectarse a internet.

El enrutador no debería ejecutar un servidor DHCP, puede ejecutar un servidor DNS, aunque no es necesario y no será usado.

Si buscas una solución basada en i386 para poder rehusar una PC vieja, recomendamos IPCop o floppyfw.

Si necesita algo para un enrutador empotrado, o un punto de acceso le recomendamos usar OpenWRT, así podrá usar también el firmware original. Utilizar el firmware original es más fácil, utilizar OpenWRT le proporciona más opciones y control. Revise la web de OpenwRT para una lista completa del hardware soportado.

Es posible usar una configuración diferente de red (existe un proceso documentado para hacer esto), pero si usted no tiene una infraestructura de red preexistente, le recomendamos abstenerse de hacerlo, y mantener la configuración predeterminada de la arquitectura de red.

6. Instalación y opciones de descarga

6.1. Donde encontrar información adicional

Recomendamos leer, o al menos echar un vistazo a las notas de publicación para Debian Jessie antes de empezar a usar un sistema para uso en producción. Pruebe Debian Edu/Skolelinux, debería funcionar. :-)

/!\ Asegúrese de leer el capítulo Iniciando con Debian Edu de este manual, ya que explica como iniciar sesión por primera vez.

Más información sobre la publicación de Debian Jessie está diponible en su manual de instalación.

6.2. Download the installation media for Debian Edu 8.0+edu0 Codename "Jessie"

6.2.1. Imagen en CD de instalación por red para i386, amd64

El CD de instalación por red, que puede ser utilizado para instalaciones desde dispositivos USB, está adecuado para instalarse en computadoras i386 y amd64. Se encuentra disponible mediante

6.2.2. Imagen ISO para arquitectura i386 y amd64 en dispositivos USB y Blue-ray

La imagen multiarquitectura tiene 5,2 Gb. y puede ser utilizada en equipos con arquitecturas i386 y amd64. Para descargarlo puede utilizar cualquiera de estos métodos:

6.2.3. Imagen del código fuente

La imagen del código fuente esta disponible vía:

6.3. Solicite un CD / DVD por correo

Para quienes que no poseen una conexión a Internet rápida, nosotros podríamos enviarle un CD o DVD por el precio del mismo y su envío. Solamente envíe un correo a cd@skolelinux.noy podremos discutir acerca de los detalles del pago (del disco y el envío). :) Recuerde incluir la dirección a la que desea le sea envíado su CD / DVD dentro del email.

6.4. Instalacion de 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 42,000 packages to choose from and a billion configuration options. For the majority of our users, our defaults should be fine.

6.4.1. Seleccione el tipo de instalación

Menú de carga del instalador

Instalar es el modo de instalación predeterminado en formato texto para i386 y amd64.

Instalar 64 bit realiza la instalación en modo texto para amd64.

Instalador gráfico usa el instalador GTK donde puede usar el ratón.

Instalador gráfico para 64 bits usa el instalador GTK de 64bits donde puede usar el ratón.

Opciones avanzadas > brinda un submenú con opciones más detalladas que puede elegir

Ayuda brinda algunos consejos sobre como usar el instalador.

Pantalla 1 de las opciones avanzadas del instalador

Regresar.. lo lleva de nuevo al menú principal.

Instalación experta le da acceso a todas las opciones disponibles en modo texto.

Modo de rescate lo convierte en un disco de rescate para tareas de emergencia.

Instalación automática necesita un archivo preconfigurado.

Instalación experta 64 bits le da acceso a todas las opciones disponibles en modo texto en computadoras amd64.

Modo de rescate 64 bits lo convierte en un disco de rescate para tareas de emergencia compatible con amd64.

Instalación automática 64 bits necesita un archivo preconfigurado.

Pantalla 2 de las opciones avanzadas del instalador

Instalación experta gráfica le da acceso a todas las opciones disponibles en modo gráfico.

Modo de rescate gráfico lo convierte en un disco de rescate para tareas de emergencia con una interfaz gráfica GTK.

Instalación automática gráfica necesita un archivo preconfigurado.

Instalación experta gráfica para 64 bits le da acceso a todas las opciones disponibles en modo gráfico compatible con amd64.

Modo de rescate 64 bits gráfico lo convierte en un disco de rescate para tareas de emergencia con una interfaz gráfica GTK compatible con amd64.

Instalación automática 64 bits gráfica necesita un archivo preconfigurado.

Pantalla de ayuda del instalador

Está pantalla de ayuda se explica por si sola y habilita las teclas <F> en el teclado para tener ayuda más detallada en los temas descritos.

6.4.1.1. Parámetros adicionales de carga para instalaciones

Para equipos i386/amd64, las opciones de inicio pueden ser editadas presionando la tecla TAB en el menú de inicio.

  • La imagen DVD multiarquitectura tiene como predeterminado, el modo de instalación amd64 modo gráfico en ordenadores x86-64 bits e instalación gráfica en x86 32-bits.

  • Si desea iniciar en modo texto para un equipo amd64 con la imagen multiarquitectura, debe seleccionar amd64-install.

  • Aunque también, puede seleccionar el modo experto gráfico amd64 para utilizar el modo gráfico para amd64.

  • Si desea iniciar el modo i386 con la imagen multiarquitectura en un ordenador amd64, necesitará seleccionar el instalar (modo texto) o modo gráfico experto (modo gráfico).

  • Puede utilizar un servicio proxy HTTP existente en la red para agilizar la instalación del servidor principal desde CD. Agregue mirror/http/proxy=http://10.0.2.2:3128/ como un parámetro adicional de carga.

  • Si ya tiene instalador el perfil de servidor principal en una computadora, futuras instalaciones se podrían hacer vía PXE, ya que utilizará automáticamente el proxy del servidor principal.

  • Para instalar el escritorio GNOME en lugar del escritorio KDE Plasma, agregue desktop=gnome a los parámetros de carga del kernel.

  • Para instalar el escritorio LXDE, agregue desktop=lxde a los parámetros de carga del kernel.

  • Para instalar el escritorio Xfce, agregue desktop=xfce a los parámetros de carga del kernel.

  • And to install the MATE desktop instead, add desktop=mate to the kernel boot parameters.

6.4.2. El proceso de instalación

Recuerde los requerimientos del sistema y asegúrese que tenga al menos dos tarjetas de red (NIC) si planea configurar un servidor de clientes ligeros.

  • Elige el idioma (para la instalación y el sistema instalado)

  • Elige un lugar que normalmente sería el lugar donde vives.

  • Seleccione una disposición de teclado (la predeterminada para su país es la mejor opción)

  • Elige el(los) perfil(es) de la siguiente lista:

    • Main-Server

      • Este es el servidor principal (tjener) para su escuela, el cual provee todos los servicios preconfigurados listos para trabajar. ¡Usted solo debe instalar un servidor principal por escuela! este perfil no incluye una interfaz gráfica para el usuario. Si usted desea una interfaz gráfica, debe seleccionar la opción de estación de trabajo, o servidor de clientes ligeros para agregarla.

    • Workstation

      • Una computadora que inicia desde su disco duro, y funciona con todos los programas y dispositivos localmente como una computadora común, pero el usuario será autenticado por el servidor principal, donde los archivos de los usuarios y las configuraciones para escritorio son guardados.

    • 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. For single user notebooks and laptops this profile should be selected and not 'Workstation' or 'Standalone' as suggested in earlier releases.

    • Thin-Client-Server

      • Un servidor para clientes ligeros (y estaciones sin disco), también suele ser llamado servidor LTSP. Clientes sin disco duro, inician y utilizan aplicaciones desde el servidor. Estas computadoras necesitan al menos, dos tarjetas de red, mucha memoria e idealmente más de un procesador o núcleo. Vea el capítulo relacionado a clientes de red para mayor información en este tema. Seleccionar este perfil también habilita el perfil de estación de trabajo (aún si no es seleccionado), un servidor de clientes delgados, siempre puede ser utilizado como estación de trabajo.

    • Standalone

      • Una computadora común que puede funcionar sin un servidor (esto quiere decir, que no necesita estar en la red). Incluye laptops.

    • Minimal

      • Este perfil instalará los paquetes básicos y configurará la computadora para integrarse en la red Debian Edu, pero sin ningún servicio ni aplicaciones. Es útil como plataforma para servicios simples manualmente migrados desde el servidor principal.

    Los perfiles Main Server, Workstation y Thin Client Server son preseleccionados. Estos perfiles pueden ser instalados en una misma computadora si desea instalar el llamado servidor principal combinado. Esto significa que el servidor principal será un servidor de clientes ligeros y también será usado como una estación de trabajo. Esta es la opción prederterminada, ya que asumimos que la mayoría de personas luego instalará via PXE. Tenga en cuenta que debe tener dos tarjetas de red instalado en la computadora que se va a usada como servidor principal combinado o como servidor de clientes ligeros para que pueda ser útil después de su instalación.

/!\ El orden de las tarjetas de red después de la instalación puede cambiar del orden durante la instalación. El orden deseado puede conseguirse editando el archivo /etc/udev/rules.d/70-persistent-net.rules: Usualmente, si esto pasa, querrá reemplazar eth0 con eth1 y eth1 con eth0; un reinicio del equipo es necesario para que los cambios tengan efecto.

  • Seleccione "si" o "no" para particionamiento automático. Este consciente que al seleccionar sí, ¡se eliminarán todos los datos en el disco duro!, al seleccionar no, se requerirá más trabajo y necesitará que las particiones requeridas sean creadas y tengan suficiente espacio.

  • Por favor, seleccione "sí" para enviar información a http://popcon.skolelinux.org/ para permitirnos saber que paquetes son populares y deberían de mantenerse para futuras versiones. Usted no esta obligado a hacerlo, pero es la manera más fácil de que colabore. :)

  • Espere. Si en los perfiles seleccionados se incluye Thin-client-server, entonces el instalador tardará un poco mas al final "Finalizando la instalación - Ejecutando debian'edu'profile'udeb....."

  • Después de introducir la contraseña de root, se le solicitará crear una cuenta de usuario normal "para tareas no administrativas". Para Debian Edu esta cuenta de usuario es muy importante: es la cuenta que se usará para administrar la red Skolelinux.

    /!\ La contraseña para este usuario debe tener una longitud de al menos 5 caracteres, de los contrario, el ingreso al sistema no será posible (aunque el instalador acepte una contraseña menor).

  • Sonríe :)

6.4.3. Notas en algunas características

6.4.3.1. Nota sobre equipos portátiles.

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

6.4.3.2. Nota sobre instalaciones con imagen multiarquitectura USB / Blue-ray

Después de instalar desde una imagen multiarquitectura USB / Blue-ray, /etc/apt/sources.list contendrá fuentes de esa imagen. Si tiene conexión a Internet, le sugerimos agregar las siguientes lineas para que las actualizaciones de seguridad disponible se puedan instalar:

deb http://ftp.debian.org/debian/ jessie main 
deb http://security.debian.org/ jessie/updates main 
deb http://ftp.skolelinux.org/skolelinux jessie local
6.4.3.3. Nota acerca de de la instalación con CD

Una instalación por red (que es el tipo de instalación que ofrece nuestro CD) tomará algunos paquetes del CD y el resto lo tomará de Internet. El monto de paquetes tomados desde la red varia de perfil en perfil pero se mantiene menor a un gigabyte (al menos que elija instalar todos los escritorios posibles). Una vez que tiene instalado el servidor principal (ya sea un servidor principal o un servidor combinado), futuras instalaciones usarán el proxy para prevenir la descarga de los mismos paquetes muchas veces desde Internet.

6.4.3.4. Nota sobre la instalación de servidores de clientes ligeros

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 diskless workstations. Debian bug 588510 has been filed to change the name of the profile into a better suited one.

Al proporcionar el parámetro de carga del núcleo edu-skip-ltsp-make-client, hace posible omitir el paso en el que se convierte el entorno de LTSP de cliente delgado a un ambiente combinado de cliente delgado/estación de trabajo sin disco.

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.

Excepto por el extenso tiempo de instalación, no hay problema en crear un chroot combinado y por eso se hace de forma predeterminada.

6.4.4. Instalación utilizando memorias USB lugar de CD / Blue-ray

Desde el lanzamiento de Squeeze es posible copiar directamente las imágenes .iso de CD/DVD/BD a una unidad USB (también conocido como "memoria USB") e iniciar desde ellos. Solamente ejecute un comando como este, ponga el nombre del archivo y la ruta al dispositivo que desee instalar.

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

Dependiendo de la imágen seleccionada, la unidad USB se comportará como un CD o Blue-ray.

6.4.5. Instalación a través de la red (PXE) e inicio de estaciones sin disco.

Para este método de instalación es necesario que el servidor principal esté encendido. Cuando los clientes cargan a través de la red principal, un nuevo menú PXE con un instalador y opciones de selección de carga se mostrará. Si la instalación PXE falla con un mensaje de error mencionando que un archivo XXX.bin no se encuentra, es más probable que la tarjeta de red del cliente requiera un firmware no libre. En este caso el initrd del instalador de Debian debe ser modificado. Esto se puede lograr ejecutando el comando /usr/share/debian-edu-config/tools/pxe-addfirmware en el servidor.

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

width=400

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

width=400

Esta configuración permite iniciar a las estaciones sin disco y clientes ligeros a través de la red principal. A diferencia de las estaciones de trabajo, las estaciones de trabajo sin disco no necesitan ser agregadas a LDAP con GOsa², pero pueden agregarse, si necesita forzar el nombre del host.

Más información acerca de los clientes de red puede ser encontrada en el capítulo clientes de red.

6.4.5.1. Modificar instalaciones PXE

La instalación PXE utiliza un archivo de preconfiguración para debian-installer, que puede ser modificado y solicitar más paquetes para instalar.

Una línea como esta debe ser agregada atjener:/etc/debian-edu/www/debian-edu-install.dat

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

La instalación PXE usa el archivo /var/lib/tftpboot/debian-edu/install.cfg y el archivo de preconfiguración /etc/debian-edu/www/debian-edu-install.dat. Estos archivos pueden modificarse para ser ajustados a la configuración usada durante la instalación y así evitar las preguntas cuando se realicen instalaciones por red. Otra manera de lograr esto es agregar configuraciones extras a los archivos /etc/debian-edu/pxeinstall.conf y /etc/debian-edu/www/debian-edu-install.dat.local y ejecutar /usr/sbin/debian-edu-pxeinstall para actualizar los archivos generados.

Más información puede ser encontrada en el manual del instalador Debian.

Para desactivar o cambiar el uso del proxy cuando instale vía PXE, necesita cambiar las lineas que contengan mirror/http/proxy, mirror/ftp/proxy y preseed/early_command en el archivo tjener:/etc/debian-edu/www/debian-edu-install.dat . Para desactivar el uso de proxy cuando instale, anteponga el signo '#' al inicio de las primeras dos lineas y elimine "export http_proxy="http://webcache:3128"; " de la última linea.

Algunas configuraciones no pueden preconfigurarse porque son necesiarias antes que el archivo de preconfiguración sea descargado. Estas son configuradas en los argumentos de carga PXElinux-based disponibles en /var/lib/tftproot/debian-edu/install.cfg. Idioma, disposición del teclados y escritorio son algunas de estas configuraciones.

6.4.6. Imágenes personalizadas

Crear CDs, DVDs o Blue-rays personalizados es bastante fácil, ya que se utilizamos el debian installer, el cual es de diseño modular, y posee otras características útiles.La Preconfiguración le permite definir las respuestas a las preguntas realizadas regularmente.

Así que todo lo que necesitas hacer es crear un archivo de preconfiguración con sus respuestas (esto se describe en el apéndice del manual del instalador de Debian) y remasterizar el CD/DVD

6.5. Captura de pantalla del paseo

El modo de texto y modo gráfico de instalación son idénticos, sólo la apariencia es diferente. El modo gráfico le ofrece la oportunidad de utilizar un ratón y por supuesto, el modo gráfico se ve mucho mejor y más moderno. A menos que el hardware presente problemas con el modo gráfico, no hay razón para no usarlo.

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:

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

12d-Setting-up-the-partitioner.png

12e-creating_ext4.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

Inicio de sesión KDM en tjener

Iniciando KDE..

KDE y el navegador

Escritorio KDE

28-Diskless-WS-GRUB_Boot_menu-PXE.png

Inicio de sesión de estaciones sin disco

Escritorio KDE

7. Iniciando

7.1. Pasos mínimos para iniciar

Durante la instalación del servidor principal, fue creada una primera cuenta de usuario. A continuación, esta cuenta se llamará "primer usuario". Esta cuenta es especial, ya que no existe una cuenta de Samba (puede agregarse vía GOsa²), los permisos para el directorio del usuario están establecidos en 700 (es necesario ejecutar chmod o+x ~ para que el sitio web personal sea accesible), el primer usuario puede usar sudo para convertirse en root.

Después de la instalación, las primeras cosas que necesita hacer como usuario son:

  1. Iniciar sesión en el servidor. Con la cuenta de roor puede ingresar en modo gráfico.

  2. Agregar usuarios con GOsa²

  3. Agregar estaciones de trabajo con GOsa² - clientes ligeros y estaciones de trabajo sin disco pueden ser usados directamente sin ser agregados.

Como agregar usuarios y estaciones de trabajo es descrito con más detalle a continuación. Por favor, lea este capítulo completamente. Abarca como realizar estos pasos mínimos correctamente, además de otras cosas que probablemente todos necesitan hacer.

There is additional information available elsewhere in this manual: the New features in Jessie chapter should be read by everyone who is familiar with previous releases. And for those upgrading from a previous release, make sure to read the Upgrades chapter.

/!\ If generic DNS traffic is blocked out of your network and you need to use some specific DNS server to look up internet hosts, you need to tell the DNS server to use this server as its "forwarder". Update /etc/bind/named.conf.options and specify the IP address of the DNS server to use.

El capítulo HowTo describe más trucos, pistas y algunas preguntas de uso frecuente.

Debian Edu KDE desktop

7.1.1. Servicios que corren en el servidor principal

Hay varios servicios ejecutándose en el servidor principal que se pueden gestionar con una interfaz web. Describiremos estos servicios a continuación.

7.2. Introducción a GOsa²

GOsa²es una herramienta de administración web, que le ayudará a administrar algunas de las partes importantes de su configuración de Debian Edu. Podrá administrar (agregar, modificar o eliminar) estos principales grupos:

  • Administración de usuarios

  • Administración de grupos

  • Administración de grupos de red NIS

  • Administración de computadoras

  • Administración DNS

  • Administración DHCP

Para acceder a GOsa², necesita el servidor principal Skolelinux y una computadora con un navegador web, puede ser el mismo servidor principal si se instaló como un servidor combinado (servidor principal + servidor de clientes ligeros + estación de trabajo). Si no tiene disponible nada de lo mencionado anteriormente, vea Instalar un entorno gráfico en el servidor principal para usar GOsa².

Desde un navegador web, utilice https://www/gosa para acceder a GOsa² e ingrese por primera vez.

  • Si está utilizando una computadora nueva con Debian Edu, el certificado de seguridad del sitio web será reconocido por el navegador.

  • Caso contrario, obtendrá un mensaje de error sobre certificado SSL equivocado. Si sabe que solamente usted se encuentra conectado a la red, acepte e ignórelo.

Para información general sobre GOsa², revise: https://oss.gonicus.de/labs/gosa/wiki/documentation

7.2.1. GOsa² Login plus Overview

GOsa² overview page after login as the first user

After logging in to GOsa² you will see the overview page of GOsa².

Next, you can choose a task in the menu or click any of the task icons on the overview page. For navigation, we recommend using the menu on the left side of the screen, as it will stay visible there on all administration pages offered by GOsa².

En Debian Edu, la información del sistema, grupos y cuentas de usuario es guardada en un directorio de LDAP. Esta información es utilizada no solo por el servidor principal, sino también por las estaciones sin disco, los servidores de clientes ligeros y las computadoras con Windows en la red. Con LDAP, la información sobre los estudiantes, docentes y demás, solo necesita ser ingresada una vez. Una vez que la información ha sido ingresada en LDAP, estará disponible para todos los sistemas en toda la red Skolelinux.

GOsa² es una herramienta de administración que usa LDAP para almacenar su información y provee una estructura jerárquica por departamento. Para cada "departamento" puede agregar cuentas de usuario, grupos, sistemas, grupos de red y demás. En dependencia de la estructura de su institución, puede usar la estructura en GOsa²/LDAP para transferir su estructura organizacional al árbol de datos LDAP del servidor principal Debian Edu.

A default Debian Edu main server installation currently provides two "departments": Teachers and Students, plus the base level of the LDAP tree. Student accounts are intended to be added to the "Students" department, teachers to the "Teachers" department; systems (servers, Skolelinux workstations, Windows machines, printers etc.) are currently added to the base level. Find your own scheme for customising this structure. (You can find an example how to create users in year groups, with common home directories for each group in the HowTo/AdvancedAdministration chapter of this manual.)

En dependencia de la tarea que desee realizar (administrar usuarios, grupos, sistemas, etc) GOsa² le mostrará una vista diferente en el departamento seleccionado (o el nivel básico).

7.3. Gestión de usuarios con GOsa²

First, click on "Users" in the left navigation menu. The right side of the screen will change to show a table with department folders for "Students" and "Teachers" and the account of the GOsa² Super-Administrator (the first created user). Above this table you can see a field called Base that allows you to navigate through your tree structure (move your mouse over that area and a drop-down menu will appear) and to select a base folder for your intended operations (e.g. adding a new user).

7.3.1. Agregar usuarios

Next to that tree navigation item you can see the "Actions" menu. Move your mouse over this item and a submenu appears on screen; choose "Create" here, and then "User". You will be guided by the user creation wizard.

  • The most important thing to add is the template (newstudent or newteacher) and the full name of your user (see image).

  • As you follow the wizard, you will see that GOsa² generates a username automatically based on the real name. It automatically chooses a username that doesn't exist yet, so multiple users with the same full name are not a problem. Note that GOsa² can generate invalid usernames if the full name contains non-ASCII characters.

  • If you don't like the generated username you can select another username offered in the drop-down box, but you do not have a free choice here in the wizard. (If you want to be able to edit the proposed username, open /etc/gosa/gosa.conf with an editor and add allowUIDProposalModification="true" as an additional option to the "location definition".)

  • When the wizard has finished, you are presented with the GOsa² screen for your new user object. Use the tabs at the top to check the completed fields.

After you have created the user (no need to customise fields the wizard has left empty for now), click on the "Ok" button in the bottom-right corner.

As the last step GOsa² will ask for a password for the new user. Type that in twice and then click "Set password" in the bottom-right corner. /!\ Some characters may not be allowed as part of the password.

If all went well, you can now see the new user in the user list table. You should now be able to log in with that username on any Skolelinux machine within your network.

7.3.2. Buscar, modificar y borrar usuarios

Filterbox

To modify or delete a user, use GOsa² to browse the list of users on your system. On the middle of the screen you may open the "Filter" box, a search tool provided by GOsa². If you don't know the exact location of your user account in your tree, change to the base level of the GOsa²/LDAP tree and search there with the option marked "Search in subtrees".

When using the "Filter" box, results will immediately appear in the middle of the text in the table list view. Every line represents a user account and the items farthest to the right on each line are little icons that provide actions for you: cut entry, copy entry, edit user, lock account, set password, take snapshot (not usable) and remove user.

Una nueva página se mostrará donde podrá modificar la información pertinente al usuario directamente, cambiar su contraseña y modificar la lista de grupos a los que pertenece.

Editar datos de usuarios

7.3.3. Establecer contraseñas

Los estudiantes pueden cambiar sus contraseñas ingresando a GOsa² son sus propios usuarios. Para facilitar el acceso a GOsa², un acceso directo llamado Gosa se encuentra en el menú escritorio (o en configuración del sistema). Una sesión de estudiante tendrá una versión mínima de GOsa² que solamente le brinda acceso a la hoja de información del usuario y a la opción de cambio de contraseña.

Los profesores que ingresan con sus propios nombres de usuarios, tienen privilegios especiales en GOsa². Ellos poseen una vista con más privilegios y pueden cambiar la contraseña de todas las cuentas de estudiantes. Esto puede ser muy practico durante clases.

Para establecer una nueva contraseña para el usuario

  1. Busque el usuario que desea modificar, tal como se explicó anteriormente

  2. Haga clic en la flecha al final del usuario

  3. En la siguiente página, puede escribir la nueva contraseña

Establecer contraseñas de usuario

¡Tenga cuidado con las consecuencias a la seguridad, debido a la facilidad de las contraseñas!

7.3.4. Administración avanzada de usuarios

Es posible crear usuarios masivamente con GOsa² usando un archivo CSV, que puede ser creado con un software de hoja de cálculo (localc por ejemplo). Se deben proveer, al menos, datos para los siguientes campos: uid, last name (sn), first name (givenName) y password. Asegúrese de no duplicar datos en el campo uid. Note que la revisión de duplicados debe incluir los registros ya existentes en LDAP (que puede ser obtenido ejecutando getent passwd | grep tjener/home | cut -d":" -f1 en la linea de comando).

These are the format guidelines for such a CSV file (GOsa² is quite intolerant about them):

  • Use "," como separador de campos

  • Do not use quotes

  • El archivo CSV no debe contener un encabezado (no debe tener el nombre de la columna)

  • El orden de los campos no es relevante, y puede ser definido en GOsa² durante la importación masiva

Los pasos para importe masivo son:

  1. Haga clic en el enlace "LDAP Manager" en el menú de navegación a la izquierda

  2. Haga clic en la pestaña "Importar" al lado derecho de la pantalla

  3. Busque en su disco local el archivo CSV con la lista de usuarios que desea importar

  4. Eliga una plantilla de usuarios disponible que se aplicará durante la importación masiva (como NewTeacher o NewStudent)

  5. Haga clic en el botón "Importar" en la esquina inferior derecha

Es una buena idea el hacer pruebas antes, de preferencia con un archivo CSV con usuarios ficticios, que pueden ser eliminados después.

7.4. Gestión de usuarios con GOsa²

crear un grupo

crear un grupo

La gestión de grupos es muy similar a la gestión de usuarios.

Puede ingresar un nombre y una descripción por grupo. Asegúrese de elegir el nivel correcto en el árbol LDAP cuando cree un nuevo grupo.

By default, the appropriate Samba group isn't created. If you forgot to check the Samba group option during group creation, you can modify the group later on.

Adding users to a newly created group takes you back to the user list, where you most probably would like to use the filter box to find users. Check the LDAP tree level, too.

Los grupos incluidos en el manejo de grupos, son también grupos regulares de Unix, así que pueden utilizarse también para los permisos de archivos.

7.4.1. Gestión de grupos en la linea de comando

# Muestra el mapeo existente entre grupos UNIX y Windows.
net groupmap list

# Agrega un grupo nuevo o faltante:
net groupmap add unixgroup=GRUPO_NUEVO type=domain ntgroup="GRUPO_NUEVO_GRUPO"\
                 comment="DESCRIPCIÓN DEL GRUPO NUEVO"

Esto se explica detalladamente en el capítulo HowTo/NetworkClients de este manual.

7.5. Administración de equipos con GOsa²

Machine management basically allows you to manage all networked devices in your Debian Edu network. Every machine added to the LDAP directory using GOsa² has a hostname, an IP address, a MAC address and a domain name (which is usually "intern"). For a fuller description of the Debian Edu architecture see the architecture chapter of this manual.

Diskless workstations and thin-clients work out-of-the-box when connected to the main network. Only workstations with disks have to be added with GOsa², but all can.

To add a machine, use the GOsa² main menu, systems, add. You can use an IP address/hostname from the preconfigured address space 10.0.0.0/8. Currently there are only two predefined fixed addresses: 10.0.2.2 (tjener) and 10.0.0.1 (gateway). The addresses from 10.0.16.20 to 10.0.31.254 (roughly 10.0.16.0/20 or 4000 hosts) are reserved for DHCP and are assigned dynamically.

To assign a host with the MAC address 52:54:00:12:34:10 a static IP address in GOsa² you have to enter the MAC address, the hostname and the IP; alternatively you might click the Propose ip button which will show the first free fixed address in 10.0.0.0/8, most probably something like 10.0.0.2 if you add the first machine this way. It may be better to first think about your network: for example you could use 10.0.0.x with x>10 and x<50 for servers, and x>100 for workstations. Don't forget to activate the just added system. With the exception of the main server all systems will then have a matching icon.

If the machines have booted as thin clients/diskless workstations or have been installed using any of the networked profiles, the sitesummary2ldapdhcp script can be used to automatically add machines to GOsa², sitesummary2ldapdhcp -h shows usage information. Please note, that the IP addresses shown after usage of sitesummary2ldapdhcp belong to the dynamic IP range. These systems can then be modified though to suit your network: rename each new system, activate DHCP and DNS, add it to netgroups, if needed; reboot the system afterwards. The following screenshots show how this looks in practice:

root@tjener:~# sitesummary2ldapdhcp -a -i ether-00:04:76:d3:28:b7 -t workstations
info: Create GOsa machine for auto-mac-00-04-76-d3-28-b7.intern [10.0.16.21] id ether-00:04:76:d3:28:b7.

Enter password if you want to activate these changes, and ^c to abort.

Connecting to LDAP as cn=admin,ou=ldap-access,dc=skole,dc=skolelinux,dc=no
enter password: 

GOsa² systems listing

Host details

Modify host

Add netgroup

A cronjob updating DNS runs every hour; su -c ldap2bind can be used to trigger the update manually.

7.5.1. Buscar y eliminar computadoras

Buscar computadoras para ser eliminadas, es bastante similar a buscar usuarios para eliminar, por lo que esa información no se repite aquí.

7.5.2. Modificar equipos existentes / Manejo del grupo de red

After adding a machine to the LDAP tree using GOsa², you can modify its properties using the search functionality and clicking on the machine name (as you would with users).

The format of these system entries is similar to the one you already know from modifying user entries, but the fields mean different things in this context.

For example, adding a machine to a NetGroup does not modify the file access or command execution permissions for that machine or the users logged in to that machine; instead it restricts the services that machine can use on your main-server.

La instalación por defecto proporciona la Grupo de Red

  • cups-queue-autoflush-hosts

  • cups-queue-autoreenable-hosts

  • fs-autoresize-hosts

  • ltsp-server-hosts

  • netblock-hosts

  • printer-hosts

  • server-hosts

  • shutdown-at-night-hosts

  • winstation-hosts

  • workstation-hosts

Actualmente, la funcionalidad de NetGroup se utiliza para

  • NFS.

    • The home directories are exported by the main-server to be mounted by the workstations and the LTSP servers. For security reasons, only hosts within the workstation-hosts, ltsp-server-hosts and server-hosts NetGroups can mount the exported NFS shares. So it is rather important to remember to configure these kinds of machines properly in the LDAP tree using GOsa² and to configure them to use static IP addresses from LDAP.

      /!\ Recuerde configurar las estaciones de trabajos y los servidores ltsp de manera correcta con GOsa², o sus usuarios no tendrán acceso a sus directorios personales. Las estaciones de trabajo sin disco y los clientes ligeros no usan NFS, por lo que no necesitan ser configurados.

  • fs-autoresize

    • Los equipos con Debian Edu en este grupo, automáticamente acondicionarán las particiones LVM que estén próximas a quedarse sin espacio disponible.

  • shutdown at night

    • Los equipos con Debian Edu en este grupo, se apagarán automáticamente por las noches para ahorrar energía.

  • CUPS (cups-queue-autoflush-hosts and cups-queue-autoreenable-hosts)

    • Debian Edu machines in these groups will automatically flush all print queues every night, and re-enable any disabled print queue every hour.

  • netblock-hosts

    • Debian Edu machines in this group will only be allowed to connect to machines on the local network. Combined with web proxy restrictions this might be used during exams.

Another important part of machine configuration is the 'Samba host' flag (in the 'Host information' area). If you plan to add existing Windows systems to the Skolelinux Samba domain, you need to add the Windows host to the LDAP tree and set this flag to be able to join the Windows host to the domain. For more information about adding Windows hosts to the Skolelinux network see the HowTo/NetworkClients chapter of this manual.

8. Printer Management

For Printer Management point your web browser to https://www:631 This is the normal CUPS management interface where you can add/delete/modify your printers and can clean up the printing queue. By default only root is allowed but this can be changed: Open /etc/cups/cups-files.conf with an editor and add one or more valid group names matching your site policy to the line containing SystemGroup lpadmin. Existing GOsa² groups that might be used are gosa-admins (with the first user as member), teachers and jradmins (no members after installation).

9. Sincronización del reloj

The default configuration in Debian Edu is to keep the clocks on all machines synchronous but not necessarily correct. NTP is used to update the time. The clocks will be synchronised with an external source by default. This can cause machines to keep the external Internet connection open if it is created when used.

/!\ Si usa conexión dialip o ISDN y paga por minuto, es posible que desee cambiar esta configuración predeterminada.

To disable synchronisation with an external clock, the file /etc/ntp.conf on the main-server and all clients and LTSP chroots need to be modified. Add comment ("#") marks in front of the server entries. After this, the NTP server needs to be restarted by running /etc/init.d/ntp restart as root. To test if a machine is using the external clock sources, run ntpq -c lpeer.

10. Redimensionando particiones completas

Because of a possible bug with automatic partitioning, some partitions might be too full after installation. To extend these partitions, run debian-edu-fsautoresize -n as root. See the "Resizing Partitions" HowTo in the administration HowTo chapter for more information.

11. Maintenance

11.1. Actualizar el software

This section explains how to use apt-get upgrade.

Using apt-get is really simply. To update a system you need to execute two commands on the command line as root: apt-get update (which updates the lists of available packages) and apt-get upgrade (which upgrades the packages for which an upgrade is available).

As Debian Edu uses libpam-tmpdir, setting a per user TMP directory, it is a good idea to run apt-get without the TMP and TMPDIR variables set in the LTSP chroot. It is also a good idea to upgrade using the C locale to get known output and sorting order, even though that making a difference is a bug in a package.

LC_ALL=C apt-get update ; LC_ALL=C TMP= TMPDIR= ltsp-chroot apt-get update
LC_ALL=C apt-get upgrade -y
LC_ALL=C TMP= TMPDIR= ltsp-chroot -p apt-get upgrade -y
ltsp-update-kernels # If a new kernel was installed

/!\ It is important to run ltsp-update-kernels if a new kernel was installed in the LTSP chroot, to keep the kernel and kernel modules in sync. The kernel is handed out via TFTP when the machine does PXE boot, and the kernel modules are fetched from the LTSP chroot.

También es buena idea instalar cron-apt y apt-listchanges y configurarlos para que le envíe corre electrónico.

cron-apt will notify you once a day via email about any packages that can be upgraded. It does not install these upgrades, but does download them (usually in the night), so you don't have to wait for the download when you do apt-get upgrade.

Automatic installation of updates can be done easily if desired, it just needs the unattended-upgrades package to be installed and configured as described on wiki.debian.org/UnattendedUpgrades.

apt-listchanges can send new changelog entries to you via email, or alternativly display them in the terminal when running aptitude or apt-get.

11.1.1. Mantente informado sobre actualizaciones de seguridad

Running cron-apt as described above is a good way to learn when security updates are available for installed packages. Another way to stay informed about security updates is to subscribe to the Debian security-announce mailinglist, which has the benefit of also telling you what the security update is about. The downside (compared to cron-apt) is that it also includes information about updates for packages which aren't installed.

11.2. Gestión de las copias de seguridad

For backup management point your browser to https://www/slbackup-php. Please note that you need to access this site via SSL, since you have to enter the root password there. If you try to access this site without using SSL it will fail. Note: the site will only work if you temporarily allow ssh root login on the backup server (tjener by default).

By default tjener will back up /skole/tjener/home0, /etc/, /root/.svk and LDAP to /skole/backup which is under the LVM. If you only want to have spare copies of things (in case you delete them) this setup should be fine for you.

/!\ Tome en cuenta que este esquema de respaldo no le protege de daños en el disco duro.

If you want to back up your data to an external server, a tape device or another hard drive you'll have to modify the existing configuration a bit.

Si quieres restaurar un directorio, la mejor opción es usar la línea de comandos:

$ sudo rdiff-backup -r <date>  \
   /skole/backup/tjener/skole/tjener/home0/user \
   /skole/tjener/home0/user_<date>

Esto pondrá el contenido de /skole/tjener/home0/user para <date> en el directorio /skole/tjener/home0/user_<date>.

Si desea restablecer un archivo, debería de ser capaz de seleccionar el archivo (y la versión) de la interfaz web y descargar solamente ese archivo.

Si desea deshacerse de los respaldos viejos, elija "Maintenance" en el menú de la página respaldo y seleccione la instantánea más vieja que desee conservar:

Mantenimiento de slbackup-php

11.3. Monitorización del servidor

11.3.1. Munin

Los reportes de Munin están disponible en https://www/munin/. Le provee gráficos de medición en una vista diaría, semanal, mensual y anual. Además le provee ayuda al administrador de sistemas al momento de buscar cuellos de botella y el origen de problemas en el sistema.

La lista de computadoras monitoreadas por Munin es automáticamente generada, basada en la lista de hosts reportados a sitesummary. Todos los hosts con el paquete munin-node instalado son registrados para ser monitoreados por Munin. Normalmente tomará un día desde que la computadora es instalada hasta que Munin inicie a monitorear, debido a la orden de ejecución de las tareas del cron. Para acelerar el proceso, ejecute sitesummary-update-munin como usuario root en el servidor sitesummary (generalmente el servidor principal). Esto actualizará el archivo /etc/munin/munin.conf.

El conjunto de mediciones es automáticamente generado en cada computadora usando el programa munin-node-configure, que prueba los complementos disponibles en /usr/share/munin/plugins/ y realiza los enlaces simbólicos de los complementos relevantes a /etc/munin/plugins/.

Información sobre munin está disponible en http://munin.projects.linpro.no/ .

11.3.2. Nagios

El sistema y servicio de monitoreo Nagios está disponible en https://www/nagios3/. La lista de computadoras y servicios monitoreados es generada automáticamente con información obtenida de sitesummary. Las computadoras con perfil de servidor principal y servidor de clientes ligeros son monitoreadas completamente, mientras que los clientes ligeros y las estaciones de trabajo son monitoreadas básicamente. Para habilitar el monitoreo completo en una estación de trabajo, instale el paquete nagios-nrpe-server en la estación de trabajo.

El usuario es nagiosadmin y la contraseña por defecto es skolelinux. Por razones de seguridad, evite usar la misma contraseña para el usuario root. Para cambiar la contraseña, usted puede ejecutar el siguiente comando como usuario root:

htpasswd /etc/nagios3/htpasswd.users nagiosadmin

Por defecto Nagios no envia correos electrónicos. Esto se puede cambiar reemplazando notify-by-nothing por host-notify-by-email y notify-by-email en el archivo /etc/nagios3/sitesummary-template-contacts.cfg

El archivo de configuración de Nagios usado es /etc/nagios3/sitesummary.cfg. El cron job de sitesummary genera /var/lib/sitesummary/nagios-generated.cfg con la lista de equipos y servicios por monitorear.

Revisiones extras de Nagios pueden ser puestas en el archivo /var/lib/sitesummary/nagios-generated.cfg.post para que sean incluidas en el archivo generado.

Información sobre Nagios está disponible en http://www.nagios.org/ o en el paquete nagios3-doc.

11.3.2.1. Advertencias comunes de Nagios y como manejarlas

Aquí hay instrucciones sobre como manejar las advertencias más comunes de Nagios.

11.3.2.1.1. DISK CRITICAL - free space: /usr 309 MB (5% inode=47%):

La partición (/usr/ en el ejemplo) está llena. Existen dos maneras para resolver esto: (1) elimine algunos archivos o (2) aumente el tamaño de la partición. Si la partición es /var/, purgando el caché de APT ejecutando apt-get clean debería eliminar algunos archivos. Si hay más espacio disponible en el volumen LVM, ejecutar el programa debian-edu-fsautoresize para aumentar las particiones debería ayudar. Para ejecutar este programa cada hora, el equipo debe de ser añadido al grupo de red fsautoresize-hosts.

11.3.2.1.2. APT CRITICAL: 13 packages available for upgrade (13 critical updates).

Hay nuevos paquetes disponibles para actualizar. Los paquetes críticos normalmente son mejoras de seguridad. Para actualizar, ejecute 'apt-get upgrade && apt-get dist-upgrade' como usuario root en una consola o ingrese por SSH y haga lo mismo. En los servidores de clientes ligeros, recuerde actualizar también el chroot LTSP ejecutando ltsp-chroot apt-get update && ltsp-chroot apt-get upgrade.

Si usted no quiere actualizar paquetes manualmente y confía en que Debian hace un buen trabajo con las nuevas versiones, puede instalar el paquete unattended-upgrades y configurarlo para que actualice automáticamente todos los paquetes cada noche. Esto no actualizará los chroot LTSP.

Para actualizar el chroot LTSP, puede usar ltsp-chroot apt-get update && ltsp-chroot apt-get upgrade. En servidores de 64 bits, tendrá que agregar como argumento a ltsp-chroot -a i386. Es buena idea actualizar el chroot cuando actualice el sistema de la computadora.

11.3.2.1.3. WARNING - Reboot required : running kernel = 2.6.32-37.81.0, installed kernel = 2.6.32-38.83.0

El kernel en ejecución es más viejo que el kernel más actual instalado, y un reinicio del equipo es necesario para ejecutar el kernel más nuevo instalado. Normalmente esto es urgente, ya que los nuevos kernels corrigen fallos de seguridad en Debian Edu.

11.3.2.1.4. WARNING: CUPS queue size - 61

The printer queues in CUPS have a lot of jobs pending. This is most likely because of a unavailable printer. Disabled print queues are enabled every hour on hosts that are member of the cups-queue-autoreenable-hosts netgroup, so for such hosts no manual action should be required. The print queues are emptied every night on hosts that are member of the cups-queue-autoflush-hosts netgroup. If a host have a lot of jobs in their queue, consider adding this host to one or both of these netgroups.

11.3.3. Sitesummary

Sitesummary es usado para obtener información de cada computadora y enviarla al servidor principal. La información obtenida se encuentra disponible en /var/lib/sitesummary/entries/. Scripts en /usr/lib/sitesummary/, están disponibles para generar reportes.

Un reporte sencillo de sitesummary sin de talles se encuentra disponible en https://www/sitesummary/.

Documentación sobre sitesummary se encuentra disponible en http://wiki.debian.org/DebianEdu/HowTo/SiteSummary

11.4. Más información sobre personalizaciones de Debian Edu

Más información sobre personalizaciones de Debian Edu útil para administradores de sistema puede encontrarse en el capítulo Administración y en el capítulo Administración avanzada

12. Actualizaciones

/!\ Antes de leer está guía de actualización, tenga en cuenta que las actualizaciones en su servidor en producción la hace bajo su propio riesgo.Debian Edu/Skolelinux no tiene ABSOLUTAMENTE NINGUNA GARANTÍA más allá de las que indique la ley aplicable.

Please read this chapter and the New features in Jessie chapter of this manual completely before attempting to upgrade.

12.1. Notas generales sobre la actualización

Upgrading Debian from one distribution to the next is generally rather easy. For Debian Edu this is unfortunately not yet true as we modify configuration files in ways we shouldn't. (See Debian bug 311188 for more information.) Upgrading is still possible but may require some work.

En general, actualizar los servidores es más difícil que las estaciones de trabajo y el servidor principal es el más difícil de actualizar. Las estaciones de trabajo sin disco son más faciles, ya que su entorno chroot puede ser eliminado y recreado si no lo ha modificado. Si lo ha modificado, el chroot es básicamente un chroot de estación de trabajo, así que es bastante fácil de actualizar.

Si quiere asegurase de que después de la actualización todo va como antes, debería probarlo en un sistema de pruebas o en un sistema configurado igual que su servidor en producción. Ahí puede probar la actualización sin riesgo y ver si todo funciona como debiera.

Asegúrese de leer la información sobre la versión estable de Debian actual en el manual de instalación.

También sería inteligente esperar un poco y seguir con la versión anterior durante algunas semanas más, para que otros prueben la actualización y documenten algunos problemas que experimenten. La versión estable anterior de Debian Edu continuará recibiendo soporte por algún tiempo después de la publicación de la siguiente versión estable, pero cuando Debian cese el soporte a la versión estable anterior, Debian Edu hará lo mismo.

12.2. Actualizar desde Debian-Edu Wheezy

/!\ Prepárese: asegúrese de haber probado la actualización desde Wheezy en un entorno de prueba o tener un respaldo listo para poder volver.

Please note that the following recipe applies to a default Debian Edu main server installation (desktop=kde, profiles Main-Server, Workstation, Thin-Client-Server). (For a general overview concernig wheezy to jessie upgrade, see: https://www.debian.org/releases/jessie/releasenotes)

Don't use X, use a virtual console, log in as root. Read all debconf information carefully, choose 'keep the local version currently installed'; in most cases hitting return will be fine. Press 'q' to quit the apt-listchanges pager once you've read the information.

12.2.1. Upgrade the server side

  • Make sure the current system is up-to-date.

apt-get update
apt-get -y upgrade
  • Remove diversion; the postinst from debian-edu-config seems to do it too late (Debian bug 779641).

dpkg-divert --remove /usr/share/pam-configs/krb5
rm /usr/share/pam-configs/edu-krb5
  • Do the actual upgrade.

sed -i 's/wheezy/jessie/g' /etc/apt/sources.list
apt-get update
apt-get -y dist-upgrade
apt-get -f install
apt-get -y dist-upgrade

If apt-get still finishes with an error, try to fix it and/or run the apt-get commands again, esp. apt-get -f install.

  • Install additional package to make PXE work (Debian bug 779644).

apt-get -y install pxelinux
  • Install squid3 as squid is deprecated and missing in jessie (Debian bug 779649).

apt-get -y install squid3
service squid3 stop
  • Keep backup of Kerberos configuration file (Debian bug 779642).

cp /etc/krb5.conf /etc/krb5.conf.backup
  • Apply debian-edu configuration (takes some time).

cfengine-debian-edu -D installation
  • Replace Kerberos file (messed up by cfengine) with the right one.

cp /etc/krb5.conf.backup /etc/krb5.conf
  • Replace squid with squid3, keep the cache; a new swap file will be generated and the cache index be rebuilt upon first squid3 start.

service squid stop
umount /var/spool/squid
sed -i 's#/var/spool/squid#/var/spool/squid3#' /etc/fstab
mount /var/spool/squid3
service squid3 start
apt-get -y purge squid squid-common
  • Regenerate gosa.secrets to make GOsa² work with new php version; backup gosa.conf just in case it has been modified.

rm /etc/gosa/gosa.secrets
cp /etc/gosa/gosa.conf /etc/gosa/gosa.conf.wheezy_version
cp /etc/gosa/gosa.conf.orig /etc/gosa/gosa.conf
gosa-encrypt-passwords
  • Install newly split out cups package needed for networked printing (Debian bug 779645).

apt-get -y install cups-browsed
  • Install missing packages; the package names were obtained using /usr/lib/debian-edu-config/testsuite/taskpkgs | grep error: after the step above (Debian bug 779648).

apt-get -y install browser-plugin-libreoffice gosa-plugin-netgroups \
killer libnss-myhostname goplay icedtea-7-plugin tmispell-voikko
  • Check if the upgraded system works.

Reboot and test if it works like before: Log in as first user and test if the GOsa² gui is working, if you're able to connect LTSP clients and workstations, if you can add/remove a netgroup membership of a system, if you can send and receive internal email, if you can manage printers, and maybe other site specific things. Use the testsuite scripts if you spot an error.

  • Consider an optional step (Debian bug 779646).

Clean up after cfengine has autoremoved packages without purging. This will remove configuration files of removed packages and should only be used with care; use dpkg -l|grep ^rc first to check what would be removed, then run for i in $(dpkg -l|grep ^rc|cut -d' ' -f3);do dpkg -P $i;done.

12.2.2. Upgrade LTSP chroot (default arch i386)

sed -i '/jessie/ s/deb/#deb/g' /opt/ltsp/i386/etc/apt/sources.list
ltsp-chroot -m -a i386 apt-get update
ltsp-chroot -m -a i386 apt-get -y upgrade
sed -i 's/wheezy/jessie/g' /opt/ltsp/i386/etc/apt/sources.list
ltsp-chroot -m -a i386 apt-get update
ltsp-chroot -m -a i386 apt-get -y dist-upgrade
ltsp-chroot -m -a i386 apt-get -f install
ltsp-chroot -m -a i386 apt-get -y dist-upgrade

If apt-get still finishes with an error, try to fix it and/or run the apt-get commands again, esp. apt-get -f install.

  • Install missing packages in the LTSP chroot (Debian bug 779647).

ltsp-chroot -m -a i386 apt-get -y install browser-plugin-libreoffice killer \
libnss-myhostname goplay icedtea-7-plugin tmispell-voikko
  • Cleaning up.

ltsp-chroot -m -a i386 apt-get --purge autoremove
  • Update LTSP support on the server side.

ltsp-update-kernels
ltsp-update-sshkeys

12.2.3. Recrear un chroot LTSP

On the LTSP server(s) the LTSP chroot could also be recreated. The new chroot will still support both thin-clients and diskless workstations.

Elimine /opt/ltsp/i386 (o /opt/ltsp/amd64, dependiendo de su configuración). Si tiene suficiente espacio en disco, considere respaldarlo.

Recreate the chroot by running debian-edu-ltsp --arch i386 (or debian-edu-ltsp --arch amd64) as root.

12.3. Actualizar desde instalaciones antiguas de Debian-Edu / Skolelinux (antes que Wheezy)

To upgrade from any older release, you will need to upgrade to the Wheezy based Debian Edu release first, before you can follow the instructions provided above. Instructions are given in the Manual for Debian Edu Wheezy about how to upgrade to Wheezy from the previous release, Squeeze, and the Squeeze manual covers the one before that! (Lenny was it's name and before that there was even another one, based on what was called Etch.)

13. Guías

14. Guías para administración general

Los capítulos Iniciando y Mantenimiento describen como empezar con Debian Edu y como realizar el trabajo de mantenimiento básico. Las guías en estos capítulos, tienen también trucos y recomendaciones más "avanzadas".

14.1. Seguimiento de /etc usando el sistema de control de versiones git

Con la introducción de etckeeper en Debian Edu Squeeze (las versiones anteriores utilizaban etcinsvk el cual fué removido de Debian), todos los archivos en /etc/ son seguidos utilizando git como sistema de control de versiones.

Esto hace posible ver cuando un archivo es agregado, modificado o eliminado, también ver lo que se cambió si el archivo es un archivo de texto. El repositorio de git es guardado en /etc/.git/.

Cualquier cambio, es registrado cada hora, permitiendo tener un histórico de la configuración para ser extraído y revisado.

To look at the history, the command etckeeper vcs log is used. To check the differences between two points in time, a command like etckeeper vcs diff can be used.

Revise la salida de man etckeeper para más información.

Lista de comandos útiles:

etckeeper vcs log
etckeeper vcs status
etckeeper vcs diff
etckeeper vcs add .
etckeeper vcs commit -a
man etckeeper

14.1.1. Ejemplos de uso

En un sistema recién instalado pruebe esto para ver todos los cambios realizados desde que el sistema fue instalado:

etckeeper vcs log

Vea que archivos no están siendo seguidos, o los que no están actualizados:

etckeeper vcs status

To manually commit a file, because you don't want to wait up to an hour:

etckeeper vcs commit -a /etc/resolv.conf

14.2. Redimensionando Particiones

In Debian Edu, all partitions other than the /boot/ partition are on logical LVM volumes. With Linux kernels since version 2.6.10, it is possible to extend partitions while they are mounted. Shrinking partitions still needs to happen while the partition is unmounted.

It is a good idea to avoid creating very large partitions (over, say, 20GiB), because of the time it takes to run fsck on them or to restore them from backup if the need arises. It is better, if possible, to create several smaller partitions than one very large one.

The helper script debian-edu-fsautoresize is provided to make it easier to extend full partitions. When invoked, it reads the configuration from /usr/share/debian-edu-config/fsautoresizetab, /site/etc/fsautoresizetab and /etc/fsautoresizetab. It then proposes to extend partitions with too little free space, according to the rules provided in these files. If run with no arguments, it will only show the commands needed to extend the file system. The argument -n is needed to actually execute these commands to extend the file systems.

The script is executed automatically every hour on every client listed in the fsautoresize-hosts netgroup.

When the partition used by the Squid proxy is resized, the value for cache size in etc/squid/squid.conf needs to be updated as well. The helper script /usr/share/debian-edu-config/tools/squid-update-cachedir is provided to do this automatically, checking the current partition size of /var/spool/squid/ and configuring Squid to use 80% of this as its cache size.

14.2.1. Gestión de volúmenes lógicos

Logical Volume Management (LVM) enables resizing the partitions while they are mounted and in use. You can learn more about LVM from the LVM HowTo.

To extend a logical volume manually you simply tell the lvextend command how large you want it to grow to. For example, to extend home0 to 30GB you use the following commands:

lvextend -L30G /dev/vg_system/skole+tjener+home0
resize2fs /dev/vg_system/skole+tjener+home0

To extend home0 by additional 30G, you insert a '+' (-L+30G)

14.3. Installing a graphical environment on the main-server to use GOsa²

If you (probably accidentally) installed a pure main-server profile and don't have a client with a web-browser handy, it's easy to install a minimal desktop on the main server using this command sequence in a (non-graphical) shell as the user you created during the main server's installation (first user):

  $ sudo apt-get update
  $ sudo apt-get install gnome-session gnome-terminal iceweasel xorg
  # después de la instalación, inicie una sesión en modo gráfico para el primer usuario
  $ startx

14.4. Usar ldapvi

ldapvi es una herramienta para editar la base de datos LDAP con un editor de texto en la linea de comandos.

Lo siguiente necesita ser ejecutado:

ldapvi --ldap-conf -ZD '(cn=admin)'

Nota: ldapvi usará el editor de texto predeterminado. Ejecutar export EDITOR=vim en el intérprete de comandos puede configurar el entorno para tener un clon de vi como editor.

To add an LDAP object using ldapvi, use object sequence number with the string add in front of the new LDAP object.

/!\ Adevertencia: ldapvi es una herramienta poderosa. Sea cuidadoso y no dañe la base de datos de LDAP, la misma advertencia aplica para JXplorer.

14.5. JXplorer, una interfaz gráfica para LDAP

If you prefer a GUI to work with the LDAP database, check out the jxplorer package, which is installed by default. To get write access connect like this:

host: ldap.intern
port:636
Base dn:dc=skole,dc=skolelinux,dc=no 
Security level: ssl + user + password
User dn: cn=admin,ou=ldap-access

Click "This session only" if asked for the certificate.

14.6. ldap-createuser-krb, una herramienta para línea de comando

ldap-createuser-krb is a small command line tool to create LDAP users and set their passwords in Kerberos. It's mostly useful for testing, though.

14.7. Using stable-updates

Since the Squeeze release in 2011, Debian has included packages formerly maintained in volatile.debian.org in the stable-updates suite.

While you can use stable-updates directly, you don't have to: stable-updates are pushed into the stable suite regularily when stable point releases are done, which roughly happens every two months.

14.8. Using backports.debian.org to install newer software

You are running Debian Edu because you prefer the stability of Debian Edu. It runs great; there is just one problem: sometimes software is a little bit more outdated than you like. This is where backports.debian.org steps in.

Backports are recompiled packages from Debian testing (mostly) and Debian unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever this is possible) on a stable Debian distribution like Debian Edu. We recommend you to pick out individual backports which fit your needs, and not to use all backports available there.

Usar backports es sencillo:

echo "deb http://ftp.debian.org/debian/ jessie-backports main" >> /etc/apt sources.list
apt-get update

After which one can install backported packages easily, the following command will install a backported version of tuxtype:

apt-get install -t jessie-backports tuxtype

Backports are automatically updated (if available) just like other packages. (Previously, extra configuration was needed to achieve this, but since 2011 this [[http://backports.debian.org/news/squeeze-backports_and_lenny-backports-sloppy_started/|is not needed anymore].

Like the normal archive, backports has three sections: main, contrib and non-free.

14.9. Actualizar con un CD o similar

If you want to upgrade from one version to another (for example from Jessie 8.1+edu0 to 8.3+edu1) but you do not have Internet connectivity, only physical media, follow these steps:

Inserte el CD/DVD/Disco Blueray/Dispositivo USB en la unidad, montelo y use el comando apt-cdrom:

mount /media/cdrom
apt-cdrom add -m

Para citar el manual de referencia de apt-cdrom(8):

  • apt-cdrom se utiliza para añadir un disco óptico nuevo a la lista de fuentes disponibles de APT. apt-cdrom examina la estructura del disco, corrige los posibles errores de grabación y verifica los ficheros de índice.

  • Se requiere utilizar apt-cdrom para añadir los discos al sistema APT, no se puede hacer manualmente. Además, debe insertar y analizar cada disco de un conjunto de discos por separado, para poder detectar los posibles errores de grabación.

Luego ejecute estos dos comandos para actualizar el sistema:

apt-get update 
apt-get upgrade

14.10. Automatic cleanup of leftover processes

killer es un script hecho en perl que elimina trabajos en segundo plano. Trabajos en segundo plano son definidos como procesos que pertenecen a usuarios que no tienen una sesión activa en la computadora. Se ejecuta cada hora por un cron.

Para instalarlo ejecuta el siguiente comando como root:

 apt-get install killer

14.11. Instalación automática de actualizaciones de seguridad

unattended-upgrades is a Debian package which will install security (and other) updates automatically. If you plan to use it, you should have some means to monitor your systems, such as installing the apt-listchanges package and configuring it to send you emails about updates. And there is always /var/log/dpkg.log.

Para instalar estos paquetes, ejecute el siguiente comando como root:

 apt-get install unattended-upgrades apt-listchanges

14.12. Apagado automático de las computadoras durante la noche

It is possible to save energy and money by automatically turning client machines off at night and back on in the morning. The package will try to turn off the machine every hour on the hour from 16:00 in the afternoon, but will not turn it off if it seems to have users. It will try to tell the BIOS to turn on the machine around 07:00 in the morning, and the main-server will try to turn on machines from 06:30 by sending wake-on-lan packets. These times can be changed in the crontabs of individual machines.

Some considerations should be kept in mind when setting this up:

  • The clients should not be shut down when someone is using them. This is ensured by checking the output from who, and as a special case, checking for the LDM ssh connection command to work with LTSP thin clients.

  • To avoid blowing electrical fuses, it is a good idea to make sure all clients do not start at the same time.

  • There are two different methods available to wake up clients. One uses a BIOS feature and requires a working and correct hardware clock, as well as a motherboard and BIOS version supported by nvram-wakeup; the other requires clients to have support for wake-on-lan, and the server to know about all the clients that need to be woken up.

14.12.1. Como configurar shutdown-at-night

On clients that should turn off at night, touch /etc/shutdown-at-night/shutdown-at-night, or add the hostname (that is, the output from 'uname -n' on the client) to the netgroup "shutdown-at-night-hosts". Adding hosts to the netgroup in LDAP can be done using the GOsa² web tool. The clients might need to have wake-on-lan configured in the BIOS. It is also important that the switches and routers used between the wake-on-lan server and the clients will pass the WOL packets to the clients even if the clients are turned off. Some switches fail to pass on packets to clients that are missing in the ARP table on the switch, and this blocks the WOL packets.

To enable wake-on-lan on the server, add the clients to /etc/shutdown-at-night/clients, with one line per client, IP address first, followed by MAC address (ethernet address), separated by a space; or create a script /etc/shutdown-at-night/clients-generator to generate the list of clients on the fly.

Aquí tiene un ejemplo de /etc/shutdown-at-night/clients-generator para usar con sitesummary:

  #!/bin/sh
  PATH=/usr/sbin:$PATH
  export PATH
  sitesummary-nodes -w

An alternative if the netgroup is used to activate shutdown-at-night on clients is this script using the netgroup tool from the ng-utils package:

  #!/bin/sh
  PATH=/usr/sbin:$PATH
  export PATH
  netgroup -h shutdown-at-night-hosts

14.13. Acceso a servidores Debian-Edu ubicados detrás de un firewall

To access machines behind a firewall from the Internet, consider installing the package autossh. It can be used to set up an SSH tunnel to a machine on the Internet that you have access to. From that machine, you can access the server behind the firewall via the SSH tunnel.

14.14. Installing additional service machines for spreading the load from main-server

En la instalación predeterminada, todos los servicios están ejecutándose en el servidor principal, tjener. Para mover algunos servicios a otra computadora de manera sencilla, existe un perfil mínimo de instalación disponible. Instalar con este perfil le proporcionará una computadora, que es parte de la red de Debian Edu, pero que no cuenta con un servicio ejecutándose (todavía)

Estos son los pasos que se deben seguir para configurar un servicio dedicado en una computadora:

  • Instale el perfil mínimo usando la opción de carga debian-edu-expert.

  • Instale los paquetes del servicio.

  • Configure el servicio.

  • Deshabilite el servicio en el servidor principal.

  • Actualice el servicio DNS (via LDAP/GOsa²) en el servidor principal.

14.15. HowTos de wiki.debian.org

FIXME: The HowTos from http://wiki.debian.org/DebianEdu/HowTo/ are either user- or developer-specific. Let's move the user-specific HowTos over here (and delete them over there)! (But first ask the authors (see the history of those pages to find them) if they are fine with moving the howto and putting it under the GPL.)

15. Advanced administration

In this chapter advanced administration tasks are described.

15.1. Personalizaciones de usuarios con GOsa²

15.1.1. Create Users in Year Groups

In this example we want to create users in year groups, with common home directories for each group (home0/2014, home0/2015, etc.) We want to create the users by csv import.

(como root en Tjener)

  • Make the necessary year group directories

mkdir /skole/tjener/home0/2014

(como super usuarios en Gosa

  • Departamento

Main menu: goto 'Directory structure', click the 'Students' department. The 'Base' field should show '/Students'. From the drop box 'Actions' choose 'Create'/'Department'. Fill in values for Name (2014) and Description fields (students graduating in 2014), leave the Base field as is (should be '/Students'). Save it clicking 'Ok'. Now the new department (2014) should show up below /Students. Click it.

  • Grupo

Elije "Groups" del menú principal; "Actions"/Create/Group. Escriba el nombre del grupo (deje "Base", debería estar en /Students/2014) y haga clic en la caja de selección de la izquierda de "Samba group". "ok" para guardar.

  • Planitlla

Choose 'users' from the main menu. Change to 'Students' in the Base field. An Entry 'NewStudent' should show up, click it. This is the 'students' template, not a real user. As you'll have to create such a template (to be able to use csv import for your structure) based on this one, notice all entries showing up in the Generic, POSIX and Samba tabs, maybe take screenshots. Now change to /Students/2014 in the Base field; choose Create/Template and start to fill in your desired values, first the Generic tab (add your new 2014 group under Group Membership, too), then add POSIX and Samba account.

  • Importar usuarios

Elija su nueva plantilla cuando importe el archivo csv; probarlo con pocos usuarios es lo recomendable.

15.2. Other User Customisations

15.2.1. Crear directorios en el directorio home de los usuarios

Con este script, el administrador puede crear directorios en cada directorio personal de usuario y establecer los permisos de acceso y propiedad.

In the example shown below with group=teachers and permissions=2770 a user can hand in an assignment by saving the file to the folder "assignments" where teachers are given write access to be able to make comments.

 #!/bin/bash
 home_path="/skole/tjener/home0"
 shared_folder="assignments"
 permissions="2770"
 created_dir=0
 for home in $(ls $home_path); do
    if [ ! -d "$home_path/$home/$shared_folder" ]; then
        mkdir $home_path/$home/$shared_folder
        chmod $permissions $home_path/$home/$shared_folder
        #set the right owner and group
        #"username" = "group name" = "folder name"
        user=$home
        group=teachers
        chown $user:$group $home_path/$home/$shared_folder
        ((created_dir+=1))
    else
        echo -e "the folder $home_path/$home/$shared_folder already exists.\n"
    fi
 done
 echo "$created_dir folders have been created"

15.2.2. Fácil acceso a dispositivos USB y CDROMs/DVDs

When users insert a USB drive or a DVD / CDROM into a (diskless) workstation, a popup window appears asking what to do with it, just like in any other normal installation.

When users insert a USB drive or a DVD / CDROM into a thin client there is only a notify-window showing up for a few seconds. The media is automatically mounted and it is possible to access it browsing to the /media/$user folder. This is quite difficult for many non experienced users.

It is possible to have the default KDE "Plasma" file manager Dolphin showing up if KDE "Plasma" (or LDXE, if installed in parallel to KDE "Plasma") is in use as desktop environment. To configure this, simply execute /usr/share/debian-edu-config/ltspfs-mounter-kde enable on the terminal server. (When using GNOME, device icons will be placed on the desktop allowing easy access).

In addition the following script could be used to create the symlink "media" for all users in their home folder for easy access to USB drives, CDROM / DVD or whatever media is connected to the thin client. This might come in handy if users want to edit files directly on their plugged in media.

 #!/bin/bash
 home_path="/skole/tjener/home0"
 shared_folder="media"
 permissions="775"
 created_dir=0;
 for home in $(ls $home_path); do
    if [ ! -d "$home_path/$home/$shared_folder" ]; then
        ln -s /media/$home $home_path/$home/$shared_folder
        ((created_dir+=1))
    else
        echo -e "the folder $home_path/$home/$shared_folder already exists.\n"
    fi
 done
 echo "$created_dir folders has been created"
15.2.2.1. Advertencia sobre medios removibles en servidores LTSP

/!\ Warning: When inserted into an LTSP server USB drives and other removable media cause popup messages on remote LTSP clients.

If remote users acknowledge the popup or use pmount from the console, they can even mount the removable devices and access the files.

This is being tracked as Debian Edu bug #1376.

15.3. Use a dedicated storage server

Take these steps to set up a dedicated storage server for user home directories and possibly other data.

  • Add a new system of type server using GOsa² as outlined in the Getting started chapter of this manual.

    • This example uses 'nas-server.intern' as the server name. Once 'nas-server.intern' is configured, check if the NFS export points on the new storage server are exported to the relevant subnets or machines:

          root@tjener:~# showmount -e nas-server
          Export list for nas-server:
          /storage         10.0.0.0/8
          root@tjener:~#

      Here everything on the backbone network is granted access to the /storage export. (This could be restricted to netgroup membership or single IP addresses to limit NFS access like it is done in the tjener:/etc/exports file.)

  • Add automount information about 'nas-server.intern' in LDAP to allow all clients to automatically mount the new export on request.

    • This can't be done using GOsa², because a module for automount is missing. Instead, use ldapvi and add the required LDAP objects using an editor.

      ldapvi --ldap-conf -ZD '(cn=admin)' -b ou=automount,dc=skole,dc=skolelinux,dc=no

      When the editor shows up, add the following LDAP objects at the bottom of the document. (The "/&" part in the last LDAP object is a wild card matching everything 'nas-server.intern' exports, removing the need to list individual mount points in LDAP.)

          add cn=nas-server,ou=auto.skole,ou=automount,dc=skole,dc=skolelinux,dc=no
          objectClass: automount
          cn: nas-server
          automountInformation: -fstype=autofs --timeout=60 ldap:ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
      
          add ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
          objectClass: top
          objectClass: automountMap
          ou: auto.nas-server
      
          add cn=/,ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
          objectClass: automount
          cn: /
          automountInformation: -fstype=nfs,tcp,rsize=32768,wsize=32768,rw,intr,hard,nodev,nosuid,noatime nas-server.intern:/&
  • Add the relevant entries in tjener.intern:/etc/fstab, because tjener.intern does not use automount to avoid mounting loops:

    • Create the mount directories using mkdir, edit '/etc/fstab' as adequate and run mount -a to mount the new resources.

Now users should be able to access the files on 'nas-server.intern' directly by just visiting the '/tjener/nas-server/storage/' directory using any application on any workstation, LTSP client or LTSP server.

15.4. Restrict ssh login access

There are several ways to restrict ssh login, some are listed here.

15.4.1. Setup without LTSP clients

If no LTSP clients are used a simple solution is to create a new group (say sshusers) and to add a line to the machine's /etc/ssh/sshd_config file. Only members of the sshusers group will then be allowed to ssh into the machine from everywhere.

Managing this case with GOsa is quite simple:

  • Create a group sshusers on the root level (where already other system management related groups like gosa-admins show up).

  • Add users to the new group sshusers.

  • Add AllowGroups sshusers to /etc/ssh/sshd_config.

  • Execute service ssh restart.

15.4.2. Setup with LTSP clients

The default LTSP client setup uses ssh connections to the LTSP server. So a different approach using PAM is needed.

  • Enable pam_access.so in the LTSP server's /etc/pam.d/sshd file.

  • Configure /etc/security/access.conf to allow connections for (sample) users alice, jane, bob and john from everywhere and for all other users only from the internal networks by adding these lines:

+ : alice jane bob john : ALL
+ : ALL : 10.0.0.0/8 192.168.0.0/24 192.168.1.0/24
- : ALL : ALL
#

If only dedicated LTSP servers are used, the 10.0.0.0/8 network could be dropped to disable internal ssh login access. Note: someone pluging in his box into the dedicated LTSP client network(s) will gain ssh access to the LTSP server(s) as well.

15.4.3. A note for more complex setups

If LTSP clients were attached to the backbone network 10.0.0.0/8 (combi server or LTSP cluster setup) things would be even more complicated and maybe only a sophisticated DHCP setup (in LDAP) checking the vendor-class-identifier together with apropriate PAM configuration would allow to disable internal ssh login.

16. HowTos for the desktop

16.1. Modificar la pantalla de inicio de KDM

Personalizaciones a la pantalla de inicio de KDM se pueden hacer agregando un archivo en /etc/default/kdm.d/ especificando las variables que desea sobrescribir.

Aquí tiene un ejemplo para activar el tema en el paquete desktop-base:

USETHEME="true"
THEME="/usr/share/apps/kdm/themes/debian-moreblue"

See the code in /etc/init.d/kdm for information on how these variables are used.

16.2. Using KDE "Plasma", GNOME, LXDE, Xfce and/or MATE together

Para instalar otros entornos de escritorio después de una instalación, solamente use apt-get:

 apt-get install gnome lxde xfce4 mate-desktop

Users will then be able to choose any of the five desktop environment via the login manager before logging in. Of course, you can also choose to give less choices.

The usage of LXDE as default on thin clients can be forced; see networked clients for details.

If you don't want to do installations with the default desktop KDE "Plasma", you can also install with one of the four alternative desktops, GNOME, LXDE, Xfce or MATE directly.

16.3. Flash

While the free software flash-player gnash is not installed by default anymore, as it has been removed from Jessie, installing a non-free flash player is still an option. Please note that upgrading is special in this case.

To install the (non-free) Adobe Flash Player web browser plugin, install the flashplugin-nonfree Debian package from contrib. This requires contrib enabled in /etc/apt/sources.list. Use update-flashplugin-nonfree --status to check for a newer version and update-flashplugin-nonfree --install to install it.

The solution for Chromium is similar, it needs the package pepperflashplugin-nonfree (also from contrib) to be installed, which will install the (non-free) Adobe Flash Player web browser plugin. Use update-pepperflashplugin-nonfree --status to check for a newer version and update-pepperflashplugin-nonfree --install to install it.

Please note that the pepperflashplugin-nonfree package implements a more recent version of the Flash specification than does the flashplugin-nonfree, however.

16.4. Reproducir DVDs

libdvdcss is needed for playing most commercial DVDs. For legal reasons it's not included in Debian (Edu). If you are legally allowed to use it, you can use the packages from deb-multimedia.org. Add the multimedia repository (as described in the following section) and install the required libraries:

apt-get install libdvdcss2 w32codecs

16.5. Uso del repositorio multimedia

Para usar www.deb-multimedia.org haga lo siguiente:

# instale debian-keyring:
apt-get install debian-keyring
# descargue la llave deb-multimedia:
gpg --keyserver pgpkeys.pca.dfn.de --recv-keys 1F41B907
# revise de manera segura si la llave es correcta y agreguela al keyring usado por APT:
gpg --keyring /usr/share/keyrings/debian-keyring.gpg --check-sigs 1F41B907 && gpg --export 1F41B907 | apt-key add -
# agregue el repositorio a  sources.list - revise el sitio web para buscar réplicas!
echo "deb http://deb-multimedia.org jessie main" >> /etc/apt/sources.list
# Actualice la lista de paquetes disponibles::
apt-get update

16.6. Handwriting fonts

The package fonts-linex (which is installed by default) installs the font "Abecedario" which is a nice handwriting font for kids. The font has several forms to be used with kids: dotted, and with lines.

17. HowTos para clientes en red

17.1. Introducción a clientes ligeros y estaciones de trabajo sin disco

Un término genérico para clientes ligeros y estaciones de trabajo sin disco es cliente LTSP. LTSP es el acrónimo en Inglés para Linux Terminal Server Project.

Cliente ligero

A thin client setup enables an ordinary PC to function as an (X-)terminal, where all software runs on the LTSP server. This means that this machine boots from a diskette or directly from the server using network-PROM (or PXE) without using a local client hard drive.

Estaciones de trabajo sin disco

A diskless workstation runs all software locally. The client machines boot directly from the LTSP server without a local hard drive. Software is administered and maintained on the LTSP server, but it runs on the diskless workstation. Home directories and system settings are stored on the server too. Diskless workstations are an excellent way of reusing newer hardware with the same low maintenance cost as with thin clients.

LTSP defines 320MB as the default minimum amount of RAM for diskless workstations. If the amount of RAM is less, the machine will boot as thin client. Unlike workstations, diskless workstations run without any need to add them with GOsa², cause LDM is used to login and connect to the LTSP server. The home directory is by default mounted using sshfs, and not automount and NFS. This causes shared directories available via NFS to not be available on diskless workstations.

The following steps can be used to get back the behaviour from Debian Edu Squeeze, using automount, NFS and a display manager other than ldm:

  • Agregue DEFAULT_DISPLAY_MANAGER=/path/to/dm a lts.conf (o configurelo en LDAP). Asegúrese que el manejador de pantalla esté instalado en el chroot LTSP.

  • Add the diskless workstations to LDAP with GOsa².

LTSP client firmware

LTSP client boot will fail if the client's network card requires a non-free firmware. A PXE installation can be used for troubleshooting problems with netbooting a machine; if the Debian Installer complains about a missing XXX.bin file then non-free firmware has to be added to the initrd used by LTSP clients.

En este caso, ejecute los siguientes comandos en un servidor LTSP.

# Primero, obtenga información sobre los paquetes de firmware
apt-get update && apt-cache search ^firmware-

# Decida que paquete debe ser instalado para la(s) tarjeta(s) de red.
# Probablemente sea firmware-linux-nonfree
# Se deben efectuar los cambios en el chroot LTSP para arquitectura i386
ltsp-chroot -a i386 apt-get update
ltsp-chroot -a i386 mkdir /tmp/user 2> /dev/null
ltsp-chroot -a i386 mkdir /tmp/user/0 2> /dev/null
ltsp-chroot -d -a i386 apt-get -y -q install <package name>

# copie el nuevo initrd al directorio tftpboot del servidor
ltsp-update-kernels

Una manera más corta sería instalar todos los firmware disponibles y actualizar el directorio tftpboot, podría ejecutar:

/usr/share/debian-edu-config/tools/ltsp-addfirmware

LTSP client kernel

In order to support older hardware the package linux-image-586 is installed by default. If all LTSP client machines support the 686 processor architecture the linux-image-686 package could be installed in the chroot. Make sure to execute ltsp-update-kernels after installation.

17.1.1. LTSP client type selection

Cada servidor LTSP tiene dos tarjetas de red: una configurada en la subred principal 10.0.0.0/8 (compartida con el servidor principal), y otra que forma una subredlocal 192.168.0.0/24 (una subred para cada servidor LTSP).

En la subred principal tendrá el menú PXE completo; la sured separada para cada servidor LTSP le permite seleccionar solo clientes sin discos y ligeros LTSP.

Using the default PXE menu on the main subnet 10.0.0.0/8, a machine could be started as diskless workstation or thin client. By default clients in the separate subnet 192.168.0.0/24 will run as diskless workstations if the amount of RAM is sufficient. If all clients in this LTSP client subnet should run as thin clients, the following has to be done.

(1)Abra el archivo /opt/ltsp/i386/etc/ltsp/update-kernerl.conf con un  editor
y reemplace la linea
CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp quiet"
con
CMDLINE_LINUX_DEFAULT="init=/sbin/init-ltsp LTSP_FATCLIENT=False quiet"
(2)Ejecute 'ltsp-update-kernels'

17.2. Configurar el menú PXE

La configuración PXE se genera usando el script debian-edu-pxeinstall. Se permite que algunas configuraciones sean reconfiguradas agregando el archivo /etc/debian-edu/pxeinstall.conf con los valores que desea reemplazar.

17.2.1. Configurar la instalación de PXE

The PXE installation option is by default available to anyone able to PXE boot a machine. To password protect the PXE installation options, a file /var/lib/tftpboot/menupassword.cfg can be created with content similar to this:

MENU PASSWD $4$NDk0OTUzNTQ1NTQ5$7d6KvAlVCJKRKcijtVSPfveuWPM$

The password hash should be replaced with an MD5 hash for the desired password.

The PXE installation will inherit the language, keyboard layout and mirror settings from the settings used when installing the main-server, and the other questions will be asked during installation (profile, popcon participation, partitioning and root password). To avoid these questions, the file /etc/debian-edu/www/debian-edu-install.dat can be modified to provide preselected answers to debconf values. Some examples of available debconf values are already commented in /etc/debian-edu/www/debian-edu-install.dat. Your changes will be lost as soon as debian-edu-pxeinstall is used to recreate the PXE-installation environment. To append debconf values to /etc/debian-edu/www/debian-edu-install.dat during recreation with debian-edu-pxeinstall, add the file /etc/debian-edu/www/debian-edu-install.dat.local with your additional debconf values.

More information about modifying PXE installations can be found in the Installation chapter.

17.2.2. Agregar un repositorio personalizado para instalaciones PXE

For adding a custom repository add something like this to /etc/debian-edu/www/debian-edu-install.dat.local:

#add the skole projects local repository
d-i     apt-setup/local1/repository string      http://example.org/debian stable main contrib non-free
d-i     apt-setup/local1/comment string         Example Software Repository
d-i     apt-setup/local1/source boolean         true
d-i     apt-setup/local1/key    string          http://example.org/key.asc

y luego ejecute una vez /usr/sbin/debian-edu-pxeinstall

17.2.3. Cambiar el menú PXE en un servidor combinado (servidor principal y LTSP)

The PXE menu allows network booting of LTSP clients, the installer and other alternatives. The file /var/lib/tftpboot/pxelinux.cfg/default is used by default if no other file in that directory matches the client, and out of the box it is set to link to /var/lib/tftpboot/debian-edu/default-menu.cfg.

If all clients should boot as diskless workstations instead of getting the full PXE menu, this can be implemented by changing the symlink:

ln -s /var/lib/tftpboot/debian-edu/default-diskless.cfg /var/lib/tftpboot/pxelinux.cfg/default

If all clients should boot as thin clients instead, change the symlink like this:

ln -s /var/lib/tftpboot/debian-edu/default-thin.cfg /var/lib/tftpboot/pxelinux.cfg/default

See also the PXELINUX documentation at http://syslinux.zytor.com/wiki/index.php/PXELINUX .

17.2.4. Separate main and LTSP server

For performance and security considerations it might be desired to set up a separate main server which doesn't act as LTSP server.

To have ltspserver00 serve diskless workstations on the main (10.0.0.0/8) network, when tjener is not a combined server, follow these steps:

  • copy the ltsp directory from /var/lib/tftpboot on ltspserver00 to the same directory on tjener.

  • copy /var/lib/tftpboot/debian-edu/default-diskless.cfg to the same directory on tjener.

  • edit /var/lib/tftpboot/debian-edu/default-diskless.cfg to use the IP address of ltspserver00; the following example uses 10.0.2.10 for the IP address of ltspserver00 on the main network:

 DEFAULT ltsp/i386/vmlinuz initrd=ltsp/i386/initrd.img nfsroot=10.0.2.10:/opt/ltsp/i386 init=/sbin/init-ltsp boot=nfs ro quiet ipappend 2
  • set the symlink in /var/lib/tftpboot/pxelinux.cfg on tjener to point to /var/lib/tftpboot/debian-edu/default-diskless.cfg.

As an alternative, you could use ldapvi, search for 'next server tjener' and replace tjener with ltspserver00.

17.2.5. Use a different LTSP client network

192.168.0.0/24 is the default LTSP client network if a machine is installed using the Thin-Client-Server profile. If lots of LTSP clients are used or if different LTSP servers should serve both i386 and amd64 chroot environments the second preconfigured network 192.168.1.0/24 could be used as well. Edit the file /etc/network/interfaces and adjust the eth1 settings accordingly. Use ldapvi or any other LDAP editor to inspect DNS and DHCP configuration.

17.3. Changing network settings

The debian-edu-config package comes with a tool which helps in changing the network from 10.0.0.0/8 to something else. Have a look at /usr/share/debian-edu-config/tools/subnet-change. It is intended for use just after installation on the main server, to update LDAP and other files that need to be edited to change the subnet.

/!\ Note that changing to one of the subnets already used elsewhere in Debian Edu will not work. 192.168.0.0/24 and 192.168.1.0/24 are already set up as LTSP client networks. Changing to these subnets will require manual editing of configuration files to remove duplicate entries.

There is no easy way to change the DNS domain name. Changing it would require changes to both the LDAP structure and several files in the main server file system. There is also no easy way to change the host and DNS name of the main server (tjener.intern). To do so would also require changes to LDAP and files in the main-server and client file system. In both cases the Kerberos setup would have to be changed, too.

17.4. LTSP en detalle

17.4.1. Configuración del cliente LTSP en LDAP (y en lts.conf)

To configure specific thin clients with particular features, you can add settings in LDAP or edit the file /opt/ltsp/i386/etc/lts.conf.

/!\ We recommend to configure clients in LDAP (and not edit lts.conf directly--however, configuration webforms for LTSP are currently not available in GOsa², you have to use a plain LDAP browser/explorer or ldapvi), as this makes it possible to add and/or replace LTSP servers without loosing (or having to redo) configuration.

The default values in LDAP are defined in the cn=ltspConfigDefault,ou=ltsp,dc=skole,dc=skolelinux,dc=no LDAP object using the ltspConfig attribute. One can also add host specific entries in LDAP.

Install the package ltsp-docs and run "man lts.conf" to have a look at available configuration options (see /usr/share/doc/ltsp/LTSPManual.html for detailed information about LTSP).

The default values are defined under [default]; to configure one client, specify it in terms of its MAC address or IP address like this: [192.168.0.10].

Example: To make the thin client ltsp010 use 1280x1024 resolution, add something like this:

[192.168.0.10]
X_MODE_0 = 1280x1024
X_HORZSYNC = "60-70"
X_VERTREFRESH = "59-62"

somewhere below the default settings.

To force usage of a specific xserver on an LTSP client, set the XSERVER variable. For example:

[192.168.0.11]
XSERVER = nvidia

Depending on what changes you make, it may be necessary to restart the client.

To use IP addresses in lts.conf you need to add the client MAC address to your DHCP server. Otherwise you should use the client MAC address directly in your lts.conf file.

17.4.2. Force all thin clients to use LXDE as default desktop environment

Make sure that LXDE is installed on the thin client server; then add a line like this below [default] in "lts.conf":

LDM_SESSION=/usr/bin/startlxde

Note, that users will still be able to select other installed desktop environments using the "Settings" feature of LDM.

17.4.3. Load-balancing LTSP servers

17.4.3.1. Parte 1

It is possible to set up the clients to connect to one of several LTSP servers for load-balancing. This is done by providing /opt/ltsp/i386/usr/share/ltsp/get_hosts as a script printing one or more servers for LDM to connect to. In addition to this, each LTSP chroot needs to include the SSH host key for each of the servers.

First of all, you must choose one LTSP server to be the load-balancing server. All the clients will PXE-boot from this server and load the Skolelinux image. After the image is loaded, LDM chooses which server to connect to by using the "get_hosts" script. How this is done you decide later on.

The load-balancing server must be announced to the clients as the "next-server" via DHCP. As DHCP configuration is in LDAP, modifications have to be done there. Use ldapvi --ldap-conf -ZD '(cn=admin)' to edit the appropriate entry in LDAP. (Enter the main server's root password at the prompt; if VISUAL isn't set, the default editor will be nano.) Search for a line reading dhcpStatements: next-server tjener Next-server should be the IP address or hostname of the server you chose to be the load-balancing server. If you use hostname you must have a working DNS. Remember to restart the DHCP service.

Now you have to move your clients from the 192.168.0.0 network to the 10.0.0.0 network; attach them to the backbone network instead of the network attached to the LTSP server's second network card. This is because when you use load-balancing, the clients need direct access to the server chosen by LDM. If you leave your clients on the 192.168.0.0 network, all of the clients' traffic will go through that server before it reaches the chosen LDM server.

17.4.3.2. Parte 2

Now you have to make a "get_hosts" script that prints a server for LDM to connect to. The parameter LDM_SERVER overrides this script. In consequence, this parameter must not be defined if the get_hosts is going to be used. The get_hosts script writes on the standard output each server IP address or host name, in random order.

Edite "/opt/ltsp/i386/etc/lts.conf" y agregue algo como esto:

MY_SERVER_LIST = "xxxx xxxx xxxx"

Replace xxxx with either the IP addresses or hostnames of the servers as a space-separated list. Then, put the following script in /opt/ltsp/i386/usr/lib/ltsp/get_hosts on the server you chose to be the load-balancing server.

 #!/bin/bash
 # Randomise the server list contained in MY_SERVER_LIST parameter
 TMP_LIST=""
 SHUFFLED_LIST=""
 for i in $MY_SERVER_LIST; do
     rank=$RANDOM
     let "rank %= 100"
     TMP_LIST="$TMP_LIST\n${rank}_$i"
 done
 TMP_LIST=$(echo -e $TMP_LIST | sort)
 for i in $TMP_LIST; do
     SHUFFLED_LIST="$SHUFFLED_LIST $(echo $i | cut -d_ -f2)"
 done
 echo $SHUFFLED_LIST
17.4.3.3. Part 3

Now that you've made the "get_hosts" script, it's time to make the SSH host key for the LTSP chroots. This can be done by making a file containing the content of /opt/ltsp/i386/etc/ssh/ssh_known_hosts from all the LTSP servers that will be load-balanced. Save this file as /etc/ltsp/ssh_known_hosts.extra on all load-balanced servers. The last step is very important because ltsp-update-sshkeys runs every time a server is booted, and /etc/ltsp/ssh_known_hosts.extra is included if it exists.

/!\ If you save your new host file as /opt/ltsp/i386/etc/ssh/ssh_known_hosts, it will be erased when you reboot the server.

There are some obvious weaknesses with this setup. All clients get their image from the same server, which causes high loads on the server if many clients are booted at the same time. Also, the clients require that server to be always available; without it they cannot boot or get an LDM server. Therefore this setup is very dependent on one server, which isn't very good.

¡Sus clientes ahora deberían tener balanceo de carga!

17.4.4. Sonido con clientes LTSP

LTSP thin clients support three different audio systems for applications: ESD, PulseAudio and ALSA. ESD and PulseAudio support networked audio and are used to pass audio from the server to the clients. ALSA is configured to redirect its sound via PulseAudio. For selected applications only supporting the OSS audio system, a wrapper is created by /usr/sbin/debian-edu-ltsp-audiodivert to redirect their sound to PulseAudio. Run this script without arguments to get a list of applications with such redirection enabled.

LTSP diskless workstations handle audio locally and have none of the special setup needed for networked audio.

17.4.5. Actualización del entorno LTSP

It is useful to upgrade the LTSP environment with new packages fairly often, to make sure security fixes and improvements are made available. To upgrade, run these commands as user root on each LTSP server:

ltsp-chroot -a i386  # esto hace "chroot /opt/ltsp/i386" y más, también previene que los demonios inicien
aptitude update
aptitude upgrade
aptitude dist-upgrade
exit
17.4.5.1. Instalación de software adicional en el entorno LTSP

To install additional software for an LTSP client you must perform the installation inside the chroot of the LTSP server.

ltsp-chroot -a i386
## opcionalmente, edita el archivo sources.list:
#editor /etc/apt/sources.list
aptitude update
aptitude install $new_package
exit

17.4.6. Slow login and security

Skolelinux has added several security features on the client network preventing unauthorised superuser access, password sniffing, and other tricks which may be used on a local network. One such security measure is secure login using SSH, which is the default with LDM. This can slow down some client machines which are more than about ten years old, with as little as a 160 MHz processor and 32 MB RAM. Although it's not recommended, you can add the value "True" in the /opt/ltsp/i386/etc/lts.conf file on the server:

LDM_DIRECTX=True

/!\ Warning: The above protects initial login, but all activities after that use unencrypted networked X. Passwords (except the initial one) will travel in cleartext over the network, as well as anything else.

Note: Since such ten-year-old thin clients may also have trouble running never versions of LibreOffice and Firefox/Iceweasel due to pixmap caching issues, you may consider running thin clients with at least 128 MB RAM, or upgrade the hardware, which will also give you the benefit of being able to use them as diskless workstations.

17.5. Reemplazar LDM con KDM

Since version 3.0 Skolelinux has been running LDM as its login manager, which uses a secure SSH tunnel to log in. Switching to KDM also requires a switch to XDMCP, which uses lower CPU resources on the clients and on the server.

/!\ Warning: XDMCP does not use encryption. Passwords will travel in cleartext over the network, as well as anything else.

/!\ Note: local devices with ltspfs will stop working without LDM.

Para revisar si XDMCP está corriendo, ejecute este comando desde una estación de trabajo:

 X -query ltspserverXX

Si está en la red de clientes ligeros, ejecute este comando:

 X -query 192.168.0.254

El objetivo es permitir que el cliente ligero real, contacte al servidor xdmcp en 192.168.0.254 (en una configuración estándar de Skolelinux).

Si XDMCP no es accesible en su servidor, que correo KDM, agregue lo siguiente al archivo /etc/kde4/kdm/Xaccess:

 * # any host can get a login window

The star before the comment '#' is important; the rest is a comment, of course :)

Luego habilite XDMCP en KDM con el comando:

 sudo update-ini-file /etc/kde4/kdm/kdmrc Xdmcp Enable true

Finalmente, reinicia KDM ejecutando:

 sudo service kdm restart

17.6. Connecting Windows machines to the network / Windows integration

17.6.1. Joining a domain

For Windows clients the Windows domain "SKOLELINUX" is available to be joined. A special service called Samba, installed on the main-server tjener, enables Windows clients to store profiles and user data, and also authenticates the users during the login.

/!\ Joining a domain with a Windows client requires the steps described in the Debian Edu Jessie Samba Howto.

Windows will sync the profiles of domain users on every Windows login and logout. Depending on how much data is stored in the profile, this could take some time. To minimise the time needed, deactivate things like local cache in browsers (you can use the Squid proxy cache installed on tjener instead) and save files into the H: volume rather than under "My Documents".

17.6.1.1. User groups in Windows

Groupmaps must also be added for any other user group you add through GOsa². If you want your user groups to be available in Windows, e.g. for netlogon scripts or other group dependant actions, you can add them using variations of the following command. Samba will function without these groupmaps, but Windows machines won't be group-aware.

/usr/bin/net groupmap add unixgroup=students \
             type=domain ntgroup="students" \
             comment="All students in the school"

FIXME: It would be even better to first/also explain user groups for Windows with GOsa² (and then show an example for the command line)

If you want to check user groups on Windows, you need to download the tool IFMEMBER.EXE from Microsoft. Then you can use this for example in the logon script which resides on tjener in /etc/samba/netlogon/LOGON.BAT.

17.6.2. XP home

Users bringing in their XP laptops from home can still connect to tjener using their skolelinux credentials, provided the workgroup is set to SKOLELINUX. However, they may need to disable the Windows firewall before tjener will appear in Network Neighbourhood (or whatever it's called now).

17.6.3. Managing roaming profiles

Roaming profiles contain user work environments which include desktop items and settings. Examples include personal files, desktop icons and menus, screen colours, mouse settings, window size and position, application configurations, and network and printer connections. Roaming profiles are available wherever the user logs on, provided the server is available.

Since the profile is copied from the server to the machine during logon, and copied back to the server during logout, a large profile can make Windows login/logout painfully slow. There can be many reasons for a large profile, but the most common problem is that users save their files on the Windows desktop or in the "My Documents" folder instead of in their home directory. Also, some badly designed programs use the profile to store data and as scratch space.

The educational approach: one way to deal with overlarge profiles is to explain the situation to the users. Tell them not to store huge files on the desktop, and if they fail to listen, it's their own fault when login is slow.

Tweaking the profile: a different approach to dealing with the problem is to remove parts of the profile, and redirect other parts to regular file storage. This moves the workload from the users to the administrator, while adding complexity to the installation. There are at least three ways to edit the parts that are removed from the roaming profile.

17.6.3.1. Example smb.conf files for roaming profiles

FIXME: Maybe it is better to purge the examples. People who want to use roaming profiles should know what they are doing ...

/!\ Note The examples are outdated since in wheezy kerberos was configured for samba too!

You should hopefully find an example smb.conf in your preferred language delivered by the installation on tjener under /usr/share/debian-edu-config/examples/. The source file is in English and is called smb-roaming-profiles-en.conf; look for a file with the appropriate code in the filename (the German translation, for example, will be named smb-roaming-profiles-de.conf). Inside the config file are a lot of explanations which you should have a look at.

17.6.3.2. Machine policies for roaming profiles

Machine policies can be edited and copied to all the other computers.

  1. Pick a freshly installed Windows computer, and run gpedit.msc

  2. Under the selection "User Configuration" -> "Administrative Templates" -> "System" -> "User Profiles" -> "Exclude directories in roaming profile", you can enter a semicolon-separated list of directories to exclude from the profile. The directories are internationalised and must be written in your own language the way they are in the profile. Examples of directories to exclude are:

    • log

    • Locale settings

    • Temporary Internet Files

    • My Documents

    • Application Data

    • Temporary Internet Files

  3. Save your changes, and exit the editor.

  4. Copy c:\windows\system32\GroupPolicy to all other Windows machines.

    • It's a good idea to copy it to your Windows OS deployment system to have it included at install time.

17.6.3.3. Global policies for roaming profiles

By using the legacy Windows policy editor (poledit.exe), you can can create a Policy file (NTConfig.pol) and put it in your netlogon share on tjener. This has the advantage of working almost instantly on all Windows machines.

For some time, the policy editor standalone download has been removed from the Microsoft web site, but it's still available as part of the ORK Tools.

With poledit.exe you can create .pol files. If you put such a file on tjener as /etc/samba/netlogon/NTLOGON.POL it will automatically be read by Windows machines and temporarily overwrite the registry, thus applying the changes.

To make sensible use of poledit.exe you also need to download appropriate .adm files for your operating system and applications; otherwise you cannot define many settings in poledit.exe.

Be aware that the new group policy tools, gpedit.msc and gpmc.msc, cannot create .pol files; they either only work for the local machine or need an Active Directory server.

If you understand German, http://gruppenrichtlinien.de is a very good web site on this topic.

17.6.3.4. Editar el registro de Windows

You can edit the registry of the local computer, and copy this registry key to other computers

  1. Iniciar el editor del registro.

  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

  3. Use the menu "Edit menu" -> "New" -> "String Value".

  4. Call it ExcludeProfileDirs

  5. Enter a semicolon-separated list of paths to exclude (in the same way as for a machine policy)

  6. Now you can choose to export this registry key as a .reg file. Mark a selection, right-click, and select "Export".

  7. Save the file and you can double click it, or add it to a script to spread it to other machines.

Fuentes:

17.6.4. Redirecting profile directories

Sometimes just removing directories from the profile is not enough. You may find that users lose files because they mistakenly save things into "My Documents" when this is not saved in the profiles. You may also want to redirect the directories used by some badly programmed applications to normal network shares.

17.6.4.1. Redirecting using machine policies

All the instructions given above about machine policies apply here too. You can use gpedit.msc to edit the policy and copy it to all machines. The redirection should be available under "User Configuration" -> "Windows Settings" -> "Folder Redirection". Directories that it can be useful to redirect include "Desktop" and "My Documents".

One thing to remember is that if you enable folder redirection, those folders are automatically added to the synchronised folders list. If you do not want this, you should disable it via one of the following routes:

  • "User Configuration" -> "Administrative Templates" -> "Network" -> "Offline Files"

  • "Computer Configuration" -> "Administrative Templates" -> "Network" -> "Offline Files"

17.6.4.2. Redirecting using global policies

FIXME: explain how to use profiles from global policies for Windows machines in the skolelinux network

17.6.5. Avoiding roaming profiles

17.6.5.1. Disabling roaming using a local policy

Using local policies, you can disable the roaming profile on individual machines. This is often wanted on special machines - for instance on dedicated machines, or machines that have lower than usual bandwith.

You can use the machine policy method describe above; the key is in "Administrative Templates" -> "System" -> "User Profiles" -> "Only allow local profiles".

17.6.5.2. Disabling roaming using global policies

FIXME: describe roaming profile key for the global policy editor here

17.6.5.3. Disabling roaming in smb.conf

If, perhaps, everyone has their own dedicated machine, and nobody else is allowed to touch it, editing the Samba configuration will let you disable roaming profiles for the entire network. You can alter the smb.conf file on tjener, unsetting the "logon path" and "logon home" variables, then restart samba.

logon path = ""
logon home = ""

17.7. Remote Desktop

17.7.1. Remote Desktop Service

Beginning with this release, choosing the thin client server profile or the combined server profile installs xrdp, a package which uses the Remote Desktop Protocol to present a graphical login to a remote client. Microsoft Windows users can connect to the thin client server running xrdp without installing additional software - they simply start a Remote Desktop Connection on their Windows machine and connect.

Additionally, xrdp can connect to a VNC server or another RDP server.

Some municipalities provide a remote desktop solution so that students and teachers can access Skolelinux from their home computer running Windows, Mac or Linux.

17.7.2. Clientes de escritorio remoto disponible

  • freerdp-x11 is installed by default and is captable of RDP and VNC.

    • RDP - the easiest way to access Windows terminal server. An alternative client package is rdesktop.

    • VNC client (Virtual Network Computer) gives access to Skolelinux remotely. An alternative client package is xvncviewer.

  • NX graphical client gives students and teachers access to Skolelinux remotely on Windows, Mac or Linux PC. One municipality in Norway has provided NX support to all students since 2005. They report that the solution is stable.

  • Citrix ICA client HowTo to access Windows terminal server from Skolelinux.

17.8. HowTos de wiki.debian.org

The HowTos from http://wiki.debian.org/DebianEdu/HowTo/ are either user- or developer-specific. Let's move the user-specific HowTos over here (and delete them over there)! (But first ask the authors (see the history of those pages to find them) if they are fine with moving the howto and putting it under the GPL.)

18. Samba en Debian Edu

Samba (v3), since Debian Edu Wheezy (the previous release), has been fully prepared for use as an NT4-style domain controller with Windows XP, Windows Vista and Windows 7 as clients. After a machine has joined the domain, this machine can be fully managed with GOsa².

18.1. Cómo empezar

This documentation presumes that you have installed the Debian Edu main server and maybe also a Debian Edu workstation to verify that working under Debian Edu/Skolelinux works for you. We presume that you have already created some users that can flawlessly use the Debian Edu workstation. We also presume that you have a Windows XP/Vista/7 workstation at hand, so you can test access to the Debian Edu main server from a Windows machine.

Después de la instalación del servidor principal de Debian Edu, \\TJENER debería ser visible desde computadoras con Windows. El dominio de Debian Edu en Windows es SKOLELINUX. Utilice una computadora con Windows (o Linux con smbclient) para explorar su entorno de red de Windows/Samba.

  1. INICIO -> comando ejecutar.

  2. Esriba \\TJENER y presione enter.

  3. -> a Windows Explorer window should open and show the netlogon share on \\TJENER, and maybe printers you already have configured for printing under Unix/Linux (CUPS queues).

18.1.1. Acceder los archivos mediante Samba

Cuentas de usuarios de estudiantes y profesores que han sido configuradas mediante GOsa² pueden ingresar a \\TJENER\HOMES o \\TJENER\<username> y acceder a sus directorios personales con computadoras Windows que no se han unido al dominio SKOLELINUX.

  1. INICIO -> comando ejecutar.

  2. Escriba \\TJENER\HOMES o \\TJENER\<username> y presione enter.

  3. Escriba su datos de usuario y contraseña en la ventana de autenticación que aparece.

  4. -> una ventana de explorador de Windows se abrirá y le mostrará los archivos y directorios en su directorio personal de Debian Edu.

Por defecto, solamente [home] y [netlogon] son exportadas; más ejemplos para estudiantes y profesores sobre como compartir pueden encontrarse en /etc/samba/smb-debian-edu.conf en el servidor principal de Debian Edu.

18.2. Domain Membership

To use Samba on TJENER as a domain controller, your network's Windows workstations have to join the SKOLELINUX domain provided by the Debian Edu main server.

The first thing you have to do is to enable the SKOLELINUX\Administrator account. This account is not intended for day-to-day usage; its current main purpose is to add Windows machines to the SKOLELINUX domain. To enable this account log on to TJENER as the first user (created during main server installation) and run this command:

  • $ sudo smbpasswd -e Administrator

The password of SKOLELINUX\Administrator has been preconfigured during the main server's installation. Please use the system's root account when authenticating as SKOLELINUX\Administrator.

Once you are done with your administrative work make sure to disable the SKOLELINUX\Administrator account again:

  • $ sudo smbpasswd -d Administrator

18.2.1. Windows hostname

Make sure your Windows machine has the name that you want to use in the SKOLELINUX domain. If not, rename it first (and then reboot). The NetBIOS host name of the Windows machine will later on be used in GOsa² and cannot be changed there (without breaking the domain membership for this machine).

18.2.2. Unirse al dominio SKOLELINUX con Windows XP

Joining Windows XP machines (tested with Service Pack 3) works out of the box.

Nota: Windows XP Home no soporta membresía por dominio, Windows XP Profesional es requerido.

  1. Ingrese a la computadora Windows XP como adminsitrador (o cualquier cuenta con privilegios de administración).

  2. Haga clic en "inicio", luego presione clic-derecho en "Computadora" y luego haga clic en "Propiedades".

  3. Seleccione la pestaña "Nombre de computadora" y haga clic en "Cambiar…"

  4. Debajo de "Miembro de", seleccione el botón junto a "Dominio:", escriba SKOLELINUX y luego haga clic en "OK"

  5. Una ventana emergente le solicitará ingresar las credenciales de una cuenta con derechos de unirse al dominio. Escriba SKOLELINUX\Administrator en el campo nombre de usuario y la contraseña de usuario root del servidor principal, luego haga clic en "OK".

  6. Una ventana emergente de confirmación le dará la bienvenida al dominio SKOLELINUX. Al hacer clic en "OK", tendrá otro mensaje informándole que necesita reiniciar la computadora para que los cambios puedan aplicarse. Haga clic en "OK".

Después del reinicio, cuando ingresa por primera vez, haga clic en el botón "Opciones >>" y seleccione el dominio SKOLELINUX en lugar del dominio local ("esta computadora").

Si el ingreso al dominio ha sido exitoso, usted podrá ver los detalles del equipo en GOsa² (en el menú "Sistemas").

18.2.3. Unirse al dominio SKOLELINUX con Windows Vista/7

Unir computadoras Windows Vista/7 al dominio SKOLELINUX, requiere la instalación de un parche en el registro del cliente Windows Vista/7. Este parche se encuentra en:

  • \\tjener\netlogon\win7+samba_domain-membership\Win7_Samba3DomainMember.reg

Para más información, consulte el archivo README_Win7-Domain-Membership.txt en el mismo directorio. Asegúrese de aplicar este parche como administrador local en el sistema Windows.

Después de aplicar el parche anterior y reiniciar el cliente, podrá unirse al dominio SKOLELINUX:

  1. Haga clic en "inicio", luego presione clic-derecho en "Computadora" y luego haga clic en "Propiedades".

  2. the basic system information page will open. Under "Computer name, domain, and workgroup settings", click on "Change Settings"

  3. on the System Properties page, click on "Change..."

  4. Debajo de "Miembro de", seleccione el botón junto a "Dominio:", escriba SKOLELINUX y luego haga clic en "OK"

  5. Una ventana emergente le solicitará ingresar las credenciales de una cuenta con derechos de unirse al dominio. Escriba SKOLELINUX\Administrator en el campo nombre de usuario y la contraseña de usuario root del servidor principal, luego haga clic en "OK".

  6. Una ventana emergente de confirmación le dará la bienvenida al dominio SKOLELINUX. Al hacer clic en "OK", tendrá otro mensaje informándole que necesita reiniciar la computadora para que los cambios puedan aplicarse. Haga clic en "OK".

Después del reinicio, cuando ingresa por primera vez, haga clic en el botón "Opciones >>" y seleccione el dominio SKOLELINUX en lugar del dominio local ("esta computadora").

Si el ingreso al dominio ha sido exitoso, usted podrá ver los detalles del equipo en GOsa² (en el menú "Sistemas").

18.3. First Domain Logon

Debian Edu ships some logon scripts that pre-configure the Windows user profile on first logon. When logging on to a Windows workstation that has joined the SKOLELINUX domain for the first time the following tasks are run:

  1. copy the user's Firefox profile to a separate location and register that with Mozilla Firefox on Windows

  2. set up Web-Proxy and start page in Firefox

  3. set up Web-Proxy and start page in IE

  4. add a MyHome icon to the Desktop that points to drive H: and opens Windows Explorer on double-click

Other tasks are run on every logon. For further information on this, please refer to the /etc/samba/netlogon folder on your Debian Edu main server.

19. HowTos for teaching and learning

All the Debian packages on this page can be installed by running either aptitude install <package> or apt-get install <package> (as root).

19.1. Moodle

Moodle is a free, Open Source course management system - software designed using sound pedagogical principles to help educators create effective online learning communities. You can download and use it on any computer (including webhosts), yet it can scale from a single-teacher site to a University with 200,000 students. Some schools in France use Moodle to keep track of students' facilities and credit points.

There are moodle sites all over the world, mostly concentrated in Europe and North America. Check the site of an institution near you to get an idea about it. More information is available at the moodle project page, including documentation and support.

19.2. Teaching Prolog

SWI-Prolog is an open source implementation of the programming language Prolog, commonly used for teaching and semantic web applications.

19.3. Monitoring pupils

Some schools use control tools like Controlaula or iTALC to supervise their students. See also the iTALC Wiki (and the documentation in bug 511387).

/!\ Warning: make sure you know the status of the laws about monitoring and restricting computer users' activities in your jurisdiction.

19.4. Restricting pupils' network access

Some schools use Squidguard or Dansguardian to restrict Internet access.

19.5. Smart-Board integration

Some schools use the products of Smarttech for their teaching. You need a workstation with drivers and software for this, Smarttech has published some working non-free Software in a Debian Repository as a download. A local copy of this repository needs to be put inside the school network, so that the smartboard software could be installed on our machines. So teachers and pupils can prepare for class on every computer:

19.5.1. Providing the repository on tjener

Download the repository as a tar.gz file from http://smarttech.com/us/Support/Browse+Support/Download+Software/Software/SMART+Notebook+collaborative+learning+software/Previous+versions/SMART+Notebook+10_2+for+Linux.

# move the tar.gz file to a repository directory on the school network's webroot (by default located on tjener):
root@tjener:~# 
mkdir /etc/debian-edu/www/debian
mv smartnotebook10_2sp1debianrepository.tar.gz /etc/debian-edu/www/debian
# change into the new directory
root@tjener:~# cd /etc/debian-edu/www/debian
# extract the file
root@tjener:~# tar xzvf smartnotebook10_2sp1debianrepository.tar.gz

19.5.2. Add the needed packages to the PXE installation image

Add the following lines to /etc/debian-edu/www/debian-edu-install.dat.local:

d-i apt-setup/local1/repository string http://www/debian/ stable non-free
d-i apt-setup/local1/comment string SMART Repo
d-i apt-setup/local1/key string http://www/debian/swbuild.asc
d-i pkgsel/include string smart-activation,smart-common,smart-gallerysetup,smart-hwr,smart-languagesetup,smart-notebook,smart-notifier,smart-product-drivers

Update the preseed file:

/usr/sbin/debian-edu-pxeinstall

After this, new installations via PXE will have the SmartBoard software installed.

19.5.3. Adding the SmartBoard software manually after installation

The following instructions are for updating LTSP chroots.

Using an editor add the following lines to /etc/apt/sources.list in the chroot:

### SMART Repo
deb http://www/debian/ stable non-free

Start the editor like this:

ltsp-chroot -a i386 editor /etc/apt/sources.list

Add the repository key and install the software:

ltsp-chroot -a i386 wget http://www/debian/swbuild.asc
ltsp-chroot -a i386 apt-key add swbuild.asc
ltsp-chroot -a i386 rm swbuild.asc
# update the dpkg database and install the wanted packages
ltsp-chroot -a i386 aptitude update
ltsp-chroot -a i386 aptitude install smart-activation,smart-common,smart-gallerysetup,smart-hwr,smart-languagesetup,smart-notebook,smart-notifier,smart-product-drivers

19.6. HowTos de wiki.debian.org

The HowTos from http://wiki.debian.org/DebianEdu/HowTo/ are either user- or developer-specific. Let's move the user-specific HowTos over here (and delete them over there)! (But first ask the authors if they are happy with moving them and putting them under the GPL - see the page histories to find them.)

20. HowTos for users

20.1. Changing passwords

Casa usuario debería cambiar su contraseña usando GOsa². Para hacerlo, solo use un navegador web y vaya a https://www/gosa/.

Using GOsa² to change the password ensures that Kerberos (krbPrincipalKey), LDAP (userPassword) and Samba (sambaNTPassword and sambaLMPassword) passwords are the same.

Changing passwords using PAM is working (ie at the KDM/GDM login prompt), but this will only update the Kerberos password, and not the Samba and GOsa² (LDAP) password. So after you changed your password at the login prompt, you really should also change it using GOsa².

20.2. Java

20.2.1. Running standalone Java applications

Standalone Java applications are supported out of the box by the OpenJDK Java runtime.

20.2.2. Running Java applications in the web browser

Running Java applets in the browser are supported out of the box by the OpenJDK Java runtime.

20.3. Using email

Todos los usuarios pueden enviar y recibir correos electrónicos en la red interna, el administrador necesita configurar el servidor de correos exim4 para adaptarse a la situación local, iniciando con dpkg-reconfigure exim4-config.

Every user who wants to use KMail (or Icedove, not installed by default) needs to configure it as follows. For a user with username jdoe the internal email address is jdoe@postoffice.intern.

20.3.1. KMail

  • Start KMail

  • Close the tip of the day

  • Cancel the Account Assistant

  • Open Settings/Configure KMail

  • Modify the default identity

    • enter your email address

    • make sure that 'postoffice.intern' is the default domain (tab Advanced)

    • click OK

  • Choose Accounts out of the menu

    • click add

    • choose imap-server (get rid of KWallet each time it pops up)

    • enter 'intern' as account name and 'postoffice.intern' as imap server

    • check if the username is present

    • don't enter the password, as Kerberos single sign on will be used

    • click the tab Advanced

    • click 'Auto detect', then change Authentication manually from 'Login' to 'GSSAPI'

    • click ok

    • accept the certificate (forever)

    • click ok

  • Open Settings/Configure KMail to configure Sending

    • click Add

    • enter 'intern' as name and set it as default, choose SMTP

    • click 'Create and Configure'

    • enter 'postoffice.intern' as outgoing server name

    • check 'server requires authentication'

    • enter username; again, omit the password

    • click OK

    • click on the just configured server entry, click 'Modify'

    • click advanced configuration

    • click detect automatically

    • click two times OK

  • You should now be able to read your welcome email (next message).

20.3.2. Icedove

  • Start Icedove

  • Click 'Skip this and use my existing email'

  • Enter your email address

  • Uncheck 'Remember password'

  • Don't enter your password as Kerberos single sign on will be used

  • Click 'Continue'

  • Click 'Manual config'

  • Under Authentication, change it to 'Kerberos/GSSAPI' for SMTP as well

  • Click 'Done'

  • A warning pops up, check 'I understand the risks' and click 'Done'

  • First time accessing the inbox click 'Confirm Security Exception' to accept the certificate

20.3.3. Obtener un ticket Kerberos para leer correos en las estaciones de trabajo sin disco

If working on a diskless workstation, you don't have a Kerberos TGT by default. To get one, click the credentials button in the system tray. Enter your password and the ticket will be granted.

20.4. Volume control

En clientes ligeros, pavucontrol o alsamixer (pero no kmix) puede ser usado para ajustar el volumen.

En otras computadoras (estaciones de trabajo, servidores LTSP y estaciones de trabajo sin disco), puede usar kmix o alsamixer.

21. Contribuir

21.1. Déjenos saber que existes

http://www.skolelinux.no/slschools/worldmap.php?lang=en&image=worldmap.png

Existen usuarios de Debian Edu alrededor del mundo. Una forma fácil de contribuir es dejarnos saber que existes y usas Debian Edu, esto nos motiva y, por lo tanto, ya es una contribución valiosa. :-)

El proyecto Debian Edu provee una base de datos de escuelas y usuarios del sistema para ayudar a encontrarse entre ellos mismos y también para dar una idea sobre la ubicación de los usuarios. Háganos saber sobre su instalación de Debian Edu, registrándose en esta base de datos. Para registrar su escuela, useeste formulario web.

21.2. Contribute locally

Actualmente hay equipos locales en Noruega, Alemania, la región de Extremadura en España, Taiwan y Francia. Contruibdores y usuarias "aislados" existen en Grecia, Holanda, Japan y otros lugares.

El capítulo de soporte contiene explicaciones y enlaces a recursos localizados, ya que contruibuir y apoyar son dos lados de la misma moneda.

21.3. Contribuye a nivel global

A nivel internacional estamos organizados en varios equipos que trabajan en distintas áreas.

Most of the time, the developer mailing list is our main medium for communication, though we have monthly IRC meetings on #debian-edu on irc.debian.org and even, less frequently, real gatherings, where we meet each other in person. New contributors should read our http://wiki.debian.org/DebianEdu/ArchivePolicy.

A good way to learn what is happening in the development of Debian Edu is to subscribe to the commit mailinglist.

21.4. Documentación para editores y traductores

¡Este documento necesita de su ayuda! No está finalizado todavía: si lo lee, notará varias lineas que dicen POR CORREGIR. Si usted saber lo que se necesita corregir, considere compartir su conocimiento con nosotros.

The source of the text is a wiki and can be edited with a simple webbrowser. Just go to http://wiki.debian.org/DebianEdu/Documentation/Jessie/ and you can contribute easily. Note: a user account is needed to edit the pages; you need to create a wiki user first.

Another very good way to contribute and to help users is by translating software and documentation. Information on how to translate this document can be found in the translations chapter of this book. Please consider helping the translation effort of this book!

22. Soporte

22.1. Soporte basado en voluntarios

22.1.1. in English

22.1.2. in Norwegian

22.1.3. in German

22.1.4. in French

22.1.5. in Spanish

22.2. Soporte profesional

Lists of companies providing professional support are available from http://wiki.debian.org/DebianEdu/Help/ProfessionalHelp.

23. Nuevas características en Debin Edu Jessie

23.1. New features for Debian Edu 8.0+edu0 Codename Jessie released 2015-XX-YY

23.1.1. Installation changes

23.1.2. Actualizaciones de software

  • Todo lo nuevo en Debian Jessie 8.0, por ejemplo:

    • Linux kernel 3.16.x; for the i386 architecture, support for i486 processors has been dropped; oldest supported ones: i586 (like Intel Pentium and AMD K5).

    • Desktop environments KDE "Plasma" 4.11.12, GNOME 3.14, Xfce 4.10, LXDE 0.5.6

      • new optional desktop environment: MATE 1.8

      • KDE "Plasma" is installed by default; to choose one of the others see this manual.

    • the browsers Iceweasel 31 ESR and Chromium 41

    • LibreOffice 4.3.3

    • Educational toolbox GCompris 14.07

    • Music creator Rosegarden 14.02

    • GOsa 2.7.4

    • LTSP 5.5.4

    • new boot framework: systemd. More information is available in the Debian systemd wiki page and in thesystemd manual.

    • Debian Jessie includes about 42000 packages available for installation.

23.1.3. Actualizaciones en documentación y traducciones

  • Translation updates for the templates used in the installer. These templates are now available in 29 languages.

  • Two manual translations have been completed: Dutch and Norwegian Bokmål.

  • The Debian Edu Jessie Manual is fully translated to German, French, Italian, Danish, Dutch and Norwegian Bokmål. A partly translated version exists for Spanish.

23.1.4. LDAP related changes

  • TBD

23.1.5. Other changes

23.1.5.1. Squid
  • Shutdown and reboot of the main server takes longer due to a new default setting shutdown_lifetime 30 seconds. As an example the delay could be set to 10 seconds by appending the line shutdown_lifetime 10 seconds to /etc/squid3/squid.conf.

23.1.5.2. SSH
  • The root user is no longer allowed to login via SSH with password. The default PermitRootLogin yes has been replaced with PermitRootLogin without-password, so ssh-keys will work.

23.1.5.3. Backup (slbackup-php)
  • To be able to use the slbackup-php site (which uses root logins via ssh), PermitRootLogin yes has to be set temporarily in /etc/ssh/sshd_config.

23.1.5.4. gnash (flash player)

23.1.6. Known issues

  • None yet.

24. Copyright y authores

This document is written and copyrighted by Holger Levsen (2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015), Petter Reinholdtsen (2001, 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2012, 2014), Daniel Heß (2007), Patrick Winnertz (2007), Knut Yrvin (2007), Ralf Gesellensetter (2007), Ronny Aasen (2007), Morten Werner Forsbring (2007), Bjarne Nielsen (2007, 2008), Nigel Barker (2007), José L. Redrejo Rodríguez (2007), John Bildoy (2007), Joakim Seeberg (2008), Jürgen Leibner (2009, 2010, 2011, 2012, 2014), Oded Naveh (2009), Philipp Hübner (2009, 2010), Andreas Mundt (2010), Olivier Vitrat (2010, 2012), Vagrant Cascadian (2010), Mike Gabriel (2011), Justin B Rye (2012), David Prévot (2012), Wolfgang Schweer (2012, 2013, 2014, 2015) and Bernhard Hammes (2012) and is released under the GPL2 or any later version. Enjoy!

If you add content to it, please only do so if you are the author. You need to release it under the same conditions! Then add your name here and release it under the "GPL v2 or any later version" licence.

25. Copyright de la traducción y Autores

The Spanish translation is copyrighted by José L. Redrejo Rodríguez (2007), Rafael Rivas (2009, 2010, 2011, 2012) and Norman Garcia (2010, 2012, 2013) and is released under the GPL v2 or any later version.

The Bokmål translation is copyrighted by Petter Reinholdtsen (2007, 2012, 2014, 2015), Håvard Korsvoll (2007-2009), Tore Skogly (2008), Ole-Anders Andreassen (2010), Jan Roar Rød (2010), Ole-Erik Yrvin (2014), Ingrid Yrvin (2014, 2015), Hans Arthur Kielland Aanesen (2014), Knut Yrvin (2014), FourFire Le'bard (2014), Stefan Mitchell-Lauridsen (2014) and Ragnar Wisløff (2014) and is released under the GPL v2 or any later version.

The German translation is copyrighted by Holger Levsen (2007), Patrick Winnertz (2007), Ralf Gesellensetter (2007, 2009), Roland F. Teichert (2007, 2008, 2009), Jürgen Leibner (2007, 2009, 2011, 2014), Ludger Sicking (2008, 2010), Kai Hatje (2008), Kurt Gramlich (2009), Franziska Teichert (2009), Philipp Hübner (2009), Andreas Mundt (2009, 2010) and Wolfgang Schweer (2012, 2013, 2014, 2015) and is released under the GPL v2 or any later version.

The Italian translation is copyrighted by Claudio Carboncini (2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014) and Beatrice Torracca (2013, 2014) and is released under the GPL v2 or any later version.

The French translation is copyrighted by Christophe Masson (2008), Olivier Vitrat (2010), Cédric Boutillier (2012, 2013, 2014, 2015), Jean-Paul Guilloneau (2012), David Prévot (2012), Thomas Vincent (2012) and the French l10n team (2009, 2010, 2012) and is released under the GPL v2 or any later version.

The Danish translation is copyrighted by Joe Hansen (2012, 2013, 2014) and is released under the GPL v2 or any later version.

The Dutch translation is copyrighted by Frans Spiesschaert (2014, 2015) and is released under the GPL v2 or any later version.

26. Traducciones de este documento

Versions of this document fully translated into German, Italian, French, Danish, Dutch and Norwegian Bokmål are available. An incomplete translation exists for Spanish. This is an online overview of all languages.

26.1. HowTo translate this document

As in many free software projects, translations of this document are kept in PO files. More information about the process can be found in /usr/share/doc/debian-edu-doc/README.debian-edu-jessie-manual-translations. The Git repository (see below) contains this file too. Take a look there and at the language specific conventions if you want to help translating this document.

To commit your translations you need to be a member of the Alioth project debian-edu. If your Alioth username differs from your local one, create or edit ~/.ssh/config. There should be an entry like:

Host git.debian.org
User <your-alioth-username>

Then check out the debian-edu-doc source using ssh access: git clone git+ssh://git.debian.org/git/debian-edu/debian-edu-doc.git

If you only want to translate, you just need to check out some files from Git (which can be done anonymously) and create patches. Please file a bug against the debian-edu-doc package and attach the PO file to the bugreport. You can find some instructions on how to submit bugs here.

You can check out the debian-edu-doc source anonymously with the following command (you need to have the git package installed for this to work):

  • git clone git://anonscm.debian.org/debian-edu/debian-edu-doc.git

Then edit the file documentation/debian-edu-jessie/debian-edu-jessie-manual.$CC.po (replacing $CC with your language code). There are many tools for translating available; we suggest using lokalize.

Then you either commit the file directly to Git (if you have the rights to do so) or send the file to the bugreport.

To update your local copy of the repository use the following command inside the debian-edu-doc directory:

  • git pull

Read /usr/share/doc/debian-edu-doc/README.debian-edu-jessie-manual-translations to find information how to create a new PO file for your language if there isn't one yet, and how to update translations.

Please keep in mind that this manual is still under development, so don't translate any string which contains " FIXME".

Basic information about Alioth (the host where our Git repository is located) and Git is available at http://wiki.debian.org/Alioth/Git.

If you are new to Git, look at the Pro Git book; it has a chapter on the recording changes to the repository. Also you might want to look at the gitk package that provides a GUI for Git.

Please report any problems.

27. Appendix A - The GNU General Public License

Note to translators: there is no need to translate the GPL license text. 

27.1. Manual for Debian Edu 8.0+edu0 Codename "Jessie"

Copyright (C) 2007-2014 Holger Levsen < holger@layer-acht.org > and others, see the Copyright chapter for the full list of copyright owners.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

27.2. LICENCIA PUBLICA GENERAL GNU

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

27.3. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

  • a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

    c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.

3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

  • a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

28. Apéndice B - Aún no hay CD/DVDs vivo de Debian Edu Jessie

/!\ Debian Edu Live CD/DVDs for Jessie are not available at the moment, but are being worked on...

28.1. Features of the Standalone image

  • XFCE desktop

  • All packages from the Standalone profile

  • Todos los paquetes de la tarea «laptop»

28.2. Features of the Workstation image

  • XFCE desktop

  • All packages from the Workstation profile

  • Todos los paquetes de la tarea «laptop»

28.3. Activando el soporte regional y traducciones

To activate a specific translation, boot using locale=ll_CC.UTF-8 as a boot option, where ll_CC.UTF-8 is the locale name you want. To activate a given keyboard layout, use the keyb=KB option where KB is the desired keyboard layout. Here is a list of commonly used locale codes:

Lenguaje (Región)

Valores local

Distribución del teclado

Noruego (Bokmål)

nb_NO.UTF-8

no

Noruego (Nynorsk)

nn_NO.UTF-8

no

Alemán

de_DE.UTF-8

de

Francés (Francia)

fr_FR.UTF-8

fr

Griego (Grecia)

el_GR.UTF-8

el

Japonés

ja_JP.UTF-8

jp

Sami del Norte (Noruega)

se_NO

no(smi)

La lista completa de los códigos locales esta disponible en /usr/share/i18n/SUPPORTED, pero únicamente los locales con UTF-8 son soportados por la imagen «live». No todas las traducciones locales tienen instalación. Las distribuciones de teclados pueden ser encontradas en /usr/share/keymaps/i386/.

28.4. Cosas para saber

  • The password for the user is "user"; root has no passwd set.

28.5. Problemas conocidos con la imágen

  • /!\ No hay imágenes de jessie todavía :(

28.6. Descarga

The image is 1.2 GiB and would be (but currently isn't) available via FTP, HTTP or rsync from ftp.skolelinux.org under cd-jessie-live/.

29. Apéndice C - Características de publicaciones anteriores

29.1. New features in Debian Edu 7.1+edu0 Codename Wheezy released 2013-09-28

29.1.1. User visible changes

  • Updated artwork and new Debian Edu / Skolelinux logo, visible during installation, in the login screen and as desktop wallpaper.

29.1.2. Installation changes

  • New version of debian-installer from Debian Wheezy, see installation manual for more details.

  • The DVD image was dropped, instead we added a USB flash drive / Blue-ray disc image, which behaves like the DVD image, but is too big to fit on a DVD.

29.1.3. Actualizaciones de software

  • Todo lo nuevo en Debian Wheezy 7.1, por ejemplo:

    • Linux kernel 3.2.x

    • Desktop environments KDE "Plasma" 4.8.4, GNOME 3.4, Xfce 4.8.6, and LXDE 0.5.5 (KDE "Plasma" is installed by default; to choose GNOME, Xfce or LXDE: see manual.)

    • Web browser Iceweasel 17 ESR

    • LibreOffice 3.5.4

    • LTSP 5.4.2

    • GOsa 2.7.4

    • CUPS print system 1.5.3

    • Educational toolbox GCompris 12.01

    • Music creator Rosegarden 12.04

    • Image editor Gimp 2.8.2

    • Virtual universe Celestia 1.6.1

    • Virtual stargazer Stellarium 0.11.3

    • Scratch visual programming environment 1.4.0.6

    • New version of debian-installer from Debian Wheezy, see installation manual for more details.

    • Debian Wheezy includes about 37000 packages available for installation.

29.1.4. Actualizaciones en documentación y traducciones

  • Translation updates for the templates used in the installer. These templates are now available in 29 languages.

  • The Debian Edu Wheezy Manual is fully translated to German, French, Italian and Danish. Partly translated versions exist for Norwegian Bokmål and Spanish.

29.1.5. LDAP related changes

  • Slight changes to some objects and acls to have more types to choose from when adding systems in GOsa. Now systems can be of type server, workstation, printer, terminal or netdevice.

29.1.6. Other changes

  • New Xfce desktop task.

  • LTSP diskless workstations run without any configuration.

  • On the dedicated client network of thin client servers (default 192.168.0.0/24), machines run by default as diskless workstations if they are powerful enough.

  • GOsa gui: Now some options that seemed to be available, but are non functional, are greyed out (or are not clickable). Some tabs are completely hidden to the end user, others even to the GOsa admin.

29.1.7. Known issues

  • Using KDE "Plasma" on standalone and roaming workstations, at least Konqueror, Chromium and Step sometimes fail to work out-of-the box when the machines are used outside the backbone network, proxy use is required to use the other network but no wpad.dat information is found. Workaround: Use Iceweasel or configure the proxy manually.

29.2. Cambios en Debian Edu 6.0.7+r1 nombre código "Squeeze" publicado el 03-03-2013

  • Debian Edu 6.0.7+r1 Codename "Squeeze" is an incremental update to Debian Edu 6.0.4+r0, containing all the changes between Debian 6.0.4 and 6.0.7 as well as the following changes:

  • sitesummary was updated from 0.1.3 to 0.1.8

    • Make Nagios configuration more robust and efficient

    • Comply with 3.X kernel

  • debian-edu-doc from 1.4~20120310~6.0.4+r0 to 1.4~20130228~6.0.7+r1

    • Minor updates from the wiki

    • Danish translation now complete

  • debian-edu-config from 1.453 to 1.455

    • Fix /etc/hosts for LTSP diskless workstations. Closes: #699880

    • Make ltsp_local_mount script work for multiple devices.

    • Correct Kerberos user policy: don't expire password after 2 days. Closes: #664596

    • Handle '#' characters in the root or first users password. Closes: #664976

    • Fixes for gosa-sync:

      • Don't fail if password contains "

      • Don't disclose new password string in syslog

    • Fixes for gosa-create:

      • Invalidate libnss cache before applying changes

      • Multiple failures during mass user import into GOsa²

    • gosa-netgroups plugin: don't erase entries of attribute type "memberNisNetgroup". Closes: #687256

    • First user now uses the same Kerberos policy as all other users

    • Add Danish web page

  • debian-edu-install from 1.528 to 1.530

    • Improve preseeding support and documentation

29.3. New features in Debian Edu 6.0.4+r0 Codename "Squeeze" released 2012-03-11

29.3.1. User visible changes

  • Updated artwork and new Debian Edu / Skolelinux logo, visible during installation, in the login screen and as desktop wallpaper.

  • Replace LWAT with GOsa² as the LDAP administration interface. See below and the Getting started chapter of the manual for more information on GOsa².

  • See below for a list of updated software.

  • Show welcome page to users when they first log in. This default start page for Iceweasel is fetched from LDAP at installation and boot time for networked profiles. Set to http://www.skolelinux.org/ for Standalone installations.

  • New LXDE desktop option, in addition to KDE (default) and GNOME. As the GNOME option, the LXDE desktop option is only supported by the CD installation method.

  • Speed up LTSP client boot.

  • Provide a KDE menu entry for changing the password in GOsa².

    • For more information on how to change passwords (including expired passwords at the KDM/GDM login prompt), please see the HowTos for users chapter of the manual.

  • Add link to http://linuxsignpost.org/ on the start page shown to new users.

  • All LTSP servers are also RDP servers by default.

  • Improve handing of removable media on thin clients. Show desktop notification longer when inserting new media and provide an option to start dolphin when such media is inserted.

29.3.2. Installation changes

  • New version of debian-installer from Debian Squeeze, see installation manual for more details.

  • Since root logins are no longer allowed when using gdm/kdm, a user in LDAP is set up during installation of the Main Server. This user is up as GOsa² administrator and is also granted sudo access. The Debian Edu menu reordering has been enabled as well, by adding the user also to the teachers group.

  • The .iso images can directly be copied onto USB flash drives, for example by using dd or even cat..

  • New roaming workstation profile for laptops.

  • Device access for all users is handled by PolicyKit, and no extra group memberships are needed to get access to devices.

  • A warning will be issued when installing on too small disks for the selected profile.

  • Simplify partitioning for Standalone installs to only have a separate /home/ but no seperate /usr anymore.

  • More tests in the test suite, and correct some of the tests that failed earlier.

  • Make sure to report an error and abort the installation when trying to use the netinst images without a working Internet connection, instead of silently installing a broken system.

29.3.3. Actualizaciones de software

  • Everything which is new in Debian Squeeze:

    • compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB.

    • Linux kernel 2.6.32

    • Desktop environments KDE "Plasma" 4.4 and GNOME 2.30

    • Web browser Iceweasel 3.5

    • OpenOffice.org 3.2.1

    • Educational toolbox GCompris 9.3

    • Music creator Rosegarden 10.04.2

    • Image editor Gimp 2.6.10

    • Virtual universe Celestia 1.6.0

    • Virtual stargazer Stellarium 0.10.4

    • Debian Squeeze includes over 10,000 new packages available for installation, including the browser Chromium

29.3.4. Infrastructural changes

  • The 10.0.0.0/8 network is used instead of 10.0.2.0/23, and the default gateway is 10.0.0.1/8, not 10.0.2.1/8 as used in the past.

    • The dynamic DHCP range was extended on the backbone network to around 4k IP addresses, and around 200 IP addresses for the thin client network.

    • The DHCP network for 10.0.0.0/8 has been renamed from barebone to intern

    • There are no pre-defined host entries for client systems in DNS anymore (staticXX, ..., dhcpYY...)

  • MIT Kerberos5 used for user authentication, enabled for:

    • PAM

    • IMAP

    • SMTP

  • NFSv4, but without added Kerberos privacy/integrity/authentication. The machines still have to be added to the workstation netgroup to be able to mount the home directories

  • Full Samba NT4 domain support for Windows XP/Vista/7

  • A complete PXE boot environment is setup when installing from the DVD, so that further installations can be done using PXE network installs only. A new script pxe-addfirmware is provided to support more hardware models needing firmware.

  • Remove all hard coded settings on workstations, and configure workstations and roaming workstations using settings detected from the environment using DNS, DHCP and LDAP. See this blog post with more information on the changes.

29.3.5. Actualizaciones en documentación y traducciones

  • Translation updates for the templates used in the installer. These templates are now available in 28 languages.

  • The Debian Edu Squeeze Manual has generally been cleaned up and improved. A proof-read with corrections was done by a native English linguist.

  • The Debian Edu Squeeze Manual is fully translated to German, French and Italian. Partly translated versions exist for Danish (new), Norwegian Bokmål and Spanish.

  • Improvements to many language tasks, especially French and Danish.

  • Improvements to the welcome web page shown at first logins.

    • Add new Japanese, Portuguese and Catalan translations of the welcome web page.

29.3.6. Regressions

  • CD and DVD installs are different - the DVD is only suitable for installing a KDE environemnt.

  • Drop support for powerpc architecture from netinst installation CDs. It is still possible to run Debian Edu on powerpc, but installation is less automated.

  • Drop gtick in the default installation, because it doesn't work on thin clients (BTS #566335).

29.3.7. New administration tool: GOsa²

  • gosa (2.6.11-3+squeeze1~edu+1) from the upcoming 6.0.5 Debian point release, with:

    • Fix DHCP host removal. Closes: #650258

    • Backport user generator unicode character transliteration. Closes: #657086

  • Customized GOsa² configuration to better suit the Debian Edu network architecture.

    • GOsa² updates DNS and NFS exports immediately when a system is updated in LDAP, making diskless workstations work right after they are added to the required netgroup.

  • Provide script sitesummary2ldapdhcp to update or populate GOsa² with system objects using information gathered by sitesummary, to make it easier to add new computers to the network.

29.3.8. More software changes

  • Add video editor Kdenlive 0.7.7 and interactive geometry tool Geogebra 3.2.42

  • Change default package manager from adept to synaptic, to avoid getting two graphical package managers installed by default.

  • Install openoffice.org-kde by default ensure OOo uses KDE file dialogs in KDE.

  • Change video player setup to install different players in KDE (dragonplayer), GNOME (totem) and LXDE (totem).

  • Add KDE tools freespacenotifier, kinfocenter, update-notifier-kde to the default KDE installation.

  • Replace network-manager-kde with plasma-widget-networkmanagement in the standalone KDE profile

  • Install usb-modeswitch on laptops to handle dual mode USB devices.

  • Add cifs-utils to the default installation to ensure SMB mounting can work in any profile.

  • Drop octave, gpscorrelate, qlandkartegt, viking, starplot, kig, kseg, luma, and valgrind from the default installation and the DVD to make room for higher priority packages.

  • Drop libnss-mdns from stationary profiles, to make sure DNS is the authoritive source of host names.

  • freerdp-x11 is installed by default as RDP and VNC client. (Previously rdesktop was installed instead.)

29.3.9. Other LDAP related changes

  • Make the LDAP server handle more clients after increasing the server's file descriptor limit from 1024 to 32768.

  • Add code to re-enable stopped CUPS queues every hour on the Main Server, and flush all CUPS queues every night. Both can be disabled in LDAP.

  • Provide network blocking / exam mode by default, controlled by LDAP. In addition to network blocking, changes to the Squid proxy configuration is needed.

  • Enable automatic extending of full file systems on the Main Server by default. This can be disabled in LDAP.

  • Change SSL certificate name used by the LDAP server and adjust clients to use the new name to be able to enable certificate checking on clients.

  • Switch PowerDNS to use strict LDAP mode, to allow us to simplify the LDAP setup used for DNS.

  • Simplify autofs LDAP rules to make sure they work with extra home directory partitions exported from the main-server without any changes.

  • Make backup system more robust in handling LDAP database dump and restart.

29.3.10. Other changes

  • Root logins are denied for both KDM and GDM - see above and Getting started for details.

  • Clients set up to shut down at night will stay up for at least an hour if they are turned on manually between 16:00 and 07:00.

  • Additionally use local NTP clock on the main-server to ensure clients and server sync clocks also when disconnected from the Internet.

  • Access to Debian repositories is always done via a proxy on the main server - read more about the implementation details using DHCP and WPAD

  • The home0 partition is mounted nosuid, to increase security.

  • Change KDE/Akonadi configuration to reduce the disk footprint of every user from 144 to 24 MiB.

  • Nueva herramienta notify-local-users para enviar notificaciones de escritorio a todos los usuarios registrados en una computadora. Útil en servidores de clientes ligeros.

29.4. Nuevas características en 5.0.6+edu1 nombre código "Lenny", publicado el 05-10-2010

  • Everything that is new in Debian 5.0.5 and 5.0.6, which includes support for some new hardware. 5.0.5 and 5.0.6 are maintenance releases and generally don't add new features

  • Several bugfixes, including fixes for Skolelinux bugs #1436, #1427, #1441, #1413, #1450 and Debian bugs #585966, #585772, #585968, #586035 and #585966 plus several which were not filed

  • Merge new web pages from Squeeze - the text is the same, but it provides a new translation for zh, compete translations for all included languages (de, es, fr, it, nb, nl, ru, zh), and a rename of the .no page to .nb to reflect the language used

  • Debian-edu-install: Slovak translation added, updates to German, Basque, Italian, Bokmål, Vietnamese and Chinese translations.

  • Debian-edu-doc: improvements to Italian, Bokmål and German translations as well as overall content and layout

  • Sitesummary: various improvements; most notably, several Nagios checks were added to monitor system health

  • Shutdown-at-night: fix #1435 (did not work with the LDAP host groups populated by lwat).

29.5. Nuevas características en Debian Edu 5.0.4+edu0 "Lenny" publicado el 2010-02-08

  • Everything that is new in Debian 5.0.4; see the following paragraph for details.

  • More than 80 applications relevant for education are included based on user feedback and user statistics (through Debian Edu popularity contest). The full list of packages is given in the task overview page.

  • Escritorio para los estudiantes mejorado con accesos directos a software educativo como GCompris, Kalzium, Kgeography, KMplot, KStars, Stopmotion y OpenOffice Write e Impress.

  • Iconos dinámicos del escritorio y opciones del menú son ajustadas basada en el grupo de usuarios

  • GNOME added as a supported desktop; see the Installation chapter to learn how to install with GNOME instead of KDE as desktop.

  • Soporte para más de 50 idiomas.

  • Sistema mejorado para administración de usuarios e identificación de computadoras.

  • Mejoras en la configuración de clientes sin disco y clientes ligeros.

  • Nuevo menú inicio permite a los usuarios elegir entre estación de trabajo sin disco, cliente ligero y estación de trabajo.

  • Opción de estación de trabajo sin disco es instalada pero no activada por defecto en los servidores con el perfil servidor de clientes ligeros.

  • Main-server is set up as a PXE server for booting thin clients and diskless workstations, and for installing to clients' hard or flash drives.

  • The configuration for DNS and DHCP is stored in LDAP and can be edited using lwat. The DNS server has been switched from bind9 to powerdns.

  • LDAP server for directory services (NSS) is located using a SRV record in DNS instead of hardcoding the 'ldap' DNS name. LDAP server for password checks (PAM) is still using the hardcoded 'ldap' DNS name.

  • Multi-architecture (amd64/i386/powerpc) net installer CD.

  • (Most) Packages are downloaded over the Internet.

  • Multi-architecture (amd64/i386) installer DVD capable of installing without network.

  • PulseAudio is provided in addition to ALSA and OSS for sound on workstations and diskless workstation machines.

  • El perfil Básico ha sido renombrado a Mínimo, para ser más acorde.

  • La configuración de Nagios3 ahora es automáticamente creada por sitesummary.

  • El archivo por usuario ~/.xsession-errorses seccionado automáticamente cuando el usuario inicia sesión, para evitar utilizar demasiado espacio en la partición home, con un registro que crece infinitamente. El usuario puede deshabilitar esto, creando ~/.xsession-errors-enable. . El administrador puede configurar el sistema para redireccionar el archivo a /dev/null editando /etc/X11/Xsession.d/05debian-edu-truncate-xerrorlog.

  • Para una fácil instalación de Debian Edu en la que pudiese necesitar firmware no-libre, el CD como el DVD incluyen el siguiente firmware: firmware-bnx2, firmware-bnx2x, firmware-ipw2x00, firmware-iwlwifi, firmware-qlogic and firmware-ralink.

29.6. Nuevas características en Debian 5.0.4, sistema en el cual esta basado Debian Edu 5.0.4+edu0

  • El nuevo Kernel Linux 2.6.26 soporta ms hardware

  • With this release, Debian GNU/Linux updates from X.Org 7.1 to X.Org 7.3 (which includes support of newer hardware) and now includes the desktop environments KDE 3.5.10 and GNOME 2.22. Updates of other desktop applications include Iceweasel (version 3.0.6, which is the unbranded Firefox web browser) and Icedove (version 2.0.0.19, which is the unbranded Thunderbird mail client) as well as upgrades to Evolution 2.22.3, OpenOffice.org 2.4.1, and Pidgin 2.4.3 (formerly known as Gaim). SWI-prolog is back.

  • Instalación desde CD/DVD desde windows

  • Se cambio de sysklogd a rsyslog como el colector de registros del sistema.

  • Para mayor información, visite la página Lo nuevo en Lenny

29.7. Características nuevas en la versión "3.0 Terra" publicado el 12-05-2007

  • Much improved documentation with updated translations to German, Norwegian Bokmål and Italian

  • Includes more than 40 bug fixes, improvements and security updates that came to our attention after the 3.0r0 release

29.8. New features in the "3.0r0 Terra" release 2007-07-22

  • Basado en Debian 4.0 Etch publicación en 2007-04-08

  • Instalador gráfico con soporte para mouse

  • Boot splash con usplash

  • comatible con LSB 3.1

  • Versión del kernel linux 2.6.18

    • soporte para controladoras SATA y discos rígidos

  • Versión de X 7.1.

  • Ambiente gráfico KDE 3.5.5

  • OpenOffice versión 2.0

  • LTSP5 (versión 0.99debian12)

  • Inventario automático de equipos instalados utilizando Sitesummary.

  • Configuración automática de munin utilizando los datos de Sitesummary.

  • Control automático de versiones de configuración en /etc/ por medio de svk.

  • File systems can be extended while the file system is mounted.

    • Support for automatically extending file systems based on predefined rules.

  • Soporte de dispositivos locales en Clientes ligeros.

  • Nuevas arquitecturas de procesadores: amd64 (soporte completo) y ppc (soporte experimental, el sistema de instalación funciona únicamente en la nueva subarquitectura newworld).

  • DVDs multi-arquitectura para i386, amd64 y powerpc

  • El CD de instalación requiere acceso a internet durante la instalación. Versiones previas podían instalarse a partir de un CD sin acceso a internet.

  • Regresión: webmin ha sido eliminado de Debian por problemas de mantenimiento. Hemos agregado una nueva herramienta de administración de usuarios vía web llamada lwat, que no tiene la misma funcionalidad que la herramienta anterior de administración de usuarios wlus. wlus requiere de webmin.

  • Regression: swi-prolog is not part of Etch, but was part of Sarge. The HowTo teach and learn Chapter describes how to install swi-prolog on Etch.

29.9. Características de la versión 2.0 publicada el 14-03-2006

  • Basado en Debian 3.1 Sarge publicado el 06-06-2005.

  • Linux kernel versión 2.6.8.

  • XFree86 versión 4.3.

  • KDE versión 3.3.

  • OpenOffice versión 1.1.

29.10. Características de la versión "1.0 venus" publicado el 20-06-2004

  • Basado en Debian 3.0 Woody plublicado el 19-07-2002

  • Versión del kernel linux 2.4.26.

  • XFree86 versión 4.1.

  • KDE versión 2.2.

29.11. Más información sobre versiones más anteriores

Más información sobre versiones más anteriores puede encontrarse en http://developer.skolelinux.no/info/cdbygging/news.html.