Welcome to cyber Eri I t I'm Greg Stewart. I'm your subject matter expert for Lennox Plus
So we're coming to the end of module three, the systems administrator module or we're gonna talk about printing.
in Lennox, especially in a bun to what we're dealing with here,
you don't want to set up a print server. And the way we set up prints, serving is through a,
a an application called cups. You're gonna create a cup server.
And what cup stand for? What cups stands for is the common units printing system cups common UNIX printing system.
It's really available alone. Requires is an APC. It install cups
and you're up and running with the cups print server. The beautiful thing about it is it comes with a built in and already configured
for users to get to. You just have to make some small configuration items in the convict file that will change convict changes in the convict file that will allow it to be a little bit more customized for your end users to feel more comfortable using it.
So it's it's basically it's all directed through certain directives contained inside the file that you confined in, etc. Cups
cups d dot com That's your configuration file. It's your master configuration file that you want to ensure that you don't mess up. Otherwise, you're gonna have to install everything and start from scratch because, like I said, it comes
fairly preinstalled with everything that you need and everything that you need to have it working and up and running. So it's they tried to make it fairly easy for you to get where you need it to be,
So tons of is built in and where it's not
understandable, are built in for you. Maybe there's a lot of Compton out
lines in that file that config file that you can read and give you instructions on. So it's a very helpful tool to use and to set up the print server quickly.
Uh, and so we're gonna focus on looking at the cups, the dot cups be dot com file configuration file. Okay, and also it's similar to your Apache Apache camp file,
and what we want to make sure we do prior to editing our configuration file whatsoever is we want to make it back when you make a backup copy of the original file
and keep it. Keep it tagged as the original file. We're gonna tag it, maybe dot a ridge or something like something that would make it obvious that was the original
configuration files. We downloaded it
so that in the case we make a mistake or do something where we need to scramble and backtrack and start from scratch. We can do that, or even if we want to compare the two configuration files,
we compare the current one that you've been editing and to the original one. You can do that. It's create trouble shooting tool to figure out what's wrong or what's missing.
So that's just one way we can do it. So to start off, let's actually go out and download and install the cups printed common UNIX printing system.
So I'm in my command. I'm in my legs desktop. I'm going to blow this up full screen, make it easier to see.
I'm gonna launch my terminal window
and let's just blow the terminal window as well. Okay,
First thing I wanna do is you've got a type suit do. Okay, Another time.
I'm back out. I haven't been back in it again. Since I've gone through all my final editing and troubleshooting commands, I'm just gonna go back to having a type of student every time for safety sake,
And it's gonna probably from my password.
And Amelia's gonna grab the package list and is gonna tell me what is going to get its found the package list
and saying after this operation 1024 bites of additional this space will be used. I don't care about that. It's 1000 bites. It's, what, one megabyte. So I'm gonna go ahead and quick, okay?
And start downloading its download your databases and packing everything.
this is why I love the app. Get command because it makes it simple. You'll actually be clicking out a bunch of stuff
and that's it. It's done. It's been downloaded and it's actually been installed.
So now we need to know how to get where we want to go on when it does. Okay, so Cups is gonna manages a server, so it cuts a print server just like you would have won Prince schooler like you'd have in Windows. And it's going to manage the print jobs and Q's and provide network network printing using the standard and poor imprinting protocol.
And it's gonna offer support for a large range of printers, anything that you can find a driver for out there. If it's not already listed in the file of dry of drivers that are out there,
you can get everything from dot matrix, which is the beauty of Lennox, because we're reaching way back, you know, dot matrix all the way to the laser and whatever else between
Okay, so it also is gonna it's gonna it's gonna have support also for your ppd or you postscript printing stuff.
Okay, it's gonna auto detect your network printers, and it's got a feature. Also. Like I said, it was awesome, which is the Web based configuration administration tool.
This is what you're gonna use this where your users are actually gonna use to
make it easier for them to see from a unique perspective, how to search your printer much like you wouldn't windows at printer for Mac.
So let's go ahead and take a look at, um, have what we've installed.
We want to go to the configuration. So where it actually gets figured
and we're gonna have to change directly to get there is the Betsy
C cups, cups d dot com and see cops of school acted cups
client list. Okay, and so here's our cups directory.
It's held under etc. Cups.
Okay, and we're looking at all the different files that are inside of that. And what we're most concerned about is the
cups d dot com file, which is right here.
Files gonna contain all of our configuration for our cups printer.
So right off the bat when I want to do is I want to make a copy of that file
and set aside. So what I'm gonna do is he's my copy each man C p.
I'm just gonna keep it in the same directory just to make things easy. Maybe people that create multiple copies and put into multiple different directories for redundancy sake
where this class I'm just gonna create a single copy of it and added, in this same directory, someone go to seat
CP for copy cups d dot com
and I'm going to name it
Cups the Doc Burrage
permissions. I write. So Sue
you knew cpt cups dot com
family list. Now you can see that I have a cups d dot com file here.
Okay, And here's a copy I made of the original. So now any and every I mean, we're talking a year down the road when I've made all the edits I have to my cups d dot com file can always look back and see what my original one look like in case something goes wrong or haywire. Do that. So
a good thing and that actually I think that would be good to do is if you want to
always just have a default cups tea dot com File a configuration file for your Cup server
unedited state. Then you can just trade it as
cup. Steve got a rich dotcom, and then you can create another copy. That's cups the dot working or WKMG
Um, or W K G Ever. You want to make it and dot com and that will know that as your current working copy
and ah, copy of what you have currently configured so you can compare back to the original,
um, and make any updates. You need to do it So it's always good to have a couple different copies of the file. See, look and compare
so that we've made a copy of our configuration file. We can go in and look at some things that need to be edited.
The file has lots of areas that need to be edited of, You know that
don't necessarily need to be editor that it could be that could be edited to make it a little bit easier to use.
So let's open up the file, and we're gonna do that with their favorite file editor. Be I
curves. Deed are called
it's open it up and be I hear
it's taking me to the very first line. You could see anything with a hashtag pound sign is gonna be a commented outlines, doesn't actually get looked at by the cups printer as it's booting up or are
s So it's This is a bunch of really anything with the hashtag pound is just a set of instructions that are helpful to you understand that managed the
So this here, with first thing we're looking at, is on Li. Listen for connections from the local machine.
What is telling me is this? Listen, local host
slash six. They're not slashed. But Colin 6 31 So import 6 31 It's gonna only be listening for printing traffic coming across. We don't
We're not so much concerned about if we're in a network situation and this is our actual service, as opposed to a local machine, we're not running a server here.
you wanna you wanna add? Excuse me? You want to add that you need to listen to the actual I P address or fully qualified domain name or host name of the server itself
so you can listen for traffic that way.
actually be managing the printing cues and schooler on the actual server itself is supposed to just local machine that you're on the local groups. So that's a good
good thing that you need to change. I'm not actually gonna change it here, but it is right here.
Scroll down to it. So listen, local host,
right? This is my file right here.
Okay. Uh, this is the configuration point right here That I want change for that.
Um, share show kal share show shared printers on the local network. This has browsing set is off. But if I want my users to be completely interactive with a printing server, I want to change this to browsing on so they can actually browse all this, shared printers on the local network and find on the game
example being you work in a building that has three floors countings on the top floor.
Um, management on the second floor, on the bottom floors. I t were usually on the bottom floor. Marshall. Why?
But on the top floor of the accounting server and you need to connect to an accounting printer on the top floor.
So to do that, you won't be able to see all the printers, and you're not gonna be able to do that. That's browsing is set off. You're only able to see the ones that you have I p addresses for in that you connect to.
So we're gonna change that to actually having browsing shows on so we can see all of the printers in the in the local network.
Okay, so default authentication time
again. This will change depending on your solution or year
central authentication method that you have
Web interface setting. If this was changed to know, that would mean our Web interface will not not be configured would be shut down,
which is not good. We want that Web interface. It's really sharp looking at her face and easy to use.
Restrict access to the server.
Um, so from specific locations you can put in your specific users you want access to
access. The admin page is the configuration files, right? So location is admin dot com. For a lot of people, just have the accident figuration file.
Okay, there's a lot of different fields we can look at here. Okay, Only the owner or administrator can cast off or authenticated job.
We're going to require the user at owner at system. These are all things that are configured to add specific users in there, so
their lives you can see there's a lot of fields within the cups system, right cup system and server that you can configure to make it more usable in tow. Manage printing much easier. So let's
let's minimize our miss minimize our window here and let's go to fire Fox. We'll leave it up was go fire
someone open up Fire Fox.
I'm gonna go to my Web server,
my Web interface, not a Web server. Rooms apologize,
and it's going to tp
local host Colon for 6 31 for that printing and admin.
And now he's He's taking me to my actuals in my cups administration printing page.
Here I can go and seize all gooey, obviously, and going click at a printer.
It's gonna ask for the user name and password or being requested. It's one of the configuration sections and my configure my convict file that is required me to put in a password. So
it's library admiral
But I can add a printer L P T. A serial order hp printer of fax machine.
Um, here's on my protocols for the other different printers. Let's just just gonna use syrup one.
And I'm gonna use the Internet printing protocol
right here, this one, and continue
in the connection. Here's the host name
all them that we're printing information that I need,
and continue have to enter. You are I don't actually have a printer to enter u L o u R L for
so I'm just gonna go back,
go back home, go back to administration.
I can't find a new printers is where
we're not gonna see anything here because browsing has showed us off. Okay,
Now, what you're seeing here are the printers that are actually on my
local network of my sudden it that I'm on right here. I'll always be able to see that I'm not able to see anything outside of mountains.
So here you can see I have. You know, this Konica Minolta set up absent workforce machine set up
tells me the status is idle. I wanted to connect to those. I could
give me some more information about it,
you know, show completed jobs.
It's going to do that. It's gonna take a while. Someone to skip over that We're going to go back.
I can manage jobs. It's just gonna be like the print queue.
And here we can actually edit our configuration file
All right, this is good. However, it's
it's not like the eye, right?
I could just type it just like it worried. Weren't Doc which is slightly dangerous, Especially for a convict file. So you want to make sure this is locked down the sections locked down for administrators, which is
an option inside the convict file.
So this is a a brief overview of what, um, the cups server is, and you can go and you have a situation where you can open up with a server and actually install one.
A separate one to server red hat server machine you can use for your cup sprinter. Go ahead and do that. Play around. Didn't try it.
If you're at work and you have some time downtime to killing, you can spin a clinic server.
Play with it, see how your printer's show up, see how you can manage the print configuration file.
But this is just a good overview of what the printing is like inside Lenox. Now
there's obviously the simple ways to print, but this would be the the cups print server that we're talking about. If I go to settings here,
I go to settings and printers, click on this
and takes you in printers. This is just like the same thing you'd see in Windows.
This is not actually a print server, imagines is as if I'm on a local host going to print to a machine. I could do that my cup server's gonna do. Give me much more flexibility and managing print jobs, cues, permissions, authentication, et cetera.
So this is been an overview of printing for Lennox, especially in a bun, too, with the cups, your server, the common UNIX printing
and should be a good starting point for you to learn more about cups and be able to installing. Figure in your own situation. Environment, lab, whatever. Maybe
so. Thanks for watching and stay tuned for her. Module four Coming up going over the exam preparation.