Centos builds chrony time synchronization server process diagram

Centos builds chrony time synchronization server process diagram

My environment: 3 centos7.5 1804

  • master 192.168.100.140
  • node1 192.168.100.141
  • node2 192.168.100.142

All three machines have chrony service installed

yum -y install chrony

Master Node

Uncomment lines 26 and 29. Write the IP address segment in line 26 according to the actual situation (mine is 192.168.100.0

Then start the chrony service

systemctl restart chronyd.service
systemctl enable chronyd.service

node1 and node2

Comment these lines and add the IP of the master node above.

Start the service

systemctl restart chronyd.service
systemctl enable chronyd.service

Check whether node1 and node2 are synchronized

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Detailed tutorial on building Gitlab server on CentOS8.1
  • Implementation steps for building a local web server on Centos8
  • How to build mysql master-slave server on centos7 (graphic tutorial)
  • Detailed explanation of building Nginx website server based on centos7 (including configuration of virtual web host)
  • CentOS 7.2 builds nginx web server to deploy uniapp project
  • Detailed explanation of how to build phalcon environment under nginx server on centos7 system
  • Tutorial on building a master-slave DNS server in Centos7
  • Install and build a server environment of PHP+Apache+MySQL on CentOS
  • A concise tutorial on setting up a PHP server environment on CentOS

<<:  How to remotely connect to the cloud server database using Navicat

>>:  JavaScript to make the picture move with the mouse

Recommend

Some experience sharing on enabling HTTPS

As the domestic network environment continues to ...

Detailed explanation of this pointing in JS arrow function

Arrow function is a new feature in ES6. It does n...

Implementation of Docker building Maven+Tomcat basic image

Preface In Java programming, most applications ar...

Solve the problem that ElementUI custom CSS style does not take effect

For example, there is an input box <el-input r...

Detailed explanation of MySQL's FreeList mechanism

1. Introduction After MySQL is started, BufferPoo...

CSS specification BEM CSS and OOCSS sample code detailed explanation

Preface During project development, due to differ...

How to import/save/load/delete images locally in Docker

1. Docker imports local images Sometimes we copy ...

Share the 15 best HTML/CSS design and development frameworks

Professional web design is complex and time-consu...

5 ways to make your JavaScript codebase cleaner

Table of contents 1. Use default parameters inste...

IIS and APACHE implement HTTP redirection to HTTPS

IIS7 Download the HTTP Rewrite module from Micros...

Detailed explanation of mandatory and implicit conversion of types in JavaScript

Table of contents 1. Implicit conversion Conversi...

Example of converting JavaScript flat array to tree structure

Table of contents 10,000 pieces of data were lost...

Solution to the error when calling yum in docker container

When executing yum in dockerfile or in the contai...

Detailed explanation of the API in Vue.js that is easy to overlook

Table of contents nextTick v-model syntax sugar ....