Tuesday, December 31, 2013

openfire and jabberd2 and – setup log

with above openfire and jwchat support bosh – setup log

1.setup spack

downlaod spark_2_6_3_online.exe from http://www.igniterealtime.org/downloads/index.jsp

setup it

2.register and login for openfire

image

click "Account",

image

input user and password,then click "Create account"

image

account is created ok!

image

input your created user and password,then click "login".

image

login ok!

3.replace openfire with jabbed2

3.1 file list:

in jabberd2 files like bellow:

image

3.2 setup profile

i used my sql for my default db.

so i changed:

c2s.xml c2s–> authreg->module: <module>sqlite</module> => <module>mysql</module>

for support bosh, uncomment: <ssl-port>5223</ssl-port>

sm.xml –> sm->storage –> driver: <driver>sqlite</driver> –> <driver>mysql</driver>

import mysql db to mysql: jabberd2\tools\db-setup.mysql

create mysql account "jabberd2" password "secret" for db "jabberd2"

3.3 run

in jabberd2\win32\bin\debug

sure mysql is running,and first run route.exe then run sm.exe and c2s.exe.

 

image

4. thanks.

No comments: