Hello, everyone.
In this demo, I'll show you how to configure entropy on Red had eight systems, so NTPC stands for
network time protocol and you can use ATP to synchronize system time across different machines.
Here I am using two mikes.
Which is the terminal multiple exer that allows me to connect to different hosts on the same terminal.
So the left side here, I'm connected to the server machine and on the right side I'm connected to the
client machine.
For the first step we need to do to configure entropy is install the cronie package.
And I'll do the same thing on the client machine.
So the crony package will allow us to configure A.P. on both the server side and the client side.
I'm going to wait here until the cronie package is done installing.
All right.
Let me clear the screen.
So the second step is actually there's a file cronie not conf on the server side here.
As you can see, the first line, I'm connected to the pool.
So the pool is basically a collection of servers.
Where are your server?
A.P. machine will get the system time from, OK.
And this, of course, varies across different cities and locations and countries.
OK.
Now I want to allow my client machine to get that into the system.
Time from the server.
So what I need to do is allow my client machine here so it allow and then I have to figure out what
is my client machine IP address.
So it's one nine two, the one six eight to 13 to twenty.
I'll go back and then I will actually include the whole address space, the whole subnet of my client
machine.
So does the euro.
The euro's last 16.
After I'm done here, I'm gonna save an exit.
And then I will edit the same exact file on the client side.
So here, our comment out the pool line, because we only need we need decline's machine to get the
system time from the server machine.
So there is no need for the client machine to access the A.P. pool.
So I comment out the first line that you can see and hear here.
I have to include the line server, followed by the IP address of my server.
So I'll go back to my several machine to figure out what is the IP address of it.
Go back here.
And then one nine two one six eight dot 12 dot twenty six.
After I'm done, I'm gonna save an exit the file.
All right.
Little screen on both sides.
Okay, so step number two is done now.
Now we move on to step number three.
We have to allow ATP to go through the firewall on the server machine and the client machine.
So how do we do that?
We use the firewall does TMD command.
So here, if I run the command firewall there, simply that does list the services.
I don't see A.B included.
So what I would need to do is added add service equal entropy test as permanent.
And then I have to reload the firewall configuration.
Now, if I list the services, I can see that A.P. is now added so it can go through the firewall of
the server machine.
Now, we have to do the same exact thing on the Clyde machine as well.
So I'll go to the Cloud Machine Firewall ACMD.
Does that add service equal?
A.P. does does permanent.
Reload the firewall configuration.
That's to verify.
I will list the services and I see my sweet Interpeace service added to the firewall on my client machine
as well.
So we are now done with step number three.
What is step number four?
It is very simple.
We just need to start the cronie the service or the demon.
So little screen systems, CDL start cronie d dot service.
And here as well on the client side system tdl start chronically.
The service that's just check that it started so status cronie did a service active and running.
Awesome.
Let's also check that on the server side of things.
Cronie did or service.
Status.
I mean, all right.
So it's active.
Up and running on both the server side and the client side.
All right.
So now.
On the server side, we can run the command cronie see tracking, which will display the system time
information.
All right.
Let me clear the screens on both side now.
All right.
So now let's run the cronie see tracking command to display the system time information.
As you can see, this threat and value of three indicates that the server is three hops away from the
A.P. pool.
All right.
Now we can run the same command on the client cronie see tracking.
As you can see here, it's for the Straten values for this is it because the client is one hop away
from the server, which in turn is three hops away from the A.P. pool.
So you add one plus three is equal to four, which completely makes sense here.
That's why you see the Straten value on the client is always going to be bigger than the straight home
value of the server.
All right.
And also on the client side, you can run the command cronie sources, chronicity sources.
It will display the value of it will display the IP address of the A.P. server.
All right.
And if you go to the server side of things and run the command cronie see.
Clients.
It will show you the IP address of the A.P., A.P. clients that are getting the system time from the
A.P. server.
All right.
So that's it.
You need to remember the four steps.
Number one, install the Krone package.
Number two, edit the Etsy cronie that confined on both the server side and the client side.
Number three, enable A.P. to go through your firewall on the client machine and the server machine.
Number four, start the cronie service and you'll be good to go.
All right.
So this brings us to the end of this video.
I hope you guys enjoyed it.
So.