1. Experimental environment
Server:windows server2008 R2
Client:win 7
2. Preparing the Software
Server-Side Openfire_4_0_4
Client Side Spark_2_7_7
OpenFire Official website: http://www.igniterealtime.org/
3. Server-side installation OpenFire
1. Double-click Install OpenFire, Next
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/8B/C9/wKiom1hYxSrhKomuAAB4RA3J_Vs337.png-wh_500x0-wm_3 -wmp_4-s_529245000.png "title=" A.png "alt=" Wkiom1hyxsrhkomuaab4ra3j_vs337.png-wh_50 "/>
2. Tick I accept the agreement, next
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/C6/wKioL1hYxT7AYYU9AABM6WZc_-8084.png-wh_500x0-wm_3 -wmp_4-s_3301474577.png "title=" B.png "alt=" Wkiol1hyxt7ayyu9aabm6wzc_-8084.png-wh_50 "/>
3. Select the installation directory, by default, next
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8B/C6/wKioL1hYxVOj44-RAAA-6BhQVTc415.png-wh_500x0-wm_3 -wmp_4-s_2852316858.png "title=" C.png "alt=" Wkiol1hyxvoj44-raaa-6bhqvtc415.png-wh_50 "/>
4. Create a shortcut by default, Next, start the installation
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8B/C9/wKiom1hYxWeDUPjuAAAznoJzmUM129.png-wh_500x0-wm_3 -wmp_4-s_2884666931.png "title=" D.png "alt=" Wkiom1hyxwedupjuaaaznojzmum129.png-wh_50 "/>
5. installation complete, run OpenFire
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8B/C9/wKiom1hYxXyC2kd-AAB3xAflkgE530.png-wh_500x0-wm_3 -wmp_4-s_1394811375.png "title=" E.png "alt=" Wkiom1hyxxyc2kd-aab3xaflkge530.png-wh_50 "/>
6. The service starts, minimizing this window. (Never quit)
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8B/C6/wKioL1hYxY3zsoGWAABgBhPXFxM177.png-wh_500x0-wm_3 -wmp_4-s_2236497716.png "title=" F.png "alt=" Wkiol1hyxy3zsogwaabgbhpxfxm177.png-wh_50 "/>
7. Login http://localhost:9090/with browser, configure OpenFire, language Settings Simplified Chinese (custom), continue
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8B/C6/wKioL1hYxaHDbFbIAAD_pYQGuXU066.png-wh_500x0-wm_3 -wmp_4-s_3759173668.png "title=" G.png "alt=" Wkiol1hyxahdbfbiaad_pyqguxu066.png-wh_50 "/>
8. server settings, default, continue
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8B/C6/wKioL1hYxbSRVP2TAABilRtYNn8783.png-wh_500x0-wm_3 -wmp_4-s_2662379666.png "title=" H.png "alt=" Wkiol1hyxbsrvp2taabilrtynn8783.png-wh_50 "/>
9. Database Settings, this article select the embedded database, continue
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8B/C9/wKiom1hYxcmjLvphAAB5XF5p2UY993.png-wh_500x0-wm_3 -wmp_4-s_1884121870.png "title=" I.png "alt=" Wkiom1hyxcmjlvphaab5xf5p2uy993.png-wh_50 "/>
properties Settings, default, continue
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8B/C9/wKiom1hYxeXymgXbAAD0KMU9zNg669.png-wh_500x0-wm_3 -wmp_4-s_4156518732.png "title=" J.png "alt=" Wkiom1hyxexymgxbaad0kmu9zng669.png-wh_50 "/>
One. Administrator account Settings, Administrator email and password customization, continue
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8B/C9/wKiom1hYxgHyKGhKAADv49x4doA991.png-wh_500x0-wm_3 -wmp_4-s_2484346514.png "title=" K.png "alt=" Wkiom1hyxghykghkaadv49x4doa991.png-wh_50 "/>
Configuration Complete
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8B/C9/wKiom1hYxh6zPbRoAABVSHOo8JM802.png-wh_500x0-wm_3 -wmp_4-s_165539328.png "title=" L.png "alt=" Wkiom1hyxh6zpbroaabvshoo8jm802.png-wh_50 "/>
Login to admin console, username admin, password for password set above
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/C9/wKiom1hYxjzx8I6UAACpA_XfHc8010.png-wh_500x0-wm_3 -wmp_4-s_4271470392.png "title=" M.png "alt=" Wkiom1hyxjzx8i6uaacpa_xfhc8010.png-wh_50 "/>
New Several test users, user name password customization
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8B/C6/wKioL1hYxleSds_pAAB2KRQN3XE578.png-wh_500x0-wm_3 -wmp_4-s_23737983.png "title=" N.png "alt=" Wkiol1hyxlesds_paab2krqn3xe578.png-wh_50 "/>
4. Client Installation Spark
1.1. Install, double-click Spark, all default next.
1.2. Client Login
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/C6/wKioL1hYxneBxJQAAAEyg6wUsMM099.png-wh_500x0-wm_3 -wmp_4-s_2018304954.png "title=" O.png "alt=" wkiol1hyxnebxjqaaaeyg6wusmm099.png-wh_50 "style=" width:228px;height : 400px; "width=" 228 "vspace=" 0 "hspace=" 0 "height=" all "border=" 0 "/>
1.3. Log in two test accounts, each to send messages, you can receive, then build complete!!!
This article from "Rookie of the World" blog, please be sure to keep this source http://guoxh.blog.51cto.com/10976315/1884243
Windows Server R2 Build OpenFire