Difference between revisions of "Jabberd2"

From ArchWiki
Jump to: navigation, search
m (Configuration)
(change category to XMPP)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Internet Applications]]
+
[[Category:XMPP]]
jabberd2 is an [[XMPP]] server, written in the C language and licensed as Free software under the GNU General Public License. It was inspired by jabberd14.
+
[[ja:Jabberd2]]
 +
[http://jabberd2.org/ jabberd2] is an [[Wikipedia:XMPP|XMPP]] server, written in the C language and licensed
 +
as free software under the GNU General Public License. It was inspired by jabberd14.
  
 
== Installation ==
 
== Installation ==
[[pacman|Install]] the {{AUR|jabberd2}} package from the [[AUR]],
+
 
 +
[[Install]] the {{AUR|jabberd2}} package.
 +
 
 
== Configuration ==
 
== Configuration ==
Edit {{ic|/etc/jabberd/c2s.xml}} and look for the line starting with {{ic|1=<id register-enable='mu'>}} and edit to have your domain.
 
  
Example:
+
Edit {{ic|/etc/jabberd/c2s.xml}} and change the content of the tag {{ic|1=<id register-enable='mu'>}} to your domain.
{{hc|/etc/jabberd/c2s.xml|<nowiki>
 
<id register-enable='mu'>mymachine.com</id>
 
</nowiki>}}
 
  
That is the line that will be added to your users id. (If you put there {{ic|mymachine.com}}, your users id will be something like {{ic|user@mymachine.com}})
+
That is the line that will be added to your users id. (If you put there {{ic|example.com}}, your users id will be something like {{ic|user@example.com}}).
If the jabber service is going to be accesible over open internet (instead of a vpn or lan), then that name '''SHOULD''' be resolved by DNS to your server.
+
If the jabber service is going to be accessible over open internet (instead of a VPN or LAN), then that name '''SHOULD''' be resolved by DNS to your server.
  
 
The {{ic|1=register-enable='mu'}} part, allows the registration of accounts, using a standard jabber client.
 
The {{ic|1=register-enable='mu'}} part, allows the registration of accounts, using a standard jabber client.
Line 21: Line 21:
 
<id>mymachine.com</id>
 
<id>mymachine.com</id>
 
}}
 
}}
 +
 
=== Daemon ===
 
=== Daemon ===
 +
 
Configure the {{ic|jabberd.service}} to start on boot.  
 
Configure the {{ic|jabberd.service}} to start on boot.  
  
Line 27: Line 29:
  
 
== See also ==
 
== See also ==
 +
 
* [http://jabberd2.org/ Jabberd2 homepage]
 
* [http://jabberd2.org/ Jabberd2 homepage]

Latest revision as of 09:59, 6 August 2017

jabberd2 is an XMPP server, written in the C language and licensed as free software under the GNU General Public License. It was inspired by jabberd14.

Installation

Install the jabberd2AUR package.

Configuration

Edit /etc/jabberd/c2s.xml and change the content of the tag <id register-enable='mu'> to your domain.

That is the line that will be added to your users id. (If you put there example.com, your users id will be something like user@example.com). If the jabber service is going to be accessible over open internet (instead of a VPN or LAN), then that name SHOULD be resolved by DNS to your server.

The register-enable='mu' part, allows the registration of accounts, using a standard jabber client.

Also set your server on sm.xml:

/etc/jabberd/sm.xml
<id>mymachine.com</id>

Daemon

Configure the jabberd.service to start on boot.

Read Daemons for more information.

See also