University of Pisa Computer Science Department System Administration Processi, task periodici, stampa Stefano Bistarelli University of Pisa Computer Science Department
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Prima Settimana 9 Introduzione W2K Installazione win2K (anche studenti) Backup Riferimenti: -Lucidi -Cap 1,2,15 libro 10 W2K registri Active Directory Gestione computer Linux -Installazione Linux Riferimenti: -Lucidi -Cap 4,5 libro -RH inst.guide 11 lab -Linux utente1 12 lab -Linux utente2
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Seconda settimana 15 lab 16 W2K Booting and Shutdown Disco ripristino Linux Booting and Shutdown Inst. Linux (studenti) Riferimenti: -Lucidi - fotocopie 17 W2K Utenti Linux Backup multi boot Utenti superuser Riferimenti: -Libro Cap. 7 -Lucidi - fotocopie 18 lab 19 lab
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration terza settimana 22 lab 2324 W2K Device Disk fs Linux Device Disk fs Riferimenti: -Libro Cap. 8 -Lucidi - fotocopie 25 lab 26 lab
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration quarta settimana 29 lab 3031 W2K processi Task periodici stampa Linux processi Task periodici stampa Riferimenti: -Libro Cap. -Lucidi - fotocopie 1 W2K processi Task periodici stampa Linux processi Task periodici stampa Riferimenti: -Libro Cap. -Lucidi - fotocopie 2 lab
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Printing - Linux Cosa è una coda? Per stampare occorre solo lpr, solo lpd, o entrambi? Per stampare in una stampante remota cosa occorre? Chi lancia lpd? Nel vostro pc è attivo? In quale script è lanciato lpd? lprlpd Stampante locale Coda remota cf*, df*
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione di una stampante locale Volontario/I?
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Stampante locale Utilizzo tool grafico Visualizzazione configurazione su file \etc\printcap
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\printcap Nomistampante (separati da |) Sd = spool directory 1 per ogni stampante che si vuole usare Contiene lock e status della stampante Lf = error log Anche lo stesso per tutte le stampanti Af = accounting Lp = device di stampa Controlla sia con diritti rw se lo uso non solo per scrivere ma anche per leggere status
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione stampante remota 17 volontari
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Stampante remota Tool grafico Esame del printcap
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration /etc/printcap Rm = remote server Rp = remote printer Rs = restrict remote users to those with local accounts
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\printcap AfstrNULLname of accounting file IfstrNULLname of text filter which does accounting Lfstr/dev/consoleerror logging file name Lostrlockname of lock file Lpstr/dev/lpdevice name to open for output pc num 200 price per foot or page in hundredths of cents pl num 66 page length (in lines)
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\printcap pw num 132 page width (in characters) px num 0 page width in pixels (horizontal) py num 0 page length in pixels (vertical) rg str NULL restricted group. Only members of group allowed access rm str NULL machine name for remote printer rp str ``lp'' remote printer name argument rs bool false restrict remote users to those with local accounts
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\printcap rw bool false open the printer device for reading and writing sb bool false short banner (one line only) sc bool false suppress multiple copies sd str /var/spool/lpd spool directory st str status status file name tr str NULL trailer string to print when queue empties vf str NULL raster image filter
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration filtri p pr | if regular text + pr(1) none if regular text c cf cifplot d df DVI (tex) g gf plot(3) n nf ditroff f rf Fortran t tf troff v vf raster image
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Lpq Volontario: Man lpq
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration lprm Volontario Man lprm
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration lpc Volontario Man lpc
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration lpc Lpc Enable/disable queing/printing Domande??? Remove jobs Move jobs nella coda Ottiene stato dalle stampanti
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Lpc Comandi Help En/disable que Start/stop printer Abort stampa Down printer msg (la stampante egiue da un messaggio) Up printer Clean printer Topq printer jobid/userid Restart printer Status printer
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration regole 2 pc per tutte le stampanti Ricicla la carta della stampante Metti limite ai file di stampa se utenti troppo cre…ativi (stampano I binari o I manuali!)
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Win2k stampa Stampante fisica Stampante logica = coda Attivita installazionestampante locale (volontario) Attivita installazione stampante remota (tutti) Controllo accesso e priorita (2 code di stampa) Nascondere una stampante con $
University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Esercizio: Installare da window la stampante linux remota Installare da linux la stampante di window remota