Installazione e Configurazione CUPS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 4: | Line 4: | ||
== | == Gestione delle code da riga comandi == | ||
Vedi la guida [http://www.cups.org/doc-1.1/sam.html#4_2_1 CUPS: Adding Your First Printer from the Command-Line] | |||
man lpadmin | man lpadmin | ||
Revision as of 22:12, 29 November 2005
Installazione pacchetto
apt-get install cupsys cupsys-client
Gestione delle code da riga comandi
Vedi la guida CUPS: Adding Your First Printer from the Command-Line
man lpadmin
http://cupsmachine:631/documentation.html
(Accessibile di default solo da localhost, vedi di seguito)
Gestione delle code via web
Accedento all'indirizzo
http://cupsmachine:631
è possibile creare e gestire le varie code.
Configurazione accessi
Per poter accedere all'amministrazione via web da una macchina diversa da quella su cui gira cups, occorre modificare i permessi, contenuti nel file /etc/cups/cupsd.conf:
vi /etc/cups/cupsd.conf ... <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.0.0/16 Allow From 10.0.0.0/16 </Location> ... <Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. # AuthType Basic AuthClass System ## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.0.0/16 Allow From 10.0.0.0/16 #Encryption Required </Location> Riavviare il server cups: /etc/init.d cupsys stop; /etc/init.d cupsys start