To apply XMPP functionalities to our app , we need to have a server side for handling the account management and message forwarding first.
Here are the steps to install an XMPP server (on Ubuntu Linux):
1. Download Openfire from http://www.igniterealtime.org/downloads/index.jsp
and extract :
#tar -xzvf openfire_3_0_0.tar.gz
#mv openfire /opt2. Start Installation Process
a. #bin/Openfire start
b. Insert http://localhost:9090 in your browser to start the web-based wizard
c. You will need to have a database system (ex: mysql) on your server that can be accessed by Openfire. Create a table for Openfire when or before you are in the database setup step.
d. Now you can access your own XMPP backend server through http://your-domain:9090
We will have our XMPP client in Android platform in the next post !! Have fun !
沒有留言:
張貼留言