Cups: Difference between revisions

From Alpine Linux
No edit summary
(Category:Server)
Line 1: Line 1:
{{Draft}}  
{{Draft}}  


Webserver first !!
{{Todo|Webserver first !!}}


== Installation ==
== Installation ==
Line 41: Line 41:
http://[CUPS server]:631/
http://[CUPS server]:631/


[[Category:Networking]]
[[Category:Server]]

Revision as of 16:03, 24 March 2012

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 24 Mar 2012.)

Todo: Webserver first !!


Installation

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:

rc-status


/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 192.168.0.0/24
</Location>


/etc/init.d/cupsd restart


http://[CUPS server]:631/