内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

Linux搭建NTP服務(wù)器-創(chuàng)新互聯(lián)

1.安裝ntp ntpdate

創(chuàng)新互聯(lián)專注于五臺(tái)網(wǎng)站建設(shè)服務(wù)及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗(yàn)。 熱誠(chéng)為您提供五臺(tái)營(yíng)銷型網(wǎng)站建設(shè),五臺(tái)網(wǎng)站制作、五臺(tái)網(wǎng)頁(yè)設(shè)計(jì)、五臺(tái)網(wǎng)站官網(wǎng)定制、成都小程序開發(fā)服務(wù),打造五臺(tái)網(wǎng)絡(luò)公司原創(chuàng)品牌,更為您提供五臺(tái)網(wǎng)站排名全網(wǎng)營(yíng)銷落地服務(wù)。
yum install -y ntp ntpdate

2.修改配置文件

#備份配置文件
cp /etc/ntp.conf /etc/ntp.conf-bak
#修改配置文件
vi /etc/ntp.conf
#配置文件內(nèi)容為

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default nomodify notrap nopeer noquery

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1 
restrict ::1

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
restrict 10.0.0.0 mask 255.0.0.0 nomodify notrap
restrict 172.16.0.0 mask 255.240.0.0 nomodify notrap
service 10.0.0.254

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server ntp.ntsc.ac.cn 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

#broadcast 192.168.1.255 autokey        # broadcast server
#broadcastclient                        # broadcast client
#broadcast 224.0.1.1 autokey            # multicast server
#multicastclient 224.0.1.1              # multicast client
#manycastserver 239.255.254.254         # manycast server
#manycastclient 239.255.254.254 autokey # manycast client

# Enable public key cryptography.
#crypto

includefile /etc/ntp/crypto/pw

# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography. 
keys /etc/ntp/keys

# Specify the key identifiers which are trusted.
#trustedkey 4 8 42

# Specify the key identifier to use with the ntpdc utility.
#requestkey 8

# Specify the key identifier to use with the ntpq utility.
#controlkey 8

# Enable writing of statistics records.
#statistics clockstats cryptostats loopstats peerstats

# Disable the monitoring facility to prevent amplification attacks using ntpdc
# monlist command when default restrict does not include the noquery flag. See
# CVE-2013-5211 for more details.
# Note: Monitoring will not be disabled with the limited restriction flag.
disable monitor

3.啟動(dòng)NTP

systemctl start ntpd.service

4.將NTP加入開機(jī)啟動(dòng)

chkconfig ntpd on

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

ntpq -p

6.開啟防火墻

firewall-cmd --add-service=ntp
firewall-cmd --permanent --add-service=ntp

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。

網(wǎng)站題目:Linux搭建NTP服務(wù)器-創(chuàng)新互聯(lián)
網(wǎng)站路徑:http://m.rwnh.cn/article32/dsdjpc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站建設(shè)、做網(wǎng)站、建站公司、定制網(wǎng)站、網(wǎng)站內(nèi)鏈、移動(dòng)網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

手機(jī)網(wǎng)站建設(shè)
长治县| 陆丰市| 道真| 怀宁县| 三明市| 久治县| 遵义县| 合江县| 澄迈县| 乳山市| 柘城县| 繁峙县| 荆门市| 灌南县| 南江县| 二连浩特市| 普安县| 宜阳县| 高尔夫| 鹤庆县| 台州市| 时尚| 阳新县| 涿州市| 玉龙| 江门市| 封丘县| 万盛区| 金阳县| 惠安县| 高密市| 柳州市| 景德镇市| 阿拉尔市| 泸州市| 樟树市| 镇原县| 内丘县| 金湖县| 白玉县| 通化县|