XMPP-IOS instant messaging development environment, xmpp-ios instant messaging

Source: Internet
Author: User

XMPP-IOS instant messaging development environment, xmpp-ios instant messaging
1. Install MySQL

Sudo vi ~ /. Bash_profile

Enter I to enter the editing mode, and enter:

# mysqlalias mysql='/usr/local/mysql/bin/mysql'alias mysqladmin='/usr/local/mysql/bin/mysqladmin'# lsalias ls='ls -G'

Press ESC to exit the editing mode. Enter:

 :wq

Save the modification content and exit and restart the terminal program.

3. Modify the MySQL administrator password
mysqladmin -u root password "123456"
Ii. Install MySQL management tools -- Mysql-workbench

1. Establish a database connection

1.1 create a new connection

Defaults write com. apple. finder AppleShowAllFiles Yes & killall Finder2. Servers

Server address: http://xmpp.org/xmpp-software/servers/

3. Select Openfire to download and install: http://www.igniterealtime.org/projects/openfire/index.jsp

3. 1. Install Openfire

Installation path:/usr/local/openfire/

User access permission for the folder where the installation is located

Save the database script in the/usr/local/openfire/resources/database folder.

3. 2. Modify/usr/local/openfire/directory permissions

Set language-> Set the server (pay attention to the domain name)-> Select the database connection method (standard database connection)-> Set database (for example)-> Set the administrator password (do not skip)-> Configuration complete and login

4. view the Openfire server port

5. Create user

6. Client Setup test Openfire Server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.