欧美性色综合网_黄色国产网站_中文字幕中文乱码欧美一区二区_亚洲成在人线免费_欧美日韩在线三区_欧美精品一二三_欧美一二三区在线_啦啦啦啦免费高清视频在线观看1

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

咨詢服務(wù)熱線

400-015-1230

NTP服務(wù)配置ubuntu系統(tǒng)

發(fā)布時(shí)間:2022-04-12 09:36:15

NTP即是服務(wù)器,又是客戶端,只需要通過(guò)配置即可。

準(zhǔn)備兩臺(tái)機(jī)器分別作為服務(wù)端(IP地址設(shè)為192.168.10.10)和客戶端(IP地址設(shè)為192.168.10.12)。

服務(wù)器:NTPD服務(wù),負(fù)責(zé)與外部公共NTPD服務(wù)同步標(biāo)準(zhǔn)時(shí)間,作為內(nèi)外網(wǎng)絡(luò)的NTPD服務(wù)。

客戶端:NTPclient,與服務(wù)器同步時(shí)間。

ubuntu系統(tǒng)

1.安裝ntp,因?yàn)閚tp服務(wù)既是服務(wù)器,又是客戶端,因此兩端安裝方式一樣

sudo apt-get install ntp

2.配置NTP-Server

# vim /etc/ntp.conf

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift

# Enable this if you want statistics to be logged.

#statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats

filegen loopstats file loopstats type day enable

filegen peerstats file peerstats type day enable

filegen clockstats file clockstats type day enable

# You do need to talk to an NTP server or two (or three).

#server ntp.your-provider.example

#NTP服務(wù)

server 210.72.145.44 perfer # 中國(guó)國(guó)家受時(shí)中心

# 外部時(shí)間server不可用時(shí),以本地時(shí)間作為時(shí)間服務(wù)

server 127.127.1.0 # local clock

fudge 127.127.1.0 stratum 10

# 同意上層時(shí)間server主動(dòng)改動(dòng)本機(jī)時(shí)間

restrict 210.72.145.44 nomodify notrap noquery

# 同意內(nèi)網(wǎng)其它機(jī)器同步時(shí)間

restrict 192.168.10.0 mask 255.255.255.0 nomodify notrap

# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will

# pick a different set every time it starts up. Please consider joining the

# pool: <http://www.pool.ntp.org/join.html>

pool 0.debian.pool.ntp.org iburst

pool 1.debian.pool.ntp.org iburst

pool 2.debian.pool.ntp.org iburst

pool 3.debian.pool.ntp.org iburst

# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for

# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>

# might also be helpful.

#

# Note that "restrict" applies to both servers and clients, so a configuration

# that might be intended to block requests from certain clients could also end

# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.

restrict -4 default kod notrap nomodify nopeer noquery limited

restrict -6 default kod notrap nomodify nopeer noquery limited

# Local users may interrogate the ntp server more closely.

restrict 127.0.0.1

restrict ::1

# Needed for adding pool entries

restrict source notrap nomodify noquery

# Clients from this (example!) subnet have unlimited access, but only if

# cryptographically authenticated.

#restrict 192.168.123.0 mask 255.255.255.0 notrust

# If you want to provide time to your local subnet, change the next line.

# (Again, the address is an example only.)

#broadcast 192.168.123.255

# If you want to listen to time broadcasts on your local subnet, de-comment the

# next lines. Please do this only if you trust everybody on the network!

#disable auth

#broadcastclient

配置文件改動(dòng)完畢,保存退出。重啟服務(wù)。

# service ntpd restart

查看服務(wù)狀態(tài)

#service ntpd status

查看服務(wù)連接和監(jiān)聽(tīng)

# netstat -tlunp | grep ntp

ntpq -p 查看網(wǎng)絡(luò)中的NTPserver

#ntpd -p

3.配置NTP-Clients

# vim /etc/ntp.conf

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift

# Enable this if you want statistics to be logged.

#statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats

filegen loopstats file loopstats type day enable

filegen peerstats file peerstats type day enable

filegen clockstats file clockstats type day enable

# You do need to talk to an NTP server or two (or three).

#server ntp.your-provider.example

server 192.168.10.10

# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will

# pick a different set every time it starts up. Please consider joining the

# pool: <http://www.pool.ntp.org/join.html>

pool 0.debian.pool.ntp.org iburst

pool 1.debian.pool.ntp.org iburst

pool 2.debian.pool.ntp.org iburst

pool 3.debian.pool.ntp.org iburst

# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for

# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>

# might also be helpful.

#

# Note that "restrict" applies to both servers and clients, so a configuration

# that might be intended to block requests from certain clients could also end

# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.

restrict -4 default kod notrap nomodify nopeer noquery limited

restrict -6 default kod notrap nomodify nopeer noquery limited

# Local users may interrogate the ntp server more closely.

restrict 127.0.0.1

restrict ::1

# Needed for adding pool entries

restrict source notrap nomodify noquery

# Clients from this (example!) subnet have unlimited access, but only if

# cryptographically authenticated.

#restrict 192.168.123.0 mask 255.255.255.0 notrust

# If you want to provide time to your local subnet, change the next line.

# (Again, the address is an example only.)

#broadcast 192.168.123.255

# If you want to listen to time broadcasts on your local subnet, de-comment the

# next lines. Please do this only if you trust everybody on the network!

#disable auth

#broadcastclient

 配置文件改動(dòng)完畢,保存退出。重啟服務(wù)。

# service ntpd restart

 查看服務(wù)狀態(tài)

#service ntpd status

 配置完成,可以手動(dòng)修改客戶端時(shí)間,然后靜置10幾分鐘,客戶端就會(huì)跟服務(wù)器同步


  • 聯(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)
京公網(wǎng)安備 11010802025976號(hào)

掃一掃咨詢微信客服

18519396506
国产伦理精品不卡| av资源久久| xxxxx.日韩| 成人免费在线电影网| 精品国产乱码久久久| 欧美成人综合| 日韩电影免费一区| 国产成人午夜99999| 国产精品国产三级国产| 欧美视频一二三| 日韩av在线免播放器| 免费在线观看一级毛片| 国产在线观看www| 极品尤物一区| 国产欧美一区二区色老头| 成人一区二区三区视频在线观看 | 欧美电影免费播放| 日韩中文欧美在线| 中文字幕欧美区| 欧美一区二区三区性视频| 欧美变态视频| 国产探花在线观看| 啪啪亚洲精品| 蜜桃视频一区二区| 亚洲欧美一区二区久久| 日韩一区二区三区在线| 狠狠色伊人亚洲综合网站l| 亚洲天堂一区二区| 欧美热在线视频精品999| 久久天堂成人| 一区二区三区欧美视频| 亚洲国产精品大全| 三级资源在线| 国产探花一区| 国产999精品久久久久久| 亚洲香蕉伊在人在线观| aaa大片免费观看| 周于希免费高清在线观看| 欧美电影免费播放| 久久久噜噜噜久久人人看| 欧美日韩国产一级| 麻豆传媒视频在线观看| 天天躁日日躁狠狠躁欧美| 精品无码三级在线观看视频| 亚洲欧美日韩国产中文在线| 日韩成人黄色av| 99精品偷自拍| 黄色成人美女网站| 激情图片小说一区| 精品视频在线免费观看| 国产黄色免费在线观看| 国产另类在线| 精品在线一区二区三区| 欧美性一级生活| 很黄的网站在线观看| 成人在线免费小视频| 久久免费电影网| 97视频免费| 亚洲精品三区| 久久精品国产一区二区三区免费看| 欧美日韩国产综合新一区| 欧美孕妇性xxxⅹ精品hd| 丁香5月婷婷久久| 处破女av一区二区| 亚洲精品中文字幕女同| 日韩五码电影| 国产成人一级电影| 亚洲国产又黄又爽女人高潮的| 亚洲四虎影院| 国产精品一区二区久激情瑜伽| 欧美zozo另类异族| 成人黄色毛片| 国产精品一区二区久激情瑜伽 | 蜜桃麻豆av在线| 国产美女一区| 欧美日韩精品一区二区天天拍小说 | 精品九九久久| 国产jizzjizz一区二区| 精品亚洲aⅴ在线观看| 欧美一级片网址| 2021中文字幕一区亚洲| 国产免费福利| 综合综合综合综合综合网| 国产欧美一区二区精品忘忧草| 中文字幕电影在线观看| 九一精品国产| 激情懂色av一区av二区av| 成a人片在线观看| 久久久久国内| 日韩精品视频在线播放| 国产suv精品一区二区四区视频| 91在线视频播放地址| 在线播放国产区| 婷婷亚洲综合| 亚洲成人动漫一区| 美女100%一区| 91久色porny| 国产中文字幕在线看| 亚洲东热激情| 亚洲成av人乱码色午夜| 日韩成人av在线资源| 亚洲国产精品一区二区久久恐怖片| www免费视频观看在线| 日一区二区三区| 亚洲欧美激情视频| 无需播放器亚洲| 91精品国产aⅴ一区二区| 1313精品午夜理伦电影| 亚洲一二三区在线观看| 成人性生交大片免费观看网站| 成人的网站免费观看| 精品999视频| 精品中文字幕一区二区小辣椒| 91天堂在线| 亚洲欧美日韩国产一区| 亚洲欧美日韩精品久久亚洲区| 91精品综合| 精品无码久久久久久国产| 99国产精品一区二区| 777久久久精品| 国产剧情在线观看一区| 欧美精品丝袜中出| 亚洲激情播播| 色婷婷亚洲一区二区三区| 一区中文字幕| 在线观看亚洲成人| 成人在线超碰| 欧美老女人第四色| 偷拍自拍亚洲色图| 欧美一区二区三区啪啪| 第一会所亚洲原创| 亚洲黄色有码视频| 在线成人h网| 污视频在线看操| 国产在线精品一区二区夜色| 黄色在线播放| 99综合电影在线视频| 2019中文字幕在线电影免费| 国产欧美日本一区视频| 欧美第一视频| 精品久久久久久中文字幕| 久久精品色综合| 欧美成人高清电影在线| 欧美 日韩 国产 一区| 五月天婷婷综合社区| 激情综合色综合久久综合| 黄色免费在线观看网站| 国产欧美日韩精品在线| 99热这里有精品| 欧美日韩高清在线播放| 国内一区二区三区| 瑟瑟在线观看| 久久免费美女视频| 日韩国产91| 91精品国产91久久久久久最新毛片 | 日韩国产精品91| 三区四区在线视频| 中文字幕中文字幕在线一区| 在线免费观看亚洲| 538在线一区二区精品国产| 亚洲理伦在线| 国产美女视频一区二区三区| 久久九九99视频| 日韩精品成人在线观看| 日韩一区二区三区免费看| 老司机一区二区三区| 欧美videos另类精品| 精品国产户外野外| 午夜日本精品| 免费在线观看黄色| 一区二区欧美国产| 青青草成人影院| 理论在线观看| 一个色综合av| 91精品在线观看国产| 亚洲欧美视频一区二区| 亚洲福利一区二区| 一区二区三区中文| 最新超碰在线| 在线免费一区三区| 亚洲免费综合| 日韩伦理三区| 亚洲精品久久久久久久久久久久| 国产伦精品一区二区三区免费迷 | 电影一区二区三区久久免费观看| 亚洲成人动漫在线播放| 国产成人免费xxxxxxxx| 激情不卡一区二区三区视频在线 | 在线观看av资源| 亚洲最大的成人av| 亚洲国产99| 欧美极品免费| 91美女在线免费观看| 国产精品毛片久久久久久| 成人毛片在线| 欧美6一10sex性hd| 亚洲国产精品成人va在线观看| 91丨porny丨中文| 波多野结衣在线播放一区| 成人影院在线看|
Powered by RRZCMS