欧美性色综合网_黄色国产网站_中文字幕中文乱码欧美一区二区_亚洲成在人线免费_欧美日韩在线三区_欧美精品一二三_欧美一二三区在线_啦啦啦啦免费高清视频在线观看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
向日葵视频成人app网址| 在线高清av| 欧美亚洲人成在线| 精品国产乱码久久久久久婷婷 | 玖玖玖视频精品| 在线激情av| 91精品国产福利| 一区二区在线观看视频在线观看| 国产精品一区二区三区网站| 亚洲激情中文| 亚洲精品观看| 中文字幕有码在线观看| 亚洲主播在线播放| 一区三区视频| 无人视频在线观看免费| 2022国产精品视频| 日韩和的一区二在线| 欧美顶级少妇做爰| 亚洲区小说区| 91福利精品第一导航| 久久久久久爱| 欧美xxxx少妇| 亚洲精品一区二区精华| 麻豆一区二区三区| 国产精品第一| 99免在线观看免费视频高清| 四季av一区二区三区免费观看| www.久久热.com| 一区在线观看免费| 欧美不卡高清| av手机免费在线观看| 精品少妇一区二区三区在线播放| 蜜臀精品久久久久久蜜臀| 日本免费中文字幕在线| 日本一二三不卡| 91亚洲国产| 超碰99在线| 午夜视频一区二区| 7777久久香蕉成人影院| 中文字幕视频在线免费| 亚洲第一免费播放区| 五月天婷婷综合| 一本一本久久| 天堂久久av| 最新国产在线拍揄自揄视频| 国产精品资源网| 写真福利精品福利在线观看| 中文字幕在线观看第一页| 欧美一级搡bbbb搡bbbb| 日本精品一级二级| 5566中文字幕一区二区电影| 欧美一区二区黄色| 亚洲精品资源美女情侣酒店| 欧美一区二区美女| 亚洲成人精品视频在线观看| 欧美主播一区二区三区| 91在线高清观看| 水蜜桃久久夜色精品一区| 中文av在线全新| 久青草国产在线| 福利一区视频在线观看| 亚洲成a人片综合在线| 国产成人精品免费视| 日本一级在线观看| 亚洲aⅴ怡春院| 欧美性少妇18aaaa视频| 一区二区三区四区高清精品免费观看| 国产xxx精品视频大全| 蜜臀91精品国产高清在线观看| 国产精品一区二区av影院萌芽| 69xxx在线| 嫩草影院永久入口| 成人一区在线观看| 精品一区二区三区欧美| 亚洲激情自拍| 精品国产一区二区三区小蝌蚪| 影音国产精品| 东方欧美亚洲色图在线| 国产三级久久久| 欧美日韩久久久久久| 337p亚洲精品色噜噜狠狠| 亚洲国产精品中文| 这里是久久伊人| 夜夜嗨av一区二区三区四季av| 成人性视频网站| 国精品一区二区| 国产精品久久久久久影院8一贰佰 国产精品久久久久久麻豆一区软件 | 偷偷要色偷偷| 四虎精品成人免费网站| 亚洲国内精品在线| 欧美日韩亚洲精品一区二区三区 | 国产91露脸合集magnet| 成人一区视频| 香蒸焦蕉伊在线| 亚洲欧美aⅴ...| 亚洲品质自拍视频| 欧美性猛交xxxx富婆弯腰| h片免费观看| 欧美一级鲁丝片| 日韩在线观看一区| 香蕉久久夜色精品| 国产精品一级片在线观看| 国产精品九色蝌蚪自拍| 99re6这里只有精品视频在线观看| 九一九一国产精品| 久久99久久久欧美国产| 精品中文av资源站在线观看| 国产乱子伦视频一区二区三区| 日韩综合一区二区| 国产成人亚洲精品青草天美| 国产精品99久久久久久似苏梦涵 | 欧美视频中文字幕在线| 色综合久久综合| 欧美成人一区二区| 亚洲一区二区动漫| 麻豆成人在线| 久久婷婷成人综合色| 成人a免费在线看| 一二三区不卡| 免费观看一级特黄欧美大片| 中文字幕一区二区三| 欧美国产视频在线| 欧美日韩国产色| 精品久久久久99| 精品国产凹凸成av人网站| 亚洲а∨精品天堂在线| 男人午夜天堂| 无圣光视频在线观看| a级片在线免费| 色爱综合av| 8x国产一区二区三区精品推荐| 欧美国产日韩电影| 欧美一区一区| 色喇叭免费久久综合网| 国产亚洲欧洲一区高清在线观看| 欧美日韩亚洲一区二| 亚洲国产精品人人做人人爽| 欧美性感一区二区三区| gogo人体高清视频| av福利在线播放| 亚洲精品少妇久久久久久| 欧美男男video| 国产美女视频一区二区 | 成人av在线观| 亚洲奶大毛多的老太婆| 国产一区二区三区四区| 亚洲天堂av一区| 青青草在线播放| 亚洲精品国产首次亮相| 一区二区三区四区不卡视频| 影院免费视频| 理论片午夜视频在线观看| 亚洲综合二区| 国产寡妇亲子伦一区二区| 制服丝袜av成人在线看| 深夜影院在线观看| **欧美日韩在线观看| 欧美激情四色| 国产成人精品1024| 国产精品久线在线观看| 日韩亚洲欧美一区二区三区| 91午夜在线| 国模精品视频| 国产一区二区女| 亚洲欧美一区二区三区久久 | 亚洲欧美日韩爽爽影院| 啪啪亚洲精品| 久久精品免费一区二区三区| 麻豆精品精品国产自在97香蕉| 麻豆中文一区二区| 欧美日韩国产另类一区| 国产一二在线播放| 亚洲福利精品| 亚洲精品一线二线三线无人区| 亚洲另类春色校园小说| 色8久久人人97超碰香蕉987| 日本一区二区三区中文字幕| 国产一区在线视频| 女人被爽到呻吟gif动态图下载| 要久久爱电视剧全集完整观看| 激情偷乱视频一区二区三区| 56国语精品自产拍在线观看| 二区中文字幕| 免费久久久久久久久| 国产性天天综合网| 精品伦理精品一区| 成人福利片在线| 久久99精品视频| 欧美在线观看视频在线| 国产网友自拍视频导航网站在线观看| 亚洲情侣在线| 日韩欧美视频一区二区三区| 国产一区二区三区四区五区3d| 成人aaaa免费全部观看| 日日噜噜噜夜夜爽爽狠狠| 伊人久久大香线| 日韩色视频在线观看| 欧美jizz19性欧美| 亚洲精品中文字幕在线观看| 911精品国产一区二区在线|
    1. <kbd id="4tqfe"><sub id="4tqfe"><ol id="4tqfe"></ol></sub></kbd>
        Powered by RRZCMS