课程: Ubuntu Linux: Service Configuration
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Configure a client to communicate with an NTP server
课程: Ubuntu Linux: Service Configuration
Configure a client to communicate with an NTP server
- [Instructor] We can configure a client system to connect it to a specific NTP pool, one or more servers, or one or more of its peers. Usually, a system's configured to get time information from a pre-configured pool of servers that's defined by the distro's maintainers. This is fine for a one-off client, but in an enterprise or organization deployment, it can be advantageous to configure clients to get time from specific servers we control and define. And it makes a lot of sense to have local time servers be in sync with each other if there are more than one. Here in my client system I'll install chrony with apt install chrony. Then, I'll open up the configuration file at etc/chrony/chrony.conf. At the top of the file is a space where we can set which pools, servers, and peers to connect to. I'll comment out this pool here with a pound or hash sign. And on the next line, I'll add a specific server, the one I just configured. I'll write server 10.0.2.5. That'll tell this client to…