Configura time server

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 pool.ntp.org 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

Cos'è stato fatto

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;

  • Scrivendo un nuovo file /etc/ntp/step-tickers con la lista dei server;

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

  • Stopping and starting crond, atd and ntpd services;

  • Impostando l'orologio hardware con l'attuale orologio di sistema riferito a UTC.



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


CC BY-SA 3.0
Uploaded on 14/07/2017