To sync a correct time on your Redhat server with a NTP publicly available time servers first you need to install ntpdate package:
[root@rhel7 ~]# yum install ntpdate
To check your current time use date command:
[root@rhel7 ~]# date
Thu Sep  4 17:20:42 WST 2014
Next, we can use pool.ntp.org timeserver to synchronize our time. This is be done with ntpdate command:
[root@rhel7 ~]# ntpdate pool.ntp.org
11 Dec 06:08:13 ntpdate[2225]: step time server 173.230.144.109 offset 8426822.014383 sec
Confirm that time hase been synced correctly:
[root@rhel7 ~]# date
Thu Dec 11 06:08:16 WST 2014
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.