fortgeschrittene_11._-_13._juli_2011
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| fortgeschrittene_11._-_13._juli_2011 [2011/07/17 19:42] – admin | fortgeschrittene_11._-_13._juli_2011 [2011/07/17 20:35] (aktuell) – [Anbindung von Windows-Clients am server4education] admin | ||
|---|---|---|---|
| Zeile 63: | Zeile 63: | ||
| ===== Anbindung von Windows-Clients am server4education ===== | ===== Anbindung von Windows-Clients am server4education ===== | ||
| + | *Ab 2011: winxp_s4e2011.exe win7_s4e2011.exe | ||
| + | * bis jetzt am s4e unter / | ||
| + | * Nur 1x ausführen! Danach immer über Arbeitsplatz, | ||
| ===== Drucken mit CUPS ===== | ===== Drucken mit CUPS ===== | ||
| + | *Ordentliche Drucker verwenden! Gibt es keine Druckertreiben für Linux => Neuen Drucker kaufen! | ||
| + | *Netzwerkdrucker: | ||
| + | * statische IP Adresse vergeben (Bedienfeld am Drucker, Webinterface, | ||
| + | * Druck-Protokoll aktivieren: LPD, IPP, Socket/ | ||
| + | * CUPS am Server: | ||
| + | * http:// | ||
| + | * Verwaltung: | ||
| + | * Zeige freigegebene Drucker von anderen Systemen | ||
| + | * Freigeben von Druckern welche mit diesem System verbunden sind | ||
| + | * Erlaube Drucken vom Internet aus | ||
| + | * Erlaube entfernte Verwaltung | ||
| + | * Drucker hinzufügen: | ||
| + | * socket:// | ||
| + | * http:// | ||
| + | * lpd:// | ||
| + | * smb: | ||
| + | * Treiber: | ||
| + | * Herstellerseiten: | ||
| + | * http:// | ||
| + | * Drucker - Standardeinstellungen festlegen: | ||
| + | * A4 !!! Falls es nicht geht, in / | ||
| + | * Richtlinien: | ||
| + | * Druckerquota: | ||
| + | * Pykota (nicht mehr ganz aktuelle Anleitung: http:// | ||
| + | * Pakete im OBS: http:// | ||
| + | * Auswertung: z.B. Intranetlösung (auf Anfrage bei uns!) | ||
| ===== Benutzerprofil ändern ===== | ===== Benutzerprofil ändern ===== | ||
| + | *Ab 2011: Pro Benutzergruppe / Benutzer profil_< | ||
| + | * profil_wartung | ||
| + | * profil_schueler | ||
| + | * profil_lehrer | ||
| + | * profil_sonstige | ||
| + | * profil_absolventen | ||
| + | *Windows (XP / 7): | ||
| + | * Anmelden als profil_< | ||
| + | * Änderungen durchführen | ||
| + | * Abmelden | ||
| + | *Linux: | ||
| + | * Pro Client, für alle Benutzer bis jetzt (soll sich aber bald ändern, dass es so bequem wie unter Windows wird) | ||
| ===== Deployment/ | ===== Deployment/ | ||
| - | \\ | ||
| - | ** [[http:// | ||
| * Windows | * Windows | ||
| * [[http:// | * [[http:// | ||
| - | | + | |
| - | * MAC-Adresse entfernen | + | * [[http:// |
| + | * Udpcast | ||
| + | * http:// | ||
| + | * Linux | ||
| + | * http:// | ||
| + | * / | ||
| + | * / | ||
| + | * / | ||
| + | * / | ||
| + | * / | ||
| + | * >> am d4e2011 alles schon konfiguriert: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| - | * [[http://bgweiz.at/ | + | * [[http://peer.st/ |
| - | \\ | + | |
| - | *Vorführung: | + | *Vorführung: |
| ===== Datensicherung ===== | ===== Datensicherung ===== | ||
| Zeile 369: | Zeile 417: | ||
| lrwxrwxrwx | lrwxrwxrwx | ||
| schroedinger:/ | schroedinger:/ | ||
| + | </ | ||
| + | |||
| *Systeme: | *Systeme: | ||
| * suse113/ | * suse113/ | ||
| Zeile 383: | Zeile 433: | ||
| * gparted GParted Partitionierung http:// | * gparted GParted Partitionierung http:// | ||
| * memtest Arbeitsspeichertest | * memtest Arbeitsspeichertest | ||
| - | </ | + | |
| *NFS-Server: | *NFS-Server: | ||
| <code ini / | <code ini / | ||
| Zeile 395: | Zeile 445: | ||
| *Never change a running System! | *Never change a running System! | ||
| *zypper | *zypper | ||
| - | *OpenBuildService von openSUSE | + | *OBS openSUSE |
| + | * http:// | ||
| + | * http:// | ||
| + | * d4e2011 Standardrepos (Stand: 11. Juli 2011) | ||
| + | < | ||
| + | # | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | zypper ar -f -C http:// | ||
| + | </ | ||
| + | |||
| + | ===== NAT/Bridge ===== | ||
| + | |||
| + | == NAT == | ||
| + | |||
| + | Clientrechner hinter einem Router/ | ||
| + | Von außen nur durch Router/ | ||
| + | Um Zugriff von außen auf einen Client intern zu erhalten: Port Weiterleitung: | ||
| + | |||
| + | <code bash / | ||
| + | #!/bin/sh | ||
| + | ### BEGIN INIT INFO | ||
| + | # Provides: | ||
| + | # Required-Start: | ||
| + | # Should-Start: | ||
| + | # Required-Stop: | ||
| + | # Should-Stop: | ||
| + | # Default-Start: | ||
| + | # Default-Stop: | ||
| + | # Short-Description: | ||
| + | # Description: | ||
| + | ### END INIT INFO | ||
| + | |||
| + | . / | ||
| + | |||
| + | rc_reset | ||
| + | |||
| + | case " | ||
| + | start) | ||
| + | echo -n " | ||
| + | |||
| + | ################################# | ||
| + | iptables -F | ||
| + | iptables -X | ||
| + | iptables -t nat -F | ||
| + | iptables -t nat -X | ||
| + | iptables -t mangle -F | ||
| + | iptables -t mangle -X | ||
| + | iptables -P INPUT ACCEPT | ||
| + | iptables -P FORWARD ACCEPT | ||
| + | iptables -P OUTPUT ACCEPT | ||
| + | |||
| + | echo 1 > / | ||
| + | |||
| + | INTDEV=" | ||
| + | EXTDEV=" | ||
| + | INTERN=10.0.0.10 | ||
| + | EXTERN=193.170.221.4 | ||
| + | |||
| + | ## NAT-Regeln ## | ||
| + | # Zugriff nach außen | ||
| + | iptables -t nat -A POSTROUTING -o $EXTDEV -s $INTERN -j SNAT --to-source $EXTERN | ||
| + | # Zugriff von außen | ||
| + | iptables -t nat -A PREROUTING -i $EXTDEV -p tcp -d $EXTERN -m multiport --dport 25, | ||
| + | |||
| + | ## Firewall-Regeln == | ||
| + | # Akzeptiere alle aufgebauten Verbindungen | ||
| + | iptables -A FORWARD -m state --state ESTABLISHED, | ||
| + | iptables -t nat -A POSTROUTING -j MASQUERADE | ||
| + | |||
| + | ################################# | ||
| + | rc_status -v | ||
| + | ;; | ||
| + | stop) | ||
| + | echo -n " | ||
| + | |||
| + | iptables -F | ||
| + | iptables -X | ||
| + | iptables -t nat -F | ||
| + | iptables -t nat -X | ||
| + | iptables -t mangle -F | ||
| + | iptables -t mangle -X | ||
| + | iptables -P INPUT ACCEPT | ||
| + | iptables -P FORWARD ACCEPT | ||
| + | iptables -P OUTPUT ACCEPT | ||
| + | |||
| + | ################################# | ||
| + | |||
| + | rc_status -v | ||
| + | ;; | ||
| + | restart) | ||
| + | $0 stop | ||
| + | $0 start | ||
| + | |||
| + | rc_status | ||
| + | ;; | ||
| + | *) | ||
| + | echo " | ||
| + | exit 1 | ||
| + | ;; | ||
| + | esac | ||
| + | rc_exit | ||
| + | </ | ||
| + | |||
| + | *Alternativ, | ||
fortgeschrittene_11._-_13._juli_2011.1310924540.txt.gz · Zuletzt geändert: von admin
