Configure CUPS Printing on CentOS
when you need to setup a CentOS Linux print server, CUPS (Common UNIX Printing System)to the rescue!
login to your server, and su to root.
1- Install CUPS
yum install cups
2- Install dependency
yum install ghostscript.x86_64 hplip-common.x86_64
3-start the cups service, and then set to to run on startup
service cups start chkconfig cups on
to best administer CUPS we need to configure the web GUI
vim /etc/cups/cupsd.conf
add the following line to the top (this allows easy administration)
DefaultEncryption Never
safelist your network to allow access
–obviously you want to enter the IP of the server here, rather than what i have,
now allow your local subnet to have access to the web GUI
that’s just for the web access, but for the ADMIN pages, you may want to lock it down further:
save + quit after all configured
also make sure to allow the port through IPtables (if enabled)
restart the cups service once completed
browse to https://serverip:631
That is all
21 Comentários
Hi,
It was good to understand basic installation had the server ip configuration.
If you add some thing advance then it becomes to good.
Thanks
Thank you friend.
Thank you friend.
Hi, Im new to this linux world, and I need to know how to retrieve my ip address and the local subnet.
I appreciate any advice 🙂
Hello Friend.
First you need to install the network module.
# yum -y install network tools
Then you must run the command to capture as information.
# ifconfig
Any problem call me 😉
Hi, I will, thx so much 🙂
Nice blog right here! Additionally your website so much up fast!
What host are you the use of? Can I get your associate link in your host?
I wish my website loaded up as quickly as
yours lol
Hi friend, thanks for the comments.
My site is hosted on: https://www.hostinger.com
Hi, I have a problem. When I tried to print from Windows, in CUPS GUI appears the message “Waiting for printer to become available.”
Hi friend, thanks for the contact.
Apparently, you have a problem communicating between your server and a printer. I suggest you review the printer installation format. It is necessary that all the parameters are the same as the printer.
Thanks for the marvelous posting! I certainly enjoyed
reading it, you’re a great author.I will ensure that I bookmark your blog and will come
back very soon. I want to encourage yourself to continue your great posts, have a nice morning!
Thank you Friend, I hope to see you again.
Hi,
i install cup in my vps ,but now enter :
http://185.88.154.195:631/
give error: Forbidden
please see above link and help me.
thanks.
hi
my problem is solved.
thank you.
Thanks
Thank you 😉
Great article! We will be linking to this great post on our
website. Keep up the great writing.
thank you
whoah this weblog is fantastic i like studying your
articles. Keep up the good work! You realize,
lots of people are searching around for this info, you could help
them greatly.
Tks
Thanks