Openfire + PostgreSQL + LDAP (ApacheDS) Configuration
Pre-installed software
Install PostgreSQL and set the Administrator account (PostgreSQL) password to admin. The default port is 5432.
Install ApacheDS, start, create a new server, and start the server. The default port of the server is 10389. There is an admin under ou = system, and the password is secret.
Install Openfire.
Openfire Database Configuration
Start the openfire console, go to the database configuration page, and select postgres as the database provider.
Use pgAdmin to create database openfire in postgres.
Connection string input: jdbc: postgresql: // localhost: 5432/openfire
Admin: S
Password: admin
Test the connection. If the connection is successful, a green box will pop up, showing success. If the connection fails, a green box will pop up, displaying FAILED. if no dialog box is displayed, try to use a clean Virtual Machine to build it from scratch (I have encountered no prompts (chrome is used). The reason is unknown, changing the browser for testing or using a clean virtual machine does not have the same problem ).
Configure LDAP in Openfire
You can select openldap for ldap provider or others.
Host: localhost
Port: 10389
Base DN: ou = system
Administrator DN: uid = admin, ou = system
Password: secret
Click test. If the connection is connected, a prompt is displayed, indicating that the connection is successful. If the connection fails, an error message is displayed. If there is no prompt, try another browser or use a clean Virtual Machine to build it from scratch.
Click next To Go To The vCard card ing page. Click next To Go To The group ING ing page. Change the value of member field to uid and click test. If the number of groups in the displayed dialog box is empty, the problem occurs, because you have an admin account, it should exist in the administrator group. If there is a record not 0 in the pop-up, you should be able to celebrate.
Detailed installation process of Openfire in CentOS
Openfire server configuration notes based on Jabber/XMPP protocol in CentOS 5.4
Install Openfire on Ubuntu 12.04
Openfire solves Chinese garbled characters After MySQL database is used
Load Balancing for Openfire clusters using Nginx
Openfire details: click here
Openfire: click here
This article permanently updates the link address: