aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/ca/drakwizard_ntp.xml
blob: 617f73b99c66bf2ea54371f5f042b1d93cb75ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xml:lang="ca" xml:id="drakwizard_ntp"
         xmlns="http://docbook.org/ns/docbook"
         xmlns:ns5="http://www.w3.org/1998/Math/MathML"
         xmlns:ns4="http://www.w3.org/2000/svg"
         xmlns:ns3="http://www.w3.org/1999/xhtml"
         xmlns:ns2="http://www.w3.org/1999/xlink"
         xmlns:ns="http://docbook.org/ns/docbook">
  <info>
    <title xml:id="drakwizard_ntp-ti1">Configura l'hora</title>

    <subtitle>drakwizard ntp</subtitle>
  </info>

  

  <mediaobject>
    <!-- 2013-10-25 Lebarhon - 3 screenshots ready to be added when it is possible -->
<imageobject>
      <imagedata align="center" fileref="drakwizard_ntp.png" format="PNG"
                 revision="1" xml:id="drakwizard_ntp-im1"/>
    </imageobject>
  </mediaobject>

  <para>This tool<footnote>
      <para>You can start this tool from the command line, by typing <emphasis
role="bold">drakwizard ntp</emphasis> as root.</para>
    </footnote> 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.</para>

  <section>
    <title>Setup a NTP server with drakwizard ntp</title>

    <procedure>
      <step>
        <para>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.</para>

        <mediaobject>
          <imageobject>
            <imagedata fileref="drakwizard-ntp1.png"/>
          </imageobject>
        </mediaobject>

        <mediaobject>
          <imageobject>
            <imagedata fileref="drakwizard-ntp2.png">
              <info>
<author> <personname/> </author> <pubdate/></info>
            </imagedata>
          </imageobject>
        </mediaobject>
      </step>

      <step>
        <para>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 <guibutton>Previous</guibutton>button.  If everything is right,
click on the <guibutton>Next</guibutton> button to proceed to the test. It
may take a while and you finally get this screen below:</para>

        <mediaobject>
          <imageobject>
            <imagedata fileref="drakwizard-ntp3.png"/>
          </imageobject>
        </mediaobject>
      </step>

      <step>
        <para>Click on the <guibutton>Finish</guibutton> button to close the tool</para>
      </step>
    </procedure>

    <para/>
  </section>

  <section>
    <title>What is done</title>

    <para>This tool executes the following steps:</para>

    <para><itemizedlist>
        <listitem>
          <para>Instal·lació del paquet <code>ntp</code>, si cal.</para>
        </listitem>

        <listitem>
          <para>Saving the files <code>/etc/sysconfig/clock</code> to
<code>/etc/sysconfig/clock.orig</code> and
<code>/etc/ntp/step-tickers</code> to
<code>/etc/ntp/step-tickers.orig</code>;</para>
        </listitem>

        <listitem>
          <para>Writing a new file <code>/etc/ntp/step-tickers</code> with the list of
servers;</para>
        </listitem>

        <listitem>
          <para>Modifying the file <code>/etc/ntp.conf</code> by inserting the first server
name;</para>
        </listitem>

        <listitem>
          <para>Stopping and starting <code>crond</code>, <code>atd</code> and
<code>ntpd</code> services;</para>
        </listitem>

        <listitem>
          <para>Setting the hardware clock to the current system time with UTC reference.</para>
        </listitem>
      </itemizedlist></para>
  </section>
</section>