How to configure a print server with Ubuntu Server, CUPS, and Bonjour

Опубликовано: 03 Октябрь 2024
на канале: How To Make Tech Work from TechRepublic
24,999
259

Looking to add a print server to your data center? Jack Wallen shows you how to get this up and running in about five minutes.

For the full step-by-step article, head to https://www.techrepublic.com/article/...

List of Commands:

sudo apt-get install cups -y
sudo systemctl start cups
sudo systemctl enable cups
sudo nano /etc/cups/cupsd.conf
Browsing Off
Browsing On
Listen localhost:631
Port 631
Location /
Order allow,deny
/Location
Location /
Order allow,deny
Allow @LOCAL
/Location
Location /admin
Order allow,deny
/Location
Location /admin
AuthType Default
Require valid-user
Order allow,deny
Allow @LOCAL
/Location
sudo systemctl restart cups
sudo apt install avahi-daemon -y
sudo systemctl start avahi-daemon
sudo systemctl enable avahi-daemon
sudo ufw allow 5353/udp
Require valid-user
Require user @SYSTEM
sudo useradd -g lpadmin cupsadmin
sudo passwd cupsadmin

Watch more How To videos:    / @howtomaketechwork  
Watch more TechRepublic videos: https://www.techrepublic.com/videos/
Follow TechRepublic on Twitter:   / techrepublic  
Follow TechRepublic on Facebook:   / techrepublic  
Follow TechRepublic on Instagram:   / techrepublic  
Follow TechRepublic on LinkedIn:   / tech.  .

Watch Tech Stories, a series of mini documentaries from TechRepublic: https://www.youtube.com/watch?v=RRPAs...