LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-21-2002, 04:01 AM   #1
u4113072
Member
 
Registered: Sep 2002
Location: Bangkok Thialnad
Distribution: Redhat 7.2
Posts: 35

Rep: Reputation: 15
Sync time


Hi,
How can I sync time when startup between linux and linux (redhat 8.0).
Thank you.
 
Old 11-21-2002, 08:22 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
Well if you want to keep two machines perfectly in sync then you will have to setup NTP. You could use an internet time server for the source of the right time. Or you could dub one of the two machines as a time server.
I suggest you start by reading the documentation at www.ntp.org
 
Old 11-21-2002, 10:28 AM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
man rdate

rdate -s xxx.xxx.xxx.xxx

sets the time from an external server.
Add that line to the end of /etc/rc.d/rc.local to make it synch when you boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
software of time sync hongxing Linux - Software 5 10-12-2005 03:18 AM
ntp time sync eyewittness Linux - Networking 2 08-11-2004 09:18 AM
Time sync? fredws Mandriva 1 10-01-2003 08:38 PM
Time sync cyclopiea Linux - General 6 10-17-2002 06:43 AM


All times are GMT -5. The time now is 05:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration