日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

rdate server setup centos | Shirker's blog

系統 2478 0

rdate server setup centos | Shirker's blog

rdate server setup centos

2012 June 20

Posted by shirker2006

http://www.articlesbase.com/networks-articles/public-rdate-server-3288423.html

rdate ?is a? Linux command ?and the network time protocol for immediate?date and time?setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything).

rdate ?is the older standard that in many cases is now replaced by ntp/ntpd. Unlike ntp, rdate sets the new time instantly and is more suitable in situations like initial setup. Abrupt change of the clock settings may cause?problems?for some software (ntp changes time gradually). However ntp may not be available in some systems and during some initial setups is actually desired to set the correct time as soon as possible.

Under Linux, rdate does not have its own network service and is supported by the standard time service instead. It uses port 37 and can work via TCP or UDP (with -u switch).

This is tutorial? How to public RDate Server .

Public RDate server need two?packages: ?xinet & ntp

Step 1:

On CentOS execute command:

#yum?install?xinet ntp

Step 2:

Enable time-stream in xinet by modify File /etc/xinetd.d/time-stream using command

#vi /etc/xinetd.d/time-stream

Search and replace with:

disable = no

#only_from = localhost

Step 3:

Start two services with commands:

#service ntpd start

#service xinetd start

Note: ?The service is a daemon listening on port 37 (TCP & UDP) on iptables using command:

#iptables -I INPUT -p tcp –dport 37 -j ACCEPT

#iptables -I INPUT -p udp –dport 37 -j ACCEPT

And after that restart iptables service with command:

#service iptables restart

Using RDate command sync to date system

#rdate -s [ip address]

rdate server setup centos | Shirker's blog


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 鄂托克前旗| 汉中市| 兰坪| 昌乐县| 申扎县| 蓬安县| 仁怀市| 富川| 岑溪市| 阳山县| 泰州市| 贡觉县| 德清县| 定安县| 龙泉市| 松潘县| 巢湖市| 蓝山县| 旬阳县| 苏尼特左旗| 济源市| 托里县| 扎兰屯市| 宜宾县| 盐亭县| 盐池县| 杭锦旗| 饶河县| 沙湾县| 扶风县| 防城港市| 炉霍县| 新干县| 依安县| 竹北市| 平利县| 珠海市| 凌源市| 腾冲县| 仙游县| 施甸县|