CUPS is a printing system that is used for Unix-based operating systems. In this tutorial, we will show you how to install CUPS on an Ubuntu Server latest using the terminal.
Before you begin, ensure that you have the following:
Before we begin, we have to update the system's repositories and packages.
sudo apt update
sudo apt upgrade
To install CUPS, use the following command in the terminal:
sudo apt install cups
You will also need to install the cups-filters package for CUPS to work properly. Install it using:
sudo apt install cups-filters
Once CUPS is installed, you need to start and enable the CUPS service. You can do so with the following commands:
sudo systemctl start cups
sudo systemctl enable cups
For security purposes, we must add a firewall rule which will allow us to use the CUPS service. You can add the following commands to configure the firewall appropriately:
sudo ufw allow 631/tcp
sudo ufw allow 5353/udp
To access the CUPS web interface, open your web browser and enter the following URL:
https://localhost:631
You can now manage and configure printers from the web interface.
CUPS is an excellent printing system that can help you manage printers on your network easily. By following the above steps, you can install and configure CUPS on Ubuntu Server latest with ease.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!