Article Directory :: Computers & Technology Articles

How to Configure a Simple NTP Server

By David Evans

Subscribe to David Evans's RSS feed using any feed reader!

Republish: EasyPublish
Published: 09Jan2009
Word count: 518
Viewed: 275 time(s)
Bookmark this article using any bookmark manager!
Get Free Content For Your Site

The Network Time Protocol (NTP) is a standard protocol for synchronising time on computers and network equipment. NTP allows client computers to synchronise time with a NTP server over an Internet or Intranet network. The NTP protocol was originally developed for the Linux operating system. The standard NTP distribution is a freely downloadable application supplied under the GNU public licence. This article attempts to simplify the installation and configuration of the Linux NTP server application. It describes a simple NTP installation and goes through step-by-step the configuration procedure required to provide a NTP server on a Linux machine.

The NTP software distribution can be freely download from the NTP website, ntp.org. As well as containing the NTP daemon for Linux, the distribution also contains a number of utilities and configuration scripts. These utilities and scripts aid the installation process and provide debugging facilities to trace installation problems. Many Linux operating systems install the NTP distribution by default, or at least offer it as a pre-configured RMP package.

The NTP daemon is configured using a configuration file 'ntp.conf'. A list of commands can be specified in the configuration file to indicate which servers the daemon is to synchronise to and also to specify various authentication and access control options.

The NTP daemon synchronises to an external NTP server. Often, Internet based NTP time servers are used as reference clocks. External NTP servers are specified using the 'server' command along with the IP address or domain name of the server. Multiple external time servers can be specified in the configuration file, which allows NTP to select the most appropriate server.

The NTP daemon is controlled by a series of scripts, which are used to start ('ntpd start'), stop ('ntp stop') or restart ('ntpd restart') the daemon. The NTP daemon can be queried and debugged using the 'ntpq' utility. This is a very useful utility for debugging NTP server installations. It provides information relating to the synchronisation status of the NTP daemon.

There are a number of security commands that can be specified in the configuration file to control access to the time server and also to provide authentication. You can easily configure NTP so that only a specified set of computers on a network can access the NTP server. This is achieved using the 'restrict' command, which is used in conjunction with the IP address or computer name of the computer to be allowed access. Multiple 'restrict' commands can be specified to restrict access to a range of computers. Authentication allows a matching set of keywords to be used on a server and client to authenticate the server. Shared keywords are specified in a 'ntp.keys' file on both the server and client computers. The keyword that are trusted and to be used for authentication purposes are then specified in the NTP daemon configuration file 'ntp.conf'.

To summarise, the NTP distribution is easy and free to obtain and easy to install, configure and debug. There is no reason why anyone with a little computer know-how cannot set up a local NTP time server for network time synchronisation.

This article was written by David Evans, a technical author in the field of computer network time synchronisation systems and solutions. Click here, if you would like to read more of David's articles about time synchronisation, GPS timing and NTP server systems.

Bookmark this article using any bookmark manager! Subscribe to David Evans's RSS feed using any feed reader!

EasyPublish™ this article - publishers click here

More articles by David Evans

Free Report!
Ten Essential Secrets Of Article Marketing ... Grab Your Free
Copy
Now:




We respect your privacy.


Need Content?
Regular Top Quality Content for your Blog, Ezine or Website ...
Delivered Direct,
For Free!

Click For Details



Arts & Entertainment
Automotive
Business - General
Computers & Technology
Finance & Investment
Food & Drink
Health & Fitness
Home & Family
Internet Marketing/Online Business
Legal
Pets & Animals
Politics & Government
Reference & Education
Religion & Faith
Self-Improvement/Motivation
Social
Sports & Recreation
Travel & Leisure
Writing & Speaking

More computing articles:

  • Apple Stock Price Hits New Milestones Daily (San Lee)
    Apple is one of the most well know companies on the market of mobile phones. They have a different market strategy and they try to win the hearts of customers by launching a new phone each year.

  • History Of Linux And Unix (Eddison Sherry)
    Linux is a reimplementation and elaboration of UNIX. it conforms to the POSIX standard, runs on several hardware platforms and is compatible with most existing Unix software.

  • Using An International SIM Card Will Get You Lower Mobile Phone Charges (Stacy Robinson)
    Any regular traveler will agree that international calling rates can appear baffling, pricey and very daunting. The reason for this is that the rates and terms will differ from provider to provider and from one location to the other. While taking some time to research may sound like an credible idea, it may turn out to be quite nerve wrecking. The simple solution is to make use of an international sim card to make the rates more affordable.

  • Samsung Galaxy S III Concept Is Here (San Lee)
    Samsung has amazed all the market with its cell phone deals in the past few years. They have started with the great Samsung Omnia and now they have phones that can rival some of the notebooks that you can find on the market.

  • Why You Should Be Using Tool Management Software (A. Noton)
    Tool management software offers several benefits to those who are trying to construct or even repair a business. Tools happen to play a vital role in both the production and manufacturing aspects of a business or company. They essentially serve the same purpose in both huge enterprises as well as small businesses.

  • 4 Items to Find Out About Web Hosting (Patricia Strasser)
    Items you need to be familiar with internet hosting include the following: significance, performance, availability, and also space capacity.

  • 4 Approaches To Solve IPhone Freezing Troubles (Patricia Strasser)
    A few of the ways to fix iPhone freezing issues are the following: restarting your iPhone, resetting your iPhone, restoring factory configurations, and carrying your iPhone to an Apple service center.

  • How To Use Multiple Static IPs On A Cloud Server (Dirik Hameed)
    Cloud Servers are the new type of must-have servers that demand less management and maintenance and are the choice of server for many companies and businesses.

  • Discussing How Much Should You Pay For Domains? (Dirik Hameed)
    Having a website for your company these days is pretty much crucial in order to attract new business and keep up with your competitors. However, domain registration can sometimes prove to be costly, so there are certian factors that need to be taken into consideration when deciding on how much you are willing to pay.

  • Share Your Exciting Sports Moments With A Helmet Camera (Eric Maxfield)
    Find out why the Helmet camera has become very popular in outdoor sports today and all the information you need to choose the best helmet camera for you.

We Automatically Distribute Articles
To Thousands Of Publishers And Web Sites:

Submit Article
All content is viewed and used by you at your own risk and we do not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributing authors and not necessarily those of this web site, or its owner, Takanomi Limited.
 
Copyright © 2012 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information