RPM Installation

Installing a CUPS print server from binary packages on CentOS 5.

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

Recent Updates

  • 2 years 1 day ago
  • 2 years 1 day ago
  • 2 years 4 days ago
    php 8.x
  • 2 years 5 days ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff