SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
RPM Installation
A default install of CentOS should have the CUPS packages already installed. Otherwise install them:
yum -y update
yum -y install cups
By default, cups is listening to the localhost address only (Listen localhost:631
) - enable access to CUPS from the local network by editing /etc/cups/cups.conf
:
Listen *:631
The default permissions restrict access to the various parts of the web interface. To allow access parts of the web interface (<Location />
, <Location /admin>
, etc.), from your local network (eg. 192.168.0.x):
<Location />
Order allow,deny
Allow From 192.168.0.*
</Location>
By default, CUPS tries to use SSL to encrypt traffic to the admin interface and won't allow access (error: 426 Upgrade Required). If you'd like to disable that, edit or add to /etc/cups/cups.conf
:
DefaultEncryption Never
Postscript Printer Description (PPD) Files
The default location for installing PPD files on a binary install of CUPS is /usr/share/cups/model
.
If the PPD file requires "Foomatic", you can install that with:
yum install foomatic
service cups restart
- Log in to post comments