Installing CUPS service, how to access its config page?

Keith keithw at caramail.com
Sat Nov 11 16:06:49 UTC 2023


On 11/11/23 9:29 AM, Bo Berglund wrote:
> I need to install cups on my Ubuntu 20.04 LTS server (no GUI) to replace an
> older (I believe installed Jan 2014) non-functional printer server running on a
> RaspberryPi2 which cannot be updated to a current version of the operating
> system.
> 
> So I tried the instructions found here for Ubuntu:
> https://ubuntu.com/server/docs/service-cups
> 
> I have done these steps:
> - sudo apt install cups
> - sudo nano /etc/cups/cupsd.conf
>    Here I added the following:
>    Listen 192.168.xxx.216:631 #My server's IP address so as to reach it
> - sudo usermod -aG lpadmin <my user name>
> - sudo systemctl restart cups.service
> 
> Now I wanted to configure the printers and the doc now switch to using a web
> interface  so I tried to access the admin webpage on port 631, but since the
> server is a non-GUI one I cannot run a browser towards localhost as suggested in
> the doc:
> http://localhost:631/admin

Use a text-based browser like lynx or links2.

$ lynx localhost:631

works on my system.

p.s. did you log out and back on after using the usermod command?

-- 
Keith







More information about the ubuntu-users mailing list