XMPP Development Environment Configuration

Source: Internet
Author: User

    • Configure the software required to configure the XMPP development environment first

    

    • Install XAMPP-OSX-1.8.3-5-INSTALLER.DMG First

After the installation is successful, there will be an extra xampp (other) in the launchpad, open the manager-osx inside.

    

After opening the point manager Servers, let three services are started, if you encounter the MySQL service can not boot, but try to restart the Mac

    

    • Re-install OPENFIRE_3_9_3.DMG

After the installation is complete, the system settings will be more OpenFire

  

OpenFire Start-up service with point-to-open system settings

  

If you cannot turn on OpenFire, then you need to install JAVAFOROSX.DMG, after the installation is complete and then open the OpenFire service Oh, you can enter the 127.0.0.1:9090 configuration, in order to avoid errors suggest using Safari browser, do not use other browsers.

After deployment, we use the browser to open 127.0.0.1:9090 Select Chinese Service to enter the server Settings page domain name is the management console port, the domain name is divided into two kinds, one is local access, We set it to 127.0.0.1. If you want to use for extranet access, then we need to write an extranet, then we click on the database Settings page to go to the standard database connection and go to the standard Connection page we need to create a database first. This database needs us to go through XMPP to create we open XMPP click Go to Application Enter XMPP configuration page Click phpMyAdmin, go to this page We need to create a new database, click on the database, then click New Database and then enter a new database name then click Create then we import the database to the folder/usr/local/openfire then we have a problem, We do not have permission to open this folder we need to step back to the/usr/local folder right click on this folder, display introduction, at the bottom there is a share with the right to open, unlock, will come out three options, we have all the options are selected to read and write this time we can enter into this folder inside. Into the resources folder, after entering the database we can see that there are seven databases with the suffix SQL we copy the MySQL database file to the desktop, go back to the XMPP page, click Import, and import the mSQL file from the desktop into the folder we created. Click Execute after we import complete our database, go back to our OpenFire page to continue our database settings, we previously imported data files for MySQL type so when we choose the Database drive option, choose MySQL, We have a data URL below. There are two fields in this database URL, one is [Host-name] and [Database-name], We need to replace the first field with our own IP127.0.0.1 the second field is not very familiar, Database-name, database name we just created a database file on the XMPP page, and the one thing to note is that we have a username and password below, there are a lot of The reunion is curious. What is this user name and password? Do we need to create them ourselves? or an existing account name and password? Here is a default account named Root, if you change to a custom user name, will give us an error, you can not pass this setting, so we just use the negotiation root on the line, password do not fill Click Continue, go to the Feature Settings page select the first item to continue Go to the Admin Account page this time will let us fill out an administrator email address people do not think that this email address is your next account name, this is just an e-mail address below let us reset the password after we set up our password and then continue to enter the page to login to the console, The default user name is admin, password is the new password you just set, if not set then the default password is also admin

XMPP Development Environment Configuration

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.