How to install and configure CUPS on Rocky Linux 8.6
To Install And Configure CUPS On Rocky Linux 8.6
Installation Procedure:
Step 1: Check the installed version OS by using the below command
[root@linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
Step 2: Install CUPS by using the below command
[root@linuxhelp ~]# yum install cups*
============================================================================================================
Package Architecture Version Repository Size
============================================================================================================
Installing:
cups-devel x86_64 1:2.2.6-45.el8_6.2 appstream 149 k
cups-lpd x86_64 1:2.2.6-45.el8_6.2 appstream 125 k
Upgrading:
cups x86_64 1:2.2.6-45.el8_6.2 appstream 1.4 M
cups-client x86_64 1:2.2.6-45.el8_6.2 appstream 169 k
cups-filesystem noarch 1:2.2.6-45.el8_6.2 appstream 109 k
Total download size: 14 M
Is this ok [y/N]: y
Complete!
Step 3: Make Some changes on cup configuration by using the below command
[root@linuxhelp ~]# vim /etc/cups/cupsd.conf
allow 192.168.7.0/23
allow 192.168.6.121
Step 4: Enable cups services by using the below command
[root@linuxhelp ~]# systemctl enable cups
Step 5: Start cups services by using the below command
[root@linuxhelp ~]# systemctl start cups
Step 6: Add firewall for ipp by using the below command
[root@linuxhelp ~]# firewall-cmd --add-service=ipp --permanent
Success
Step 7: Reload Firewall by using the below command
[root@linuxhelp ~]# firewall-cmd –reload
success
Step 8: Browse your server Ip with Cups port number as shown in the below image
Step 9: This is Welcome page of cups
Step 10: Here you can add the printer
Step 11: Login with root credential
Step 12: Configure your printer here
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install and configure CUPS on Rocky Linux 8.6. Your feedback is much welcome.
Comments ( 0 )
No comments available