Jabber is a well-known Instant Messaging Service server. It is a free and open-source software that allows users to build their own instant messaging servers and apply them on the Internet or LAN.
XMPP (Scalable Message Processing site protocol) is based on the Extensible Markup Language (XML) protocol, which is used for instant messaging (IM) and online on-site detection. It facilitates quasi-real-time operations between servers. This protocol may eventually allow Internet users to send instant messages to anyone else on the Internet, even if the operating system is different from the browser. The technology of XMPP comes from jabber, which is actually the Core Protocol of jabber. Therefore, XMPP is sometimes referred to as the jabber protocol. Jabber is an im Application Based on XMPP protocol. In addition to jabber, XMPP also supports many applications.
This article has switched to: http://www.blog-dragon.com/2007/10/jabber-xmpp-openfire-spark.html
Reprinted, please specify the Source: Expendable
The following describes how to set up an internal instant messaging service:
Step 1: Install the Jabber server software
There are many jabber service software. For details, refer to the official jabber website list:
Jabber official website address: http://www.jabber.org/
Commonly used Jabber server software: http://www.jabber.org/software/servers.shtml
Openfire (Wildfire) is the most easy to install and build. It is an open-source software based on the GPL protocol. openfire has different versions of Linux, windows, and Mac, and the software must be supported by the Java environment, however, the software itself comes with an environment package. You can download different versions as needed.
: Http://www.igniterealtime.org/downloads/index.jsp#openfire
Latest Version: openfire 3.3.2
1. How to install Windows:
Download: openfire_3_3_2.exe with Java environment version
Install: run the installation file directly. The program is installed in C:/program files/openfire by default.
Run:/bin/openfire.exe
2. Installation Method for Linux/Unix
If you use an RPM package for installation, download: openfire-3.3.2-1.i386.rpm
Run:
# Rpm-IVH openfire_3_0_0.rpm
The default installation path is/opt/openfire.
Use the source code package for installation. Download: openfire_3_0_0.tar.gz (without the Java environment, please install it on your own)
# Tar-xzvf openfire_3_0_0.tar.gz
# Mv openfire/OPT
Start method:
#/Opt/openfire/bin/openfire. Sh
Step 2: configure the Jabber server
Openfire (Wildfire) supports full web installation. If you press install locally, you only need to enter http: // localhost: 9090 in the browser (the remote server is http: // your server address: 9090) to start configuring the Instant Messaging Server.
(1) language selection: Simplified Chinese
(2) Service period settings: select the domain and port. We recommend that you use the default value.
(3) database settings: Select "Standard Database" as needed"
(4) standard database settings: select MySql, enter your database address, port, and database name in the Database URL (create your own), and enter your MySQL account and password in the username and password field, for others, you need to enter them. After you continue, the table will be created and initialized in your MySQL instance.
(5) feature settings: if you do not plan to use LDAP, retain the default
(6) Administrator account settings: Enter System Administrator Information
(7) Installation Complete
So far, openfire has been installed. You can log on to the console for more detailed settings.
Step 3: install and configure the Jabber Client
Many clients supporting jabber are recommended officially:
Platform |
Recommended Client |
Windows |
Exodus, Pandion, PSI, spark |
Linux |
Gajim, gossip, kopete, Pidgin, PSI, spark, tkabber |
Macintosh |
Adium, iChat, PSI, spark |
For more information, see: http://www.jabber.org/software/clients.shtml
We recommend that you use spark because spark and openfire support each other well. Software: http://www.igniterealtime.org/downloads/index.jsp#spark
The latest version is 2.5.4 (released on December 4, June 22)
(1) download the for Windows version, which is relatively simple to install.
(2) Select advanced options: Enter the server address and port 5222.
(3) register a new account: Fill in the server following the previous instructions
(4) After successful registration, log on.
(5) login interface
Now you can communicate with a user with a jabber account in the LAN.
Note: spark official Chinese version is not available, about spark Chinese, please refer to squirrel's blog, address: http://blog.csdn.net/squirrelme
Spark Chinese package for client spark Based on Jabber/XMPP Instant Messaging Server openfire
Step 4: connect jabber to IM communication such as MSN and ICQ
Jabber's most advantageous communication protocol is its ability to connect with a variety of instant messaging services. For example, a third-party plug-in allows jabber users to communicate with IM users such as MSN, Yahoo Messager, and ICQ. Because Google complies with the jabber protocol, and Google has opened Gtalk servers to other Jabber servers. Therefore, client software such as PSI and Giam support Gtalk user login.
This function can also be implemented using the combination of openfire + spark. The following details
Continue to the full version: http://www.blog-dragon.com/2007/10/jabber-xmpp-openfire-spark.html
Reprinted, please specify the Source: Expendable
The above is all content. Good luck.