First, install the OpenFire
1. To the official site download OpenFire, website address: Http://www.igniterealtime.org/downloads/index.jsp#openfire
There is a version that contains the JRE and a version that does not contain a JRE, it is recommended to download a version that does not contain a JRE, because if the JDK is installed on the machine, then the version containing the JRE will appear, after startup, click Lanuch Admin cannot open the page.
2. After the download is complete, unzip the file, hit the bin directory, Openfire.exe, double-click to start.
3. After the successful launch, click Lanuch Admin, will open the browser into the background configuration program
Select Chinese, and then continue.
4.
Field values are important because when you install the Spark client, when you log in, the server is populated with the same value as the domain here.
Here is the server.openfire.com, this point to the IP address, can be configured in the C:\Windows\System32\drivers\etc\hosts inside, add a sentence behind the file 172.18.4.205 Server.openfire.com can
5. Click Continue, and then:
Select the embedded database, then continue, after a few steps, follow the initial settings, click Continue, until the administrator account this step
.
7. Email address, using the default, do not recommend changes, and then enter the password.
8. Click Continue, that is, after the configuration is completed, the following interface is successful:
To this step, OpenFire installed, you can use the Admin account login to the backstage.
Ii. installation of Spark
1. After you download spark, click Install, click the icon to run after installation is complete.
Here the configuration of the server is OpenFire installed server name, that is, OpenFire installation 4th step to fill in the value of the domain
2. Click Advanced, pop up the following interface to configure the corresponding
Follow the information on the picture and click OK to do so. Then enter the user name, password, you can log in.
3. Assuming that the above is done on Computer A, then a can run the spark client, and to run the spark client on B, and then use the Spark client on a A, a, two machine to communicate, just do the following on B:
3.1 in the B computer C:\Windows\System32\drivers\etc\hosts inside configuration, add a sentence behind the file 172.18.4.205 server.openfire.com
3.2 Then install Spark on B, and the configuration of Spark is the same as the configuration of a. Then sign in to Spark, which runs spark on a, B, two computers, and the servers they connect to are openfire on a.
Installation and configuration of OpenFire + Spark