Configure time

drakwizard ntp

This tool[9] purpose is to set the time of your server synchronised with an external server. It isn't installed by default and you have to also install the drakwizard and drakwizard-base packages.

Setup a NTP server with drakwizard ntp

  1. After a welcome screen (see above), the second one ask you to choose three time servers in the drop down lists and suggests to use twice because this server always points to available time servers.

  2. The following screens allows to choose the region and the city and then, you arrive on a summary. If something is wrong, you can obviously change it using the Previousbutton. If everything is right, click on the Next button to proceed to the test. It may take a while and you finally get this screen below:

  3. Click on the Finish button to close the tool

What is done

This tool executes the following steps:

  • Installing the package ntp if needed

  • Saving the files /etc/sysconfig/clock to /etc/sysconfig/clock.orig and /etc/ntp/step-tickers to /etc/ntp/step-tickers.orig;

  • Writing a new file /etc/ntp/step-tickers with the list of servers;

  • Modifying the file /etc/ntp.conf by inserting the first server name;

  • Stopping and starting crond, atd and ntpd services;

  • Setting the hardware clock to the current system time with UTC reference.

[9] You can start this tool from the command line, by typing drakwizard ntp as root.

CC BY-SA 3.0
Uploaded on 22/10/2016
loading table of contents...