Methods tutorial for configuring ntp services under CentOS 7

  • 2020-06-03 09:07:57
  • OfStack

preface

For campus network/enterprise users, if all computers in your network synchronize time over the Internet, there is a certain discount in speed and accuracy, and there is also a certain impact on the Internet export bandwidth, for such users, we recommend to build ntp service by ourselves to provide time synchronization service for internal users.

This article is a tutorial on how to configure ntp services under CentOS 7.

The steps are as follows:

Install ntp


yum -y install ntp

Synchronization time


ntpdate pool.ntp.org

Set the ntp service to boot at boot


chkconfig ntpd on

Restart the ntp service


service ntpd restart

View ntp service status


service ntpd status

conclusion


Related articles: