First, the configuration of the OpenFire server
We have not finished the project about the chat app that we have been doing before, this time we will introduce the configuration of the OpenFire server.
1.Openfire Downloads
openfire:http://www.igniterealtime.org/
There is a Openfire3.9.3 on the right side of the screen, this is the latest version available.
2. Installation
One is an EXE file, one is zip, i downloaded exe, download good after the installation can be completed, after the installation, the following window will pop up.
3. Configure 3.1 Click Launch Admin to enter the configuration server interface
In the language we choose Simplified Chinese, click on the lower right corner of the continue
3.2 Server Configuration
If it is local access, we do not need to change, the default is yes. If it is a LAN or an external network, we can configure it as the appropriate address.
3.3 Database Settings
Select the database, we can choose the external database, you can choose OpenFire own.
In the next few steps we can choose the default
Administrator This step we can choose to skip.
4. Login
The interface appears as shown when finished
We enter the user name here Admin Password Admin can log in. The presence of such an interface proves that our server has been successfully configured.
After this is done, let's introduce the spark client configuration.
second, spark client configuration1. Download and install
We will use spark, because spark and openfire can support each other well. Software: Http://www.igniterealtime.org/downloads/index.jsp#spark
After we download it, follow the prompts to install the steps one after another, after installation, the following interface appears
2. Click Advanced Options
Click on the Advanced option and the following screen appears
3. Fill in the server address
If we have a server, fill in your server address, the port default is 5222, click OK, if you are the server, we choose to automatically detect the host and port is good.
4. Add User Login
Use our Add user login in the OpenFire admin console.
Then we use the registered user name to log on to the right.
5. Post-Login interface
This way our PC-side client and server are fully configured to chat with the previously configured Android side.
I am also groping to come, so there are any problems and hope to communicate with you.
Configuration of the OpenFire server