Openfire + spark web installation configuration (configure your own chat tool)

Source: Internet
Author: User

 

I. installation environmentOperating System: Windows XP prefes1_sp2 server software: openfire 3.4.2 openfire enterprise 3.4.2 client software: spark 2.5.7 spark fastpath webchat 3.4.1jdk: j2se 5.0 (1.5.0 _ 03) 2. Install the Jabber server software 1. Software DownloadJabber official website address: parse (Wildfire) is a server, an open-source software based on the GPL Protocol, supporting a variety of operating systems, the software requires Java environment support, but the software itself comes with the environment package, you can download different versions as needed. : Bytes? Filename = openfire/openfire_3_4_2.zip Latest Version: openfire 3.4.2 2. Windows InstallationDecompress openfire_3_2_2.zip to D :/. Note that the full path of openfire cannot contain Chinese characters. The host name is also the standard name. Run the installation file D:/openfire/bin/openfire.exe. 3. openfire Server ConfigurationEnter http: // localhost: 9090/in the address bar of the browser to start the Instant Messaging Server configuration. (1) language selection: Simplified Chinese (2) server settings: select the domain and port. (3) database settings: Select "Standard Database" (4) standard database settings: place the Oracle driver in the lib directory of openfire. Select oracle in the database driver option bar. Enter your database address, port, database name, user name, and password (created before installation), maximum number of connections, minimum number of connections, and connection timeout. Openfire will create a table and initialize it in the specified Oracle database. If a connection to the database cocould not be made appears. view the error message by opening the "/logs/error. log "log file, then go back to fix the error message such as problem. Check whether your Oracle listener has any problems and whether your users have sufficient permissions, I cannot delete the listener and service name and reconfigure it. (5) feature settings: the default setting is the initial setting (should be the initial setting, translated incorrectly) (6) Administrator account settings: Enter the system administrator information (7) installation completed (8) openfire Console: Now, openfire has been installed. You can log on to the console for more detailed settings. (9) Add a new account: Open the user/group tab of the management console, and you can see the summary of existing users on the current server. Select new user from the left-side Navigation Pane, enter the user name and logon password, and click Create user to add a new user. You can log on with the user test on the client.

3. install and configure the Jabber Client 1. Software DownloadFor the client software list, refer to: vendor. Software: Software? Filename = spark/spark_2_5_8.exe Latest Version: spark 2.5.8 2. Windows Installation(1) download the example for Windows and run spark_2_5_8.exe. Click Next to install spark_2_5_8.exe. The default installation path is C:/program files/spark (2). Select the advanced options on the logon interface: enter the server address. The default port is 5222. Click "OK. (3) log on with the test user we added on the openfire console. (4) login interface (5) register a new account: Click an account on the spark login interface, enter relevant information in the new account creation interface, and click Create account. (4) After successful registration, you can log on with test2. 4. the most advantageous communication protocol between jabber and IM communication such as MSN and ICQ is its communication protocol, which can be connected with other instant messaging software that provides XMPP protocol. For example, MSN, Yahoo Messager, ICQ, and Gtalk. 1. Download The openfire gateway plug-in IM Gateway: Bytes 2. Install GatewayGateway installation is very simple. You only need to copy gateway. jar to the openfire/Plugins directory and restart the openfire service. 3. Configure GatwayAfter the installation is successful, open the openfire Console (for example, http: // localhost: 9090/), and you can see the gateway Installation option (no Chinese version currently) at the bottom of the left-side menu bar ), click Settings and then tick the service you want to activate. 4. Spark client ConfigurationUse spark to log on to openfire again. Some options are added in the spark menu bar. Click the MSN icon and select enter logon information. Enter your MSN account and password to log on to MSN. V. Spark webchat InstallationSpark webchat is a Web-based spark that requires support from openfire Enterprise Edition. 1. Software DownloadOpenfire enterprise installation: http://www.jivesoftware.com/evaluation! Input. JSpA? Type = of needs to add some basic information, click "Submit and download", this page can be downloaded to the trial version, 30 days 25 user authorization, 5 user authorization after expiration, or copy the license number. Enterprise plug-in and spark fastpath webchat plug-in: http://www.igniterealtime.org/projects/openfire/plugins.jsp 2. Windows InstallationTwo Enterprise Edition installation methods: l run openfireenterprise Installation directly, openfire_enterprise_3_4_2.exe, and perform related configuration. L install openfire based on the previously installed openfire: copy Enterprise. jar to D:/openfire/plugins/and restart openfire. Go to the enterprise tab of the management console and copy the license number here. 3. Use sparkweb(1) Click sparkweb on the left-side menu bar to display the logon interface. (2) spark web Main Interface (3) Add a contact (4) send information (5) receive information spark web cannot save chat records or pass files, of course, audio and video are not supported.

 

 

References:

1. http://sun-snowfox.blog.sohu.com/74538502.html
2. http://sun-snowfox.blog.sohu.com/74541019.html
Http://sun-snowfox.blog.sohu.com/74542147.html
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.