This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 370
Installing a XMPP server
Adam edited this page Jul 31, 2017
·
3 revisions
Follow the instructions in the official Openfire installation guide.
- Go to http://yourserver:9090/ and login with username/password for your admin account.
- Enable HTTP-Bind
- Go to Server => Server Settings => HTTP Binding.
- Set settings like on the screenshot:
- Create a MUC room: (in Admin panel) Group Chat => Room Administration => Create new room
- Enable plugin Client Control and Bookmarks to support autojoin (Plugins => Available Plugins)
- Go to Server => Bookmarks and add a new bookmark for all Users with Auto-Join enabled.
- If you want to attach a database for the users, take a look at Database installation Guide
- Attention: The settings need to be done in Server => Server Properties and not, as described in the guide, in openfire.xml.
- If you're suffering from Memory leaks, set in the Server Property xmpp.pep.enabled to false (Server => Server Properties, at the bottom of the page you can add a new property.)
- If you have problems with some users get disconnected often: Try using Punjab as the HTTP-Binding service and disable the integrated HTTP-Bind from Openfire
- We use that and it works very well.
- If you installed Client Control plugin and want to restrict the clients which are allowed to connect to Candy, got to Server => Client Management => Permit Clients and set the following setting:
- Note the "Candy" below "Add Other Client"
Follow the instructions in the official Ejabberd installation guide.
- Enable mod_http_bind - Instructions
- Example configuration of HTTP-Bind:
{5280, ejabberd_http, [ http_poll, http_bind, web_admin ]}
- Alternatively, you can add to ejabberd.cfg the following line (marked with %):
{modules,
[
{mod_http_bind, []}, % <-- only this line is added
- Fully activate the multi user chat (MUC):
{mod_muc, [
{host, "conference.@HOST@"}, % <-- uncomment this line and make sure conference.myhost.com
% is available in your /etc/hosts and DNS entries
- Create a room (
[email protected]
) using a desktop client like Pidgin or with ejabberdctl. Don't forget to passautojoin: ['[email protected]']
toCandy.init()
.
First download Prosody and follow the installation instructions for your platform.
To configure BOSH support take a look at Prosody's documentation for setting up BOSH which covers configuring Prosody and setting up a proxy (e.g. Apache, lighttpd or nginx) or CORS for cross-domain support.
There are plenty of other XMPP servers out there. Refer to their manual for more information.