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; */
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" />
23
<link href="http://help.ubuntu-it.org/favicon.ico" rel="shortcut icon" />
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"));
31
<script type="text/javascript">
33
var pageTracker = _gat._getTracker("UA-8147493-2");
34
pageTracker._trackPageview();
35
} catch(err) {}</script>
36
<div id="page-border-top-repeat">
38
<div id="header-navigation">
41
<a href="http://www.ubuntu-it.org">Web</a>
44
<a href="http://wiki.ubuntu-it.org">Documentazione</a>
47
<a href="http://forum.ubuntu-it.org">Forum</a>
50
<a href="http://planet.ubuntu-it.org">Planet</a>
54
<form action="http://help.ubuntu-it.org/10.10/ubuntu/search.php" id="cse-search-box">
56
<input type="text" name="s" size="28" title="search" />
57
<input type="submit" value="Cerca" title="search" />
64
<div class="pagelocation"><a href="http://help.ubuntu-it.org/">Documentazione di Ubuntu</a> > <a href="http://help.ubuntu-it.org/ubuntu1010.html">Ubuntu 10.10</a> > <span class="breadcrumb-link"><a href="index.html">Guida a Ubuntu Server</a></span> > <span class="breadcrumb-link"><a href="chat-servers.html">Applicazioni per conversazioni</a></span> > <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">
69
<h2 class="title" style="clear: both"><a id="jabberd2-server"></a>Server di messaggistica istantanea Jabber</h2>
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">
78
<h3 class="title"><a id="jabberd2-installation"></a>Installazione</h3>
82
<p>Per installare <span class="application"><strong>jabberd2</strong></span>, in un terminale digitare:</p>
84
<span class="command"><strong>sudo apt-get install jabberd2</strong></span>
87
<div class="sect2" title="Configurazione">
88
<div class="titlepage">
91
<h3 class="title"><a id="jabberd2-configuration"></a>Configurazione</h3>
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.
101
<p>Aprire il file <code class="filename">/etc/jabberd2/sm.xml</code> e alla riga:</p>
102
<pre class="programlisting">
103
<id>jabber.example.com</id>
105
<div class="note" title="Nota" style="margin-left: 0.5in; margin-right: 0.5in;">
106
<table border="0" summary="Note">
108
<td rowspan="2" align="center" valign="top" width="25">
109
<img alt="[Nota]" src="../../libs/admon/note.png" />
111
<th align="left"></th>
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>
120
<p>Nella sezione <storage>, modificare <driver> in:</p>
121
<pre class="programlisting">
122
<driver>db</driver>
124
<p>Modificare il file <code class="filename">/etc/jabberd2/c2s.xml</code> e nella sezione <span class="emphasis"><em><local></em></span> cambiare:</p>
125
<pre class="programlisting">
126
<id>jabber.example.com</id>
128
<p>Nella sezione <authreg> sistemare la sezione <module> in</p>
129
<pre class="programlisting">
130
<module>db</module>
132
<p>Riavviare <span class="application"><strong>jabberd2</strong></span> per abilitare le nuove impostazioni:</p>
134
<span class="command"><strong>sudo /etc/init.d/jabberd2 restart</strong></span>
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">
140
<td rowspan="2" align="center" valign="top" width="25">
141
<img alt="[Nota]" src="../../libs/admon/note.png" />
143
<th align="left"></th>
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>
153
<div class="sect2" title="Riferimenti">
154
<div class="titlepage">
157
<h3 class="title"><a id="jabberd2-references"></a>Riferimenti</h3>
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>
166
<li class="listitem">
168
For more authentication options see the <a class="ulink" href="http://www.jabberdoc.org/" target="_top">Jabberd2 Install Guide</a>.
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>
178
<div xmlns="http://www.w3.org/1999/xhtml" class="navfooter">
180
<table width="100%" summary="Navigation footer">
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" />
188
<td width="40%" align="right"> <a accesskey="n" href="version-control-system.html"><img src="../../libs/navig/next.png" alt="Avanti" /></a></td>
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" />
197
<td width="40%" align="right" valign="top"> Capitolo 16. Sistemi per il controllo della versione</td>
203
<div id="page-border-bottom-repeat">
206
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
210
<div id="page-border-right-top"></div>
211
<div id="page-border-right-bottom"></div>
213
<div id="page-border-left-top"></div>
214
<div id="page-border-left-bottom"></div>