Installing CUPS service, how to access its config page?
Keith
keithw at caramail.com
Sat Nov 11 16:50:37 UTC 2023
On 11/11/23 10:06 AM, Keith wrote:
> 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.
Need to revise my answer. Lynx works on most pages, but not on the
Administration page which has CSS that lynx (or links2) doesn't support.
The elinks text webbrowser, however, does render the Administration page
correctly.
--
Keith
More information about the ubuntu-users
mailing list