RHCE2B.COM

RHCE Information on NTP from RHCE2B.COM

Where to find information on NTP

Clock Mini-howto

 NTP Defined

The Network Time Protocol is a way to syncronize the clock of your Linux computer with another computer somewhere else on the network.  The software to implement this protocol is in the XNTP3 rpm, which contains the xntpd deamon, as well as the xntpdate command.
 

How To Install NTP

% mount /dev/cdrom

 % cd /mnt/cdrom/RedHat/RPMS

% rpm -ivh xntp*.rpm
 

How To Configure NTP

Configure your /etc/ntp.conf file

You simply specify the servers that you will use, and the location of the driftfile.  The driftfile is used to calculate the drift of the clock on the system that the xntp daemon is running on.  Here is an example of the /etc/ntp.conf file:

    sever time.foo.com
    driftfile /etc/ntp.drift
    peer friend.foo.com

The server line specifies that this machine will get its time from time.foo.com.  The peer line specifies that this machine can both get its time from friend.foo.com, as well s proide its on time for synchronization.  The peer line is not recommended.

About NTP Stratium N servers

A stratum 1 server has access to an external time source such as a radio clock.  A stratum 2 server gets its time from a struatum 1 server.  A stratum 3 server gets its time from a stratum 2 server.  This continues all the way down to stratum 15 servers.  There are no stratum 16 servers or beyond.

The xntpdate and rdate commands

The xntpdate command works to update your clock once, rather than keeping your clock in sync.  There is another command that does this called rdate, but it is not as accurate as the using xntpd. Running rdate with the -s option will set the system clock to the time recieved from the time server.
 

Take a quiz on NTP


Linux Waves Banner Exchange

Search Amazon.com:
In Association with Amazon.com


www.NoMonthlyFees.com
RHCE2B.COM Home Page
RHCE2B.COM Practice Test for the RHCE exam
This site is not authorized or reviewed by Red Hat, Inc.
Legal stuff

Books : Linux

In association with Amazon.com
 
 

1. Books : The Official Ubuntu Book The Official Ubuntu Book
by: Benjamin Mako Hill, Jono Bacon, Corey Burger, Jonathan Jesse, Ivan Krstic
11 August, 2006
List Price: $34.99
Amazon.com's Price: price not available
Amazon.com prices subject to change.

2. Books : A Practical Guide to Linux(R) Commands, Editors, and Shell Programming A Practical Guide to Linux(R) Commands, Editors, and Shell Programming
by: Mark G. Sobell
01 July, 2005
List Price: $39.99
Amazon.com's Price: price not available
Amazon.com prices subject to change.

3. Books : Learning Python, Second Edition Learning Python, Second Edition
by: Mark Lutz, David Ascher
December, 2003
List Price: $39.99
Amazon.com's Price: price not available
Amazon.com prices subject to change.

4. Books : Understanding the Linux Kernel Understanding the Linux Kernel
by: Daniel Plerre Bovet, Marco Cesati
01 November, 2005
List Price: $49.95
Amazon.com's Price: price not available
Amazon.com prices subject to change.

5. Books : Classic Shell Scripting Classic Shell Scripting
by: Arnold Robbins, Nelson H.F. Beebe
01 February, 2005
List Price: $34.95
Amazon.com's Price: price not available
Amazon.com prices subject to change.

6. Books : Ubuntu Hacks: Tips & Tools for Exploring, Using, and Tuning Linux (Hacks) Ubuntu Hacks: Tips & Tools for Exploring, Using, and Tuning Linux (Hacks)
by: Jonathan Oxer, Kyle Rankin, Bill Childers
14 June, 2006
List Price: $29.99
Amazon.com's Price: price not available
Amazon.com prices subject to change.

7. Books : C++ GUI Programming with Qt 4 C++ GUI Programming with Qt 4
by: Jasmin Blanchette, Mark Summerfield
26 June, 2006
List Price: $59.99
Amazon.com's Price: price not available
Amazon.com prices subject to change.

8. Books : Asterisk: The Future of Telephony Asterisk: The Future of Telephony
by: Jim Van Meggelen, Jared Smith, Leif Madsen
01 September, 2005
List Price: $39.95
Amazon.com's Price: price not available
Amazon.com prices subject to change.

9. Books : Linux Pocket Guide Linux Pocket Guide
by: Daniel J. Barrett
01 March, 2004
List Price: $9.95
Amazon.com's Price: price not available
Amazon.com prices subject to change.

10. Books : Linux Device Drivers, 3rd Edition Linux Device Drivers, 3rd Edition
by: Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
08 February, 2005
List Price: $39.95
Amazon.com's Price: price not available
Amazon.com prices subject to change.

page 1 of  299
 1  2  3  4  5  6  7  8  9  10  11 

 
script by MrRat