CentOS7 set up NTP server

Ntp server set up

  1. Check the server, the client operating system version
    Here Insert Picture Description
    2 see if a server is installed ntp
    Here Insert Picture Description
    3 if not installed
    Here Insert Picture Description
    after the installation is complete 4 again to see whether the server is installed ntp
    Here Insert Picture Description
    5 View ntp server status
    Here Insert Picture Description
    6 modify the configuration file
    Here Insert Picture Description
    comments
    #server 0.centos.pool.ntp.org iBurst
    #server 1.centos.pool.ntp.org iBurst
    #server 2.centos.pool.ntp.org iBurst
    #server 3.centos.pool.ntp.org iBurst
    Add
    Server 127.127.1.0 iBurst
    7 start ntp service
    Here Insert Picture Description
    8 view status
    Here Insert Picture Description
    9 Check whether to synchronize
    Here Insert Picture Description
    10 added post launch
    Here Insert Picture Description
    11 view firewall status (I need to deploy the daily program, disable the firewall)
    Here Insert Picture Description
    12 View firewall ports open
    Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_43392489/article/details/95313039