Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
os4e_-_2015_-_fortgeschrittene [2015/07/12 22:30] admin [Nachmittag] |
os4e_-_2015_-_fortgeschrittene [2015/07/14 15:11] admin [Nachmittag] |
||
---|---|---|---|
Zeile 17: | Zeile 17: | ||
* keine Lösung | * keine Lösung | ||
* BYOD | * BYOD | ||
+ | |||
+ | ==== PXE Server selbst aufsetzen für Netzwerkstart ==== | ||
+ | |||
+ | * DHCP Server -> TFTP Server -> NFS/Samba/Web Server | ||
+ | |||
+ | <code ini /etc/dhcpd.conf> | ||
+ | ddns-update-style none; | ||
+ | |||
+ | # eth2 unterrichtsnetz | ||
+ | subnet 192.168.100.0 netmask 255.255.254.0 { | ||
+ | authoritative; | ||
+ | range 192.168.101.1 192.168.101.254; | ||
+ | default-lease-time 14400; | ||
+ | max-lease-time 172800; | ||
+ | |||
+ | option broadcast-address 192.168.101.255; | ||
+ | option routers 192.168.100.254; | ||
+ | option subnet-mask 255.255.254.0; | ||
+ | option netbios-name-servers 192.168.100.254; | ||
+ | option netbios-node-type 8; | ||
+ | option domain-name-servers 193.170.221.1, 8.8.4.4, 8.8.8.8; | ||
+ | option ntp-servers 193.170.221.1; | ||
+ | # pxe | ||
+ | filename "pxelinux.0"; | ||
+ | next-server 192.168.100.14; | ||
+ | } | ||
+ | |||
+ | </code> | ||
+ | |||
+ | http://d-i.debian.org/daily-images/amd64/daily/netboot/netboot.tar.gz | ||
+ | |||
+ | *Entpacken auf TFTP Server nach /srv/tftpboot: | ||
+ | |||
+ | *pxelinux.0 Datei muss vorhanden sein und pxelinux.cfg als Ordner mit der Datei "default" und folgendem Inhalt: | ||
+ | |||
+ | <code ini /srv/tftpboot/pxelinux.cfg/default> | ||
+ | PROMPT 0 | ||
+ | #ALLOWOPTIONS 0 | ||
+ | TIMEOUT 100 | ||
+ | |||
+ | MENU TITLE Willkommen! | ||
+ | |||
+ | LABEL harddisk | ||
+ | localboot 0x80 | ||
+ | |||
+ | LABEL Debian 32-bit | ||
+ | MENU LABEL Debian 32-bit installieren | ||
+ | KERNEL menu.c32 | ||
+ | APPEND debian-installer/i386/pxelinux.cfg/default | ||
+ | |||
+ | LABEL Debian 64-bit | ||
+ | MENU LABEL Debian 64-bit installieren | ||
+ | KERNEL menu.c32 | ||
+ | APPEND debian-installer/amd64/pxelinux.cfg/default | ||
+ | |||
+ | LABEL knoppix-dvd-32 | ||
+ | MENU LABEL KNOPPIX DVD | ||
+ | KERNEL /knoppix/tftpboot/linux | ||
+ | APPEND nfsdir=192.168.100.14:/daten/tftpboot/knoppix dhcp lang=de ramdisk_size=100000 init=/sbin/init apm=power-off nomce loglevel=1 initrd=/knoppix/tftpboot/miniroot.gz libata.force=noncq vt.default_utf9=0 hpsa.hpsa_allow_any=1 BOOT_IMAGE=knoppix | ||
+ | |||
+ | |||
+ | </code> | ||
==== Nachmittag ==== | ==== Nachmittag ==== | ||
Zeile 24: | Zeile 86: | ||
*Installation desktop4education NEU | *Installation desktop4education NEU | ||
+ | mkdir /c | ||
+ | mount /dev/sda2 /c | ||
+ | mount --bind /dev /c/dev | ||
+ | mount --bind /proc /c/proc | ||
+ | mount --bind /sys /c/sys | ||
+ | chroot /c /bin/bash | ||
+ | |||
+ | grub-install /dev/sda | ||
+ | update-grub | ||
+ | | ||
+ | | ||
===== Dienstag, 14. Juli 2015 ===== | ===== Dienstag, 14. Juli 2015 ===== | ||
==== Vormittag ==== | ==== Vormittag ==== | ||
Zeile 49: | Zeile 122: | ||
*Netzwerkanalyse, Recovery, Troubleshooting | *Netzwerkanalyse, Recovery, Troubleshooting | ||
+ | |||
+ | === System aktualisieren === | ||
+ | |||
+ | *Suche installierte Version von cups inkl. Versionsnummer: | ||
+ | |||
+ | zypper se -s -i cups | ||
+ | zypper --no-remote se -s -i cups | ||
+ | |||
+ | *Paketquellen aktualisieren | ||
+ | |||
+ | zypper ref -r pykota | ||
+ | |||
+ | *Suche cups Pakete in pykota Paketquelle | ||
+ | |||
+ | zypper se -s -r pykota cups | ||
+ | |||
+ | *Aktualisere cups mit Gewalt: | ||
+ | |||
+ | zypper in -f -r pykota cups | ||
+ | |||
+ | === Moodle: LDAP Anmeldung klappt nicht === | ||
+ | |||
+ | *Anmelden via admin und Kennwort | ||
+ | *Website-Administration -> Plugins -> Authentifizierung -> LDAP-Server | ||
+ | * Anmeldename: cn=Manager,dc=network,dc=local | ||
+ | * Kontexe: ou=users,dc=network,dc=local |