亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    Chrony時(shí)間服務(wù)器-daniel_linux的博客-51CTO博客

    簡介

    chrony是網(wǎng)絡(luò)時(shí)間協(xié)議(NTP)的通用實(shí)現(xiàn),chrony中包含兩個(gè)程序,chronyd是一個(gè)可以在啟動(dòng)時(shí)啟動(dòng)的守護(hù)程序,chronyc是一個(gè)命令行界面程序。

    配置文件:chrony.conf

    環(huán)境

    CentOS Linux release 7.6

    安裝Chrony

    yum install -y chrony

    server端(10.120.123.8)

    配置文件

    vim/etc/chrony.conf allow 10.120.123.0/24

    啟動(dòng)服務(wù)

    systemctl start chronyd.service systemctl enable chronyd.service  

    查看端口

    netstat -nlup | grep chronyd  udp        0      0 0.0.0.0:123             0.0.0.0:*                           9091/chronyd         udp        0      0 127.0.0.1:323         0.0.0.0:*                           9091/chronyd         udp6      0      0 ::1:323                     :::*                                   9091/chronyd     

    client端(10.120.123.9)

    配置文件

    vim/etc/chrony.conf server 10.120.123.8 iburst #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

    啟動(dòng)服務(wù)

    systemctl start chronyd.service systemctl enable chronyd.service  

    查看同步狀態(tài)

    1,chronyc sourcestats
    210 Number of sources = 1 Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev ============================================================================== 10.120.123.8                0   0     0     +0.000   2000.000     +0ns  4000ms
    2.chronyc sources -v
    210 Number of sources = 1    .-- Source mode  '^' = server, '=' = peer, '#' = local clock.  / .- Source state '*' = current synced, '+' = combined , '-' = not combined, | /   '?' = unreachable, 'x' = time may be in error, '~' = time too variable. ||                                                 .- xxxx [ yyyy ] +/- zzzz ||      Reachability register (octal) -.           |  xxxx = adjusted offset, ||      Log2(Polling interval) --.      |          |  yyyy = measured offset, ||                                     |          |  zzzz = estimated error. ||                                 |    |            MS Name/IP address         Stratum Poll Reach LastRx Last sample                ===============================================================================

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)