Openfire is an instant messaging server, also known as the instant messaging platform. It is based on the XMPP protocol and is familiar with communication software QQ, MSN and Gtalk. Gtalk is based on the implementation of XMPP protocol.
In instant messaging, you often do not need to use point-to-point communication because you need to save some status or data. Instead, you need to build a server for forwarding.
: Http://www.igniterealtime.org/downloads/index.jsp
After the download is complete, install and configure as prompted, and then access port 9090 on the configured server address to access the openfire background management system officially implemented for us.
After the download is complete, if you download the EXE file, execute your installation file and install it. Here I am a zip file. After decompression, copy the openfire directory to the C: \ Program Files \ directory, which must be in the c: \ Program Files \ directory. Then the openfire installation is complete.
3. Start the openfire server and configure it. Open the openfire.exe file in the c: \ Program Files \ openfire \ bindirectory. Double-click the file and run it.
4. Click the launch admin button to go To the http: // 127.0.0.1: 9090/Setup/index. jsp page and configure the openfire server.
5. Select the Simplified Chinese Language
Click continue to enter
6. Configure the server Domain Name
For local access, you do not need to modify or use localhost or 127.0.0.1.
If you use it for Internet or LAN access, configure your address as an Internet or LAN address.
I set it to LAN IP address 10.0.0.77
7. Select a database
Choose the built-in openfire. Of course, you can also choose your database type. Such as Oracle, SQL Server, and MySQL. If openfire does not have a JDBC connection driver, you need to add a JDBC driver to connect to the database. The driver is stored in the c: \ Program Files \ openfire \ lib directory.
8. Select the feature configuration. The default value is enough.
9. Administrator email. skip this step.
10. Installation Complete
Go to the Administrator console page
11. Go to the http: // 127.0.0.1: 9090/login. jsp page and enter the admin and password to log in.
12. You can see
The server name is the connection address of WeChat chat. You can use the spark or WeChat Chat link for IM communication and chat ......
So far, openfire installation and configuration have been completed.
Openfire + spark + smack Instant Messaging (1) --- openfire installation and configuration