Install SparkWeb web chat on Openfire Server


Please make sure your openfire messaging server is up and running. Run the below command to check the status of openfire.

[root@server.local ~]#/etc/init.d/openfire status
openfire is running

Download and Configure Sparkweb

[root@server.local ~]#cd /var/www/html
[root@server.local ~]#mkdir -p webchat && cd webchat
[root@server.local ~]#wget http://www.igniterealtime.org/downloadServlet?filename=sparkweb/sparkweb_0_9_0.zip
[root@server.local ~]#unzip -j sparkweb_0_9_0.zip
[root@server.local ~]#rm sparkweb_0_9_0.zip

Rename SparkWeb.html to index.html and edit the configuration

[root@server.local ~]#mv SparkWeb.html index.html
[root@server.local ~]#vi index.html

Change only one line: Line 32

From:”igniterealtime.org

server: "igniterealtime.org",
connectionType: "socket",
port: "5222",
autoLogin: "false"

To: “server.local

server: "server.local",
connectionType: "socket",
port: "5222",
autoLogin: "false"

Save the file and exit

Open the web browser, type http://server.local/webchat, enter your openfire username and password.

Done!

Leave a comment

Leave a comment