XMPP Configuration Database Server

Source: Internet
Author: User
Tags documentation administrator password

I. Understanding XMPP

Protocol (Standard)

XMPP Instant Messaging Protocol

SGIP SMS Gateway protocol This phone texting

Mobile payment and Web payment

0x23232[0,1] 0x23232 0x23232 0x23232

Only protocol, there must be protocol documentation

Second, the Environment configuration

1. Install MySQL

2. Modify the password for the MySQL account

"SQLite (mobile platform), is no password directly connected to the database

MySQL SQL Server (server-side database) has an account and password

MySQL is installed by default, his account is the root password is empty

"Log in to MySQL with a command"

MySQL to log in

Mysql-u root-p

Querying the database in MySQL

show databases;

Mysqladmin managing Accounts

"Mysqladmin Change root password 123456"

3. Installing the OpenFire Service

The Opnfire server is written in the Java language, which means that your computer has a Java operating environment

"How to see if the computer has a running environment for Java installation

Using Java-version at the terminal

If there is information displayed, represents the installation.

If not, what should I do? Install Java Runtime installation files in "Server/jdk-7u45-macosx-x64.dmg"

4. Configure OpenFire

"To configure the database (create a openfire database in MySQL dedicated to the OpenFire server)

"Import openfire database table script file

"Configure the OpenFire administrator password

5. Use the client to log on to the OpenFire server

"Information" account name of the system = Username + @ + server name: teacher.local

[Email protected]

"When you log in, you can configure the domain name

Modify/ect/hosts;

Hit terminal, use command "sudo vi/etc/hosts"

6. Learn the Xmmpframework framework of the directory structure

How do you learn when you learn a third-party framework?

A> Demo Sample Program

B> Documentation

C> readMe

III. Learning Asynchronous Socket frame Gcdasyncsokcet

1. Write a chat room yesterday and use Gcdasyncsokcet to implement the chat room

Iv. import of the Xmppframework framework

V. XMPP User Login

Vi. Project (Ipad/iphone version) iOS7

1. Create a project with Git version control

2. Import the Xmppframwork framework

3. Import AppIcon boot image

4. Simply do a login screen (Iphone/ipad adapter)

5. Implement Login

6. Registration

7. Implement the main interface

8. Get personal information (avatar, phone, email ...)

9. Get Friends List Add add friends delete OK

10. Send a chat message

11. Implement File Transfer

XMPP Configuration Database Server

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.