[cups] Looking for help to install CUPS

Gopi Nath gopi9348 at gmail.com
Mon Mar 11 07:40:21 PDT 2024


Hi Axel,

Appreciate your response. Please find my answers below. Please let me know
if any further questions.


On Mon, Mar 11, 2024, 6:28 AM Axel Braun <axel.braun at gmx.de> wrote:

> Hello Gopi,
>
> Am Samstag, 9. März 2024, 05:31:02 CET schrieb Gopi Nath:
>
> > I was using cups 1.6.3 so far as my Linux version is 7 and with "yum
> > install cups" this is the default version came in.
>
> What is 'Linux version 7'? As the kernel is still 6.x, you probably talk
> about a distribution 'of version 7'. Would be helpful to know which one.
>

Red hat enterprise linux version 7.9 (Maipo)
Kernel - 3.10.0-1160.108.1.el7.x86_64


> > Due to multiple issues we experienced with cups, we found that we haven't
> > been using latest cups version.
> >
> > We are trying to install (not upgrade on existing) cups 2.3.3 on Linux
> > machine (AWS cloud).
> >
> > CUPS is installing fine however I don't know how to configure url.
>
> just checked, I'm running cups 2.4.7, there was nothing to configure for
> the access to localhost:631
> But as you are running on a cloud service, you probably cant access your
> cups server from the local machine?
>
> I can access it using ipaddress:631 however project need is to use on
> mycups.com
>

> For an example, with version 1.6.3 I was able to do -
> >
> > Systemctl enable cups-browsed
> > Systemctl start cups-browsed
>
> what does
> systemctl status cups-browsed
> say? Is the service running?
>

Unit cups-browsed.service could not be found.

>
> > And then add following lines to cupsd.conf
> >
> > Listen mycups.com:631
> > BrowseAddress All
> > ServerAlias *
> >
> >
> > This way when I enter mycups.com on browser it was taking me to the cups
> > web URL. I want to do same thing with 2.3.3 however I am getting 502 bad
> > gateway. I am not sure what I am doing wrong.
>
> My best guess is: Cups needs to be configured to listen to requests from
> external. As this is security sensitve, it needs special care (you dont
> want to have the world on your cups server, no?).
> Make sure your firewall is open on port 631 (or switched off for the time
> of testing)
>
>
>

HTH
> Axel
>
>
>


More information about the cups mailing list