<

Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Public RDate Server

Published on
11,015 Points
5,015 Views
Last Modified:
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

Open in new window


Step 2:
Modify File /etc/xinetd.d/time-stream

disable = no
#only_from = localhost

Open in new window

Step 3:
Start two services with commands:

service ntpd start
service xinetd start

Open in new window

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

Using RDate command sync to date system

rdate -s <Server Address>

Open in new window

0
Comment
Author:longvnit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Author Comment

by:longvnit
yep, longvnit.com is my blog. you can send some email to admin@longvnit.com and i will confirm it. :)
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Join & Write a Comment

Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month