First download the Openfire+spark website
: http://www.igniterealtime.org/downloads/index.jsp
Select the Mac version to download the DMG file.
Double-click Run DMG file, after installation is complete, go to finder-> System Preferences->openfire-> Open,
The default is open, and then click to go to the Administration page, first enter the need to configure:
To configure the server:
Select Chinese
When configuring a domain, use native 127.0.0.1, if you use localhost, I cannot create a server here with spark, but ping localhost is the same as 127.0.0.1.
That's why we're using 127.0.0.1.
The standard database is not used here, and it can be used with its own.
Then next, enter the message, and the message is entered by you,
Then the password and the new password, which is the password to enter the administrator interface,
The appearance of this interface is a success.
Click Login to the admin console, enter the admin account and the password you just set.
If you can't sign in with admin and password you just entered
There is a good chance that there is no access, then
From the Finder:/usr/local, find the OpenFire folder, if there is a red-sign, indicating no access,
In the introduction, modify the permissions, you can
If you want to modify the server,
After logging into the admin console, there is an edit property in the lower left corner of the home page, you can modify the server, you need to restart OpenFire
Then install Spark,
Double-click on the installation, and then you need to register an account:
Click Account, go to register a number, server input 127.0.0.1,
After the successful creation, you can log in, and then to the OpenFire background user group to see, one more account.
Well, the tutorial is finished, the reason to write this tutorial, is because it also toss a lot of my time,
Installation is simple, but login always can not succeed, Baidu N long did not find a way, finally found the reason.
IOS XMPP Discovery Research: Openfire+spark Environment Building