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
click "Account",
input user and password,then click "Create account"
account is created ok!
input your created user and password,then click "login".
login ok!
3.replace openfire with jabbed2
3.1 file list:
in jabberd2 files like bellow:
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.
4. thanks.
No comments:
Post a Comment