粗大挺进尤物人妻,英语老师解开裙子坐我腿中间 ,国产成人无码精品久久久性色,最近中文字幕在线MV视频在线

您好,歡迎進(jìn)入北京泰福特電子科技有限公司官網(wǎng)

咨詢服務(wù)熱線

400-015-1230

NTP服務(wù)在Linux離線安裝及配置說明

發(fā)布時(shí)間:2022-04-12 10:26:17

常用命令:      

rpm -qa | grep ntp    

#查詢已安裝的ntp版本信息等    

service ntpd status  

#查詢ntp服務(wù)狀態(tài)    

service ntpd start      

#啟動(dòng)      

service ntpd stop    

#停止      

service ntpd restart  

#重啟

ntpq -p  

#查看ntp服務(wù)器與上層ntp的狀態(tài)

ntpstat    

#命令查看時(shí)間同步狀態(tài),這個(gè)一般需要5-10分鐘后才能成功連接和同步。

所以,服務(wù)器啟動(dòng)后需要稍等下。

剛啟動(dòng)的時(shí)候,一般是:

# ntpstat

unsynchronised

time server re-starting

polling server every 64 s

連接同步后:

synchronised to NTP server (202.120.2.101) at stratum 4

time correct to within 1192 ms

polling server every 64 s

1、下載ntp的安裝包:

ntp:可以為其配置ntp.conf將其設(shè)置為自動(dòng)同步某服務(wù)器時(shí)鐘。

ntpdate:可以使用 ntpdate -u ip地址 來手動(dòng)同步某服務(wù)器的時(shí)鐘。

2、安裝命令:

方式(1) rpm -ivh ntp-4.2.6p5-18.el7.centos.x86_64.rpm

若出現(xiàn)找不到依賴則使用下面的命令:

方式(2)rpm -ivh ntp-4.2.6p5-18.el7.centos.x86_64.rpm --nodeps --force

 本人在使用方式(2)后使用rpm -qa | grep ntp 后看到了ntp,但是沒有在/etc里看到ntp.conf。于是乎又使用方式一重新安裝了一遍,這個(gè)文件出現(xiàn)了。

3、客戶端配置:(/etc/ntp.conf)

[root@localhost etc]# cat ntp.conf //然后添加這兩行 ,意思是 允許IPV4 IPV6 查詢 拒絕修改restrict -4 default kod notrap nomodify  

restrict -6 default kod notrap nomodify//允許上層進(jìn)行修改本機(jī)時(shí)間

//restrict 10.173.24.27 nomodify notrap noquery//配置上層server(要同步的),在這里配置的是實(shí)際的物理地址server 10.173.24.27  fudge 10.173.24.27 stratum 8

[root@localhost etc]# 4、服務(wù)器配置:(/etc/ntp.conf)[root@localhost etc]# cat ntp.conf//然后添加這兩行 ,意思是 允許IPV4 IPV6 查詢 拒絕修改restrict -4 default kod notrap nomodify  

restrict -6 default kod notrap nomodify//添加修改上層時(shí)間服務(wù)器,如果能聯(lián)通外網(wǎng),則不需要修改,

//server 0.rhel.pool.ntp.org iburst

//server 1.rhel.pool.ntp.org iburst

//server 2.rhel.pool.ntp.org iburst

//server 3.rhel.pool.ntp.org iburst

//如果聯(lián)不通外網(wǎng),則把上面幾行注釋,然后添加下面兩行,意思是設(shè)置成時(shí)間服務(wù)器是自己

server 127.127.1.0fudge 127.127.1.0 stratum 8[root@localhost etc]#

5、測(cè)試(ntpstat一般是過個(gè)5-10分鐘才能同步)

(1)服務(wù)器:

[root@localhost etc]# ntpq -p

remote refid  st t when poll reach  delay  offset  jitter

==============================================================================

*LOCAL(0)    .LOCL.   8 l   36   64  377   0.000   0.000  0.000

[root@localhost etc]# ntpstat synchronised to local net at stratum 9

time correct to within 12 ms polling server every 64 s

(2)客戶端:

[root@localhost etc]# ntpq -p

remote      refid      st t when poll reach   delay   offset  jitter

==============================================================================

*10.173.24.27    LOCAL(0)         9 u   40   64  377    1.108    2.560   0.764

[root@localhost etc]# ntpstat

synchronised to NTP server (10.173.24.27) at stratum 10

  time correct to within 461 ms

  polling server every 64 s

6、日志設(shè)置

[root@localhost sysconfig]# pwd

/etc/sysconfig

[root@localhost sysconfig]#cat ntpd

# Command line options for ntpd

OPTIONS="-g -l /var/log/ntpstats/ntpd.log"

[root@localhost ntpstats]# service ntpd stop

[root@localhost ntpstats]# service ntpd start

[root@localhost ntpstats]# service ntpd status

[root@localhost ntpstats]# tail -200f /var/log/ntpstats/ntpd.log


  • 聯(lián)系方式
  • 傳 真:86-10-82782026
  • 電 話:400-015-1230
  • 地 址:北京市海淀區(qū)北清路68號(hào)院用友軟件園北區(qū)17號(hào)樓三層
在線咨詢

咨詢電話:

400-015-1230

  • 微信掃碼 關(guān)注我們

Copyright ? 2002-2035 北京泰福特電子科技有限公司 版權(quán)所有 備案號(hào):京ICP備12028220號(hào)-3
京公網(wǎng)安備 11010802025976號(hào)

掃一掃咨詢微信客服

18519396506
粗大挺进尤物人妻,英语老师解开裙子坐我腿中间 ,国产成人无码精品久久久性色,最近中文字幕在线MV视频在线

              一区二区欧美亚洲| 久久久久久久久蜜桃| 国产欧美日韩精品专区黑人| 天天做天天爱天天综合网2021| 被几个男的玩爽到死| 久久久亚洲一区二区三区| 中文在线а天堂中文在线新版| 秋霞久久精品| 国产精品久久a| jizz.日本| 日韩中文字幕一二三区| 91丨国产丨熟女大屁股| 无码人妻精品一区二区蜜桃百度 | 日韩欧美一区二区三区四区| 精品国产福利| 老头吃护士的奶头呻吟| 天天做天天爱天天综合色| 无套内谢的新婚少妇国语播放 | 91免费看片app| 再深点灬舒服灬太大了添A片动漫| jizz情一色一伦一区二区三区| 九九热色| 欧美日韩国产精品一区二区三区| 成人国产欧美大片一区| 无码人妻一区二区三区在线| 日韩一区二区三区四区视频| 欧美一区二区激情视频| 欧美精品一区二区成人| 肉大捧一出免费观看视频在线| 国产91精品入口男同| 两男吮她的花蒂和奶水视频| 97资源免费视频| 亚洲精品国产熟女| 友田真希欲求不满中文字幕| 扒开双腿疯狂进出爽爽爽水视频| 成人小视频免费看| 国产偷视频| 久久久久久久久久久精品福利| 日韩人妻精品一区二区三区视频 | 蜜臀av性色av免费观看| 污污内射久久一区二区欧美日韩|
              Powered by RRZCMS