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

How to implement Mysql scheduled task backup data under Linux

Preface Backup is the basis of disaster recovery....

MySQL database transaction example tutorial

Table of contents 1. What is a transaction? 2. Th...

MySQL master-slave configuration study notes

● I was planning to buy some cloud data to provid...

Class in front-end JavaScript

Table of contents 1. Class 1.1 constructor() 1.2 ...

SELinux Getting Started

Back in the Kernel 2.6 era, a new security system...

win10 mysql 5.6.35 winx64 free installation version configuration tutorial

mysql 5.6.35 winx64 free installation version con...

Configuring MySQL and Squel Pro on Mac

In response to the popularity of nodejs, we have ...

A detailed account of the process of climbing a pit of Docker deployment service

First time writing. Allow me to introduce myself....

How to use anti-shake and throttling in Vue

Table of contents Preface concept Stabilization d...

How to use HTML form with multiple examples

Nine simple examples analyze the use of HTML form...

mysql 8.0.16 winx64.zip installation and configuration method graphic tutorial

This article shares the specific code of MySQL 8....

JS ES new feature of variable decoupling assignment

Table of contents 1. Decoupled assignment of arra...

Oracle deployment tutorial in Linux environment

1. Environment and related software Virtual Machi...