Difference between revisions of "Cups"

From Alpine Linux
Jump to: navigation, search
(Configuring the cups server)
Line 21: Line 21:
== Configuring the cups server ==
== Configuring the cups server ==
Edit ''/etc/cups/cupsd.conf''.
Edit {{Path|/etc/cups/cupsd.conf}}.
Replace ''Listen localhost:631'' with ''Listen *:631''
Replace ''Listen localhost:631'' with ''Listen *:631''

Revision as of 10:58, 22 January 2013

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Fab on 22 Jan 2013.)

Underconstruction clock icon gray.svg
Todo: Webserver first !!


Install the CUPS package

apk add cups

Make it autostart

Next time you reboot your Alpine Linux box, you would probably want cupsd to automatically start.

rc-update add cupsd

You can check your boot services:


/etc/init.d/cupsd start

lppasswd -a root

Configuring the cups server

Edit /etc/cups/cupsd.conf.

Replace Listen localhost:631 with Listen *:631

Allow hosts in your subnet to connect by adding Allow localhost and Allow from subnet/mask in <Location /> section:

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost 
  Allow from

/etc/init.d/cupsd restart

http://[CUPS server]:631/