人妖在线一区,国产日韩欧美一区二区综合在线,国产啪精品视频网站免费,欧美内射深插日本少妇

新聞動(dòng)態(tài)

NTP時(shí)間服務(wù)器

發(fā)布日期:2019-01-05 09:20 | 文章來(lái)源:互聯(lián)網(wǎng)

時(shí)間同步

1.NTP簡(jiǎn)介

NTP(NetworkTimeProtocol,網(wǎng)絡(luò)時(shí)間協(xié)議)是用來(lái)使網(wǎng)絡(luò)中的各個(gè)計(jì)算機(jī)時(shí)間同步的一種協(xié)議。它的用途是把計(jì)算機(jī)的時(shí)鐘同步到世界協(xié)調(diào)時(shí)UTC,其精度在局域網(wǎng)內(nèi)可達(dá)0.1ms,在互聯(lián)網(wǎng)上絕大多數(shù)的地方其精度可以達(dá)到1-50ms。

NTP服務(wù)器就是利用NTP協(xié)議提供時(shí)間同步服務(wù)的。

2.NTP服務(wù)器安裝

#系統(tǒng)自帶ntproot@oldboyedu~#rpm-qantpntp-4.2.6p5-5.el6.centos.x86_64#如果沒(méi)有就安裝yum-yinstallntp

3.配置NTP服務(wù)

root@oldboyedu~#vim/etc/ntp.conf#restrictdefaultkodnomodifynotrapnopeernoqueryrestrictdefaultnomodify#nomodify客戶(hù)端可以同步#將默認(rèn)時(shí)間同步源注釋改用可用源#server0.centos.pool.ntp.orgiburst#server1.centos.pool.ntp.orgiburst#server2.centos.pool.ntp.orgiburst#server3.centos.pool.ntp.orgiburstserverntp1.aliyun.comservertime.nist.gov

4.啟動(dòng)NTP服務(wù)器

#如果計(jì)劃任務(wù)有時(shí)間同步,先注釋?zhuān)瑑煞N用法會(huì)沖突。root@oldboyedu~#crontab-e#timesyncbyoldboyat二零一零-2-1#*/5****/usr/sbin/ntpdatetime.nist.gov>/dev/null2>&1root@oldboyedu~#/etc/init.d/ntpdstartStartingntpd:OKroot@oldboyedu~#ntpq-premoterefidsttwhenpollreachdelayoffsetjitter==============================================================================*ntp1.aliyun.com10.137.38.862u22641525.885-42.3670.000root@oldboyedu~#ntpstatsynchronisedtoNTPserveratstratum3timecorrecttowithin4257mspollingserverevery64sroot@oldboyedu~#ntpdate10.0.0.97Dec18:43:07ntpdate26950:theNTPsocketisinuse,exiting

5.客戶(hù)機(jī)時(shí)間同步

客戶(hù)機(jī)要等幾分鐘再與新啟動(dòng)的ntp服務(wù)器進(jìn)行時(shí)間同步,否則會(huì)提示noserversuitableforsynchronizationfound錯(cuò)誤。

root@zyops~#ntpdate10.0.0.97Dec18:40:16ntpdate1453:steptimeserver10.0.0.9offset40.880807sec#將命令放入計(jì)劃任務(wù)即可。

Tags:時(shí)間同步,NTP時(shí)間服務(wù)器

版權(quán)聲明:本站文章來(lái)源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請(qǐng)保持原文完整并注明來(lái)源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非www.sddonglingsh.com所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來(lái)源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來(lái),僅供學(xué)習(xí)參考,不代表本站立場(chǎng),如有內(nèi)容涉嫌侵權(quán),請(qǐng)聯(lián)系alex-e#qq.com處理。

相關(guān)文章

實(shí)時(shí)開(kāi)通

自選配置、實(shí)時(shí)開(kāi)通

免備案

全球線(xiàn)路精選!

全天候客戶(hù)服務(wù)

7x24全年不間斷在線(xiàn)

專(zhuān)屬顧問(wèn)服務(wù)

1對(duì)1客戶(hù)咨詢(xún)顧問(wèn)

在線(xiàn)
客服

在線(xiàn)客服:7*24小時(shí)在線(xiàn)

客服
熱線(xiàn)

400-630-3752
7*24小時(shí)客服服務(wù)熱線(xiàn)

關(guān)注
微信

關(guān)注官方微信
頂部