Granny D now Connie D is a demon that is the latest version that is used nowadays to replace an A.P.
demon.
Now, why did they do it?
Because it probably have most enhanced features in it.
So we'll cover that created in this lesson.
So the purpose of coroneted is, again, for time synchronization, exactly the same way as A.P. that
we had covered before the package name that you would need to install or this program is called Cronie
D.
The configuration file is at C granted Dukkha for this is where you go and and specify the A.P. server
now again.
And t.P is used to synchronize your system clock with an external clock or any other clock within your
organization that serves as A.P. server.
Then we have a log file for chronic D daemon and a log file.
All the recording or all activity are is logged in to our log crony directory and then we have a service.
Of course, when you configure the current Edyta car file, then you have to start a restart ACRON ID
service and by now you should be familiar with System CTL start calling ID and the program command that
you could run at Cronie C, which will tell you which A.P. clock you are synched with and what's the
status of it.
So let's look at our Linux machine again and we'll try out this new feature of this new program that
is used in RedHat and S.O.S.
OK, so I have logged in as myself to Linux machine and of course to a console.
See who we are, know ourself.
Which host are we on?
We are on our correct host machine.
Now I want you to become about.
OK, now check if he has the package
and the package name is Kranti date, so it's R.P.M. minus.
Again, R.P.M. is a script that will list all the programs that we have at the minus option Q and A
and we'll grab for granted.
And when you enter.
I think it's just like Krasnaya, I believe, not ready.
Yes, OK, so I have confirmed that I do have the crane aid package, Sakhrani package, of course.
Now, what's the next step we always do once we have the package installed, we configure it right.
So let's go into our configuration file, which is Etsi Prani dot com file had better and this configuration
file pretty much looks the same as A.P. dot com file, and we would have to go to the library, says
Server.
This is where you define your A.P. server.
And as you see the first or second there, there are four servers that automatically divide and these
are the actual servers.
Set it up by S.O.S.
Let's put a new line and I'm going to have this server as pool dot A.P. Dot Borak.
Now, this is also one of the server.
So you know what?
Just as for giggles, we just sink it with Google Adelaida eight.
So, of course, this is not an A.P. server by Google.
This is just a DNS.
But just for practice and training purposes, I'm just putting that in.
So this is when we check the stats, you'll see it is connecting to the Google and any way you escape
out of it and do right and quick how you saved it.
Now, the next step is you have to start service.
So to start the service first check if the service is running a system, CTO
status crawl on it.
And it says right here, it says inactive.
OK, so we have to make it active.
But also one thing I wanted to mention that please do not run A.P. and quantity at the same time.
So check the status of A.P. as well.
Sorry, antipode.
And if it is running, I recommend you to stop it.
So it is running, as you could see here.
Right here, it says active.
So let's stop because we don't want to run to services that performs or that serves the same purpose.
Let's do status and stop now.
It has stopped the A.P. just verify it and it says inactive.
Right?
OK, good.
Now also, I want to disable it so it does not get started at the time.
At the time, the disable and now it is disabled.
Now I could go ahead and do system ctrl start.
The OK to start it, let's check the status, OK?
It is active.
OK, now we have to enable it so it gets started at Bhuti.
It is enabled now.
OK, so now the program that comes with this package, it's called Chron DC.
So it's Croney, Spatt and then CCE.
I think it stands for Command Cronie C and when you hit enter, it will bring you into an interactive
mode of program mode of its own cronie crisis.
And now when you type help, you'll see there's so many commands that you can run within this program.
But the one that I wanted to run, it's called sources.
So this will tell us where did it go?
Right here.
So this will tell us which A.P. server we are connecting to.
So I'll type this command.
So while I'm in chronicity, so its sources enter and you will see right here the first one, if you
guys remember that I picked eight eight eight eight.
So this is the Google server that we are sinking our time to.
And of course, this is not actually A.P. So I just picked it for training purposes so you could exit
out of it.
I think it's quick and I will go ahead and modify my granny d -- dotcom file again and I will remove
this first line once it's removed this way.
I'm not hitting.
Google had DNS server for some different purpose anyway, so now it's minified removed and now do restart
on the servers because we just modified the configuration file.
Every time you modify configuration file, you have to restart its service.
Now run this Gruene C again and now if you do sources and you will see now it's going to a different
server which is defined in there depending on what is it resolving to.
So that's the topic about Crony D again, it's a replacement for A.P. It has in newer features you can
look it up online whether the newer features and was the difference between A.P. and Clonidine.