~giuseppeterrasi-deactivatedaccount/wiki-ubuntu-it/help-repo

« back to all changes in this revision

Viewing changes to www/10.10/ubuntu/serverguide/it/jabberd2-server.html

  • Committer: Leo Iannacone
  • Date: 2011-04-30 16:06:52 UTC
  • Revision ID: l3on@ubuntu.com-20110430160652-p5rufesrmfuzge6k
Creato;
Aggiunti 10.10 - 10.04 - 8.04;
Aggiunti index;
Aggiunti css base;
Aggiunti favicon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
3
<html xmlns="http://www.w3.org/1999/xhtml">
 
4
  <head xmlns="http://www.w3.org/1999/xhtml">
 
5
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
6
    <title xmlns="">Server di messaggistica istantanea Jabber</title>
 
7
    <link rel="stylesheet" href="../../libs/ubuntu-book.css" type="text/css" />
 
8
    <style xmlns="" type="text/css">
 
9
#content { background-image: url('images/draft.png');
 
10
       background-repeat: repeat-y;
 
11
       background-position: top center;
 
12
       /* The following properties make the watermark "fixed" on the page. */
 
13
       /* I think that's just a bit too distracting for the reader... */
 
14
       /* background-attachment: fixed; */
 
15
       /* background-position: center center; */
 
16
     }</style>
 
17
    <link rel="home" href="index.html" title="Guida a Ubuntu Server" />
 
18
    <link rel="up" href="chat-servers.html" title="Capitolo 15. Applicazioni per conversazioni" />
 
19
    <link rel="prev" href="irc-server.html" title="Server IRC" />
 
20
    <link rel="next" href="version-control-system.html" title="Capitolo 16. Sistemi per il controllo della versione" />
 
21
    <link rel="copyright" href="legal.html" title="Riconoscimenti e licenza" />
 
22
  </head>
 
23
  <link href="http://help.ubuntu-it.org/favicon.ico" rel="shortcut icon" />
 
24
  <body>
 
25
    <div id="page-border-left-repeat">
 
26
      <div id="page-border-right-repeat">
 
27
        <script type="text/javascript">
 
28
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
29
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
30
</script>
 
31
        <script type="text/javascript">
 
32
try {
 
33
var pageTracker = _gat._getTracker("UA-8147493-2");
 
34
pageTracker._trackPageview();
 
35
} catch(err) {}</script>
 
36
        <div id="page-border-top-repeat">
 
37
          <div id="header">
 
38
            <div id="header-navigation">
 
39
              <ul>
 
40
                <li>
 
41
                  <a href="http://www.ubuntu-it.org">Web</a>
 
42
                </li>
 
43
                <li>
 
44
                  <a href="http://wiki.ubuntu-it.org">Documentazione</a>
 
45
                </li>
 
46
                <li>
 
47
                  <a href="http://forum.ubuntu-it.org">Forum</a>
 
48
                </li>
 
49
                <li>
 
50
                  <a href="http://planet.ubuntu-it.org">Planet</a>
 
51
                </li>
 
52
              </ul>
 
53
            </div>
 
54
            <form action="http://help.ubuntu-it.org/10.10/ubuntu/search.php" id="cse-search-box">
 
55
              <div>
 
56
                <input type="text" name="s" size="28" title="search" />
 
57
                <input type="submit" value="Cerca" title="search" />
 
58
              </div>
 
59
            </form>
 
60
          </div>
 
61
        </div>
 
62
        <div>
 
63
          <div id="bodyarea">
 
64
            <div class="pagelocation"><a href="http://help.ubuntu-it.org/">Documentazione di Ubuntu</a> &gt; <a href="http://help.ubuntu-it.org/ubuntu1010.html">Ubuntu 10.10</a> &gt; <span class="breadcrumb-link"><a href="index.html">Guida a Ubuntu Server</a></span> &gt; <span class="breadcrumb-link"><a href="chat-servers.html">Applicazioni per conversazioni</a></span> &gt; <span class="breadcrumb-node">Server di messaggistica istantanea Jabber</span></div>
 
65
            <div xmlns="http://www.w3.org/1999/xhtml" class="sect1" title="Server di messaggistica istantanea Jabber">
 
66
              <div class="titlepage">
 
67
                <div>
 
68
                  <div>
 
69
                    <h2 class="title" style="clear: both"><a id="jabberd2-server"></a>Server di messaggistica istantanea Jabber</h2>
 
70
                  </div>
 
71
                </div>
 
72
              </div>
 
73
              <p><span class="emphasis"><em>Jabber</em></span> è un protocollo di messaggistica molto diffuso, basato su XMPP, uno standard aperto per la messaggistica istantanea e usato da molte applicazioni. Questa sezione espone come configurare un server <span class="emphasis"><em>Jabberd 2</em></span> in una rete locale. La configurazione può anche essere adattata per fornire servizi di messaggistica agli utenti attraverso Internet.</p>
 
74
              <div class="sect2" title="Installazione">
 
75
                <div class="titlepage">
 
76
                  <div>
 
77
                    <div>
 
78
                      <h3 class="title"><a id="jabberd2-installation"></a>Installazione</h3>
 
79
                    </div>
 
80
                  </div>
 
81
                </div>
 
82
                <p>Per installare <span class="application"><strong>jabberd2</strong></span>, in un terminale digitare:</p>
 
83
                <pre class="screen">
 
84
<span class="command"><strong>sudo apt-get install jabberd2</strong></span>
 
85
</pre>
 
86
              </div>
 
87
              <div class="sect2" title="Configurazione">
 
88
                <div class="titlepage">
 
89
                  <div>
 
90
                    <div>
 
91
                      <h3 class="title"><a id="jabberd2-configuration"></a>Configurazione</h3>
 
92
                    </div>
 
93
                  </div>
 
94
                </div>
 
95
                <p>
 
96
    A couple of XML configuration files will be used to configure <span class="application"><strong>jabberd2</strong></span> for 
 
97
    <span class="emphasis"><em>Berkeley DB</em></span> user authentication.  This is a very simple form of authentication.  However,
 
98
    <span class="application"><strong>jabberd2</strong></span> can be configured to use LDAP, MySQL, PostgreSQL, etc for 
 
99
    for user authentication.
 
100
    </p>
 
101
                <p>Aprire il file <code class="filename">/etc/jabberd2/sm.xml</code> e alla riga:</p>
 
102
                <pre class="programlisting">
 
103
  &lt;id&gt;jabber.example.com&lt;/id&gt;
 
104
</pre>
 
105
                <div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;">
 
106
                  <table border="0" summary="Note">
 
107
                    <tr>
 
108
                      <td rowspan="2" align="center" valign="top" width="25">
 
109
                        <img alt="[Nota]" src="../../libs/admon/note.png" />
 
110
                      </td>
 
111
                      <th align="left"></th>
 
112
                    </tr>
 
113
                    <tr>
 
114
                      <td align="left" valign="top">
 
115
                        <p>Sostituire <span class="emphasis"><em>jabber.example.com</em></span> con il nome host, o altro identificativo, del proprio server.</p>
 
116
                      </td>
 
117
                    </tr>
 
118
                  </table>
 
119
                </div>
 
120
                <p>Nella sezione &lt;storage&gt;, modificare &lt;driver&gt; in:</p>
 
121
                <pre class="programlisting">
 
122
   &lt;driver&gt;db&lt;/driver&gt;
 
123
</pre>
 
124
                <p>Modificare il file <code class="filename">/etc/jabberd2/c2s.xml</code> e nella sezione <span class="emphasis"><em>&lt;local&gt;</em></span> cambiare:</p>
 
125
                <pre class="programlisting">
 
126
    &lt;id&gt;jabber.example.com&lt;/id&gt;
 
127
</pre>
 
128
                <p>Nella sezione &lt;authreg&gt; sistemare la sezione &lt;module&gt; in</p>
 
129
                <pre class="programlisting">
 
130
    &lt;module&gt;db&lt;/module&gt;
 
131
</pre>
 
132
                <p>Riavviare <span class="application"><strong>jabberd2</strong></span> per abilitare le nuove impostazioni:</p>
 
133
                <pre class="screen">
 
134
<span class="command"><strong>sudo /etc/init.d/jabberd2 restart</strong></span>
 
135
</pre>
 
136
                <p>Dovrebbe quindi essere possibile connettersi al server utilizzando un client Jabber come <span class="application"><strong>Empathy</strong></span>.</p>
 
137
                <div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;">
 
138
                  <table border="0" summary="Note">
 
139
                    <tr>
 
140
                      <td rowspan="2" align="center" valign="top" width="25">
 
141
                        <img alt="[Nota]" src="../../libs/admon/note.png" />
 
142
                      </td>
 
143
                      <th align="left"></th>
 
144
                    </tr>
 
145
                    <tr>
 
146
                      <td align="left" valign="top">
 
147
                        <p>Il vantaggio nell'uso di Berkeley DB per i dati utenti consiste nella bassa manutenzione necessaria una volta configurato. Per avere un maggiore controllo sugli account utente e le credenziali di autenticazione, è consigliato usare un altro metodo di autenticazione.</p>
 
148
                      </td>
 
149
                    </tr>
 
150
                  </table>
 
151
                </div>
 
152
              </div>
 
153
              <div class="sect2" title="Riferimenti">
 
154
                <div class="titlepage">
 
155
                  <div>
 
156
                    <div>
 
157
                      <h3 class="title"><a id="jabberd2-references"></a>Riferimenti</h3>
 
158
                    </div>
 
159
                  </div>
 
160
                </div>
 
161
                <div class="itemizedlist">
 
162
                  <ul class="itemizedlist" type="disc">
 
163
                    <li class="listitem">
 
164
                      <p>Il <a class="ulink" href="http://codex.xiaoka.com/wiki/jabberd2:start" target="_top">sito web di Jabberd2</a> contiene molte informazioni sulla configurazione di <span class="application"><strong>Jabberd2</strong></span>.</p>
 
165
                    </li>
 
166
                    <li class="listitem">
 
167
                      <p>
 
168
        For more authentication options see the <a class="ulink" href="http://www.jabberdoc.org/" target="_top">Jabberd2 Install Guide</a>.
 
169
        </p>
 
170
                    </li>
 
171
                    <li class="listitem">
 
172
                      <p>Ulteriori informazioni sono disponibili nella <a class="ulink" href="https://help.ubuntu.com/community/SettingUpJabberServer" target="_top">documentazione online</a>.</p>
 
173
                    </li>
 
174
                  </ul>
 
175
                </div>
 
176
              </div>
 
177
            </div>
 
178
            <div xmlns="http://www.w3.org/1999/xhtml" class="navfooter">
 
179
              <hr />
 
180
              <table width="100%" summary="Navigation footer">
 
181
                <tr>
 
182
                  <td width="40%" align="left"><a accesskey="p" href="irc-server.html"><img src="../../libs/navig/prev.png" alt="Indietro" /></a> </td>
 
183
                  <td width="20%" align="center">
 
184
                    <a accesskey="u" href="chat-servers.html">
 
185
                      <img src="../../libs/navig/up.png" alt="Risali" />
 
186
                    </a>
 
187
                  </td>
 
188
                  <td width="40%" align="right"> <a accesskey="n" href="version-control-system.html"><img src="../../libs/navig/next.png" alt="Avanti" /></a></td>
 
189
                </tr>
 
190
                <tr>
 
191
                  <td width="40%" align="left" valign="top">Server IRC </td>
 
192
                  <td width="20%" align="center">
 
193
                    <a accesskey="h" href="index.html">
 
194
                      <img src="../../libs/navig/home.png" alt="Partenza" />
 
195
                    </a>
 
196
                  </td>
 
197
                  <td width="40%" align="right" valign="top"> Capitolo 16. Sistemi per il controllo della versione</td>
 
198
                </tr>
 
199
              </table>
 
200
            </div>
 
201
          </div>
 
202
        </div>
 
203
        <div id="page-border-bottom-repeat">
 
204
          <div id="footer">
 
205
            <div id="copyright">
 
206
                                                Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
 
207
                                        </div>
 
208
          </div>
 
209
        </div>
 
210
        <div id="page-border-right-top"></div>
 
211
        <div id="page-border-right-bottom"></div>
 
212
      </div>
 
213
      <div id="page-border-left-top"></div>
 
214
      <div id="page-border-left-bottom"></div>
 
215
    </div>
 
216
    <p></p>
 
217
  </body>
 
218
</html>