Openfire server and Spark client configuration, openfirespark
| 1. Openfire Server Configuration |
We have not completed the previous chat app project. This time we will introduce the Openfire server configuration.
1. Openfire download
Openfire: http://www.igniterealtime.org/
There is Openfire3.9.3 on the right of the screen. This is the latest version.
2. Installation
One is the exe file, the other is the zip file, and the other is the exe file. After the file is downloaded, execute the installation. After the installation is complete, the following window will pop up.
3. Configuration
3.1 click Launch Admin to go to the configuration server page
In the language, select Simplified Chinese and click "continue" in the lower right corner.
3.2 Server Configuration
If it is a local access, we do not need to change it. By default, it is OK. If it is a LAN or an external network, we can configure it as the corresponding address.
3.3 database settings
Select a database. We can select an external database and Openfire.
You can select the default value for the next steps.
The administrator can skip this step.
4. Log in
The interface shown in is displayed.
Enter the username and password admin here to log on. This interface proves that our server has been configured successfully.
After this is done, we will introduce the configuration of the Spark client.
| Ii. Spark client Configuration |
1. 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 the download is completed, follow the prompts to install it step by step. After the installation is completed, the following page appears:
2. Click Advanced options.
Click the advanced option. The following page is displayed.
3. Enter the server address
If we have a server, enter your server address. The default port is 5222. Click "OK". If you are a server, we can choose to automatically detect the host and port.
4. Add User Logon
Use the Openfire console to add user logon.
Then we can log in with the registered user name.
5. logon Interface
In this way, the client and server on the PC end are completely configured, And you can chat with the previously configured android end.
I am exploring myself, so I hope to communicate with you if you have any questions.