Installing the Tigase XMPP Server in a Linux environment

Source: Internet
Author: User

Tigase is an XMPP server that can serve as a server for various IM (Instant messeging) tools (such as pandion, spark, etc.) that use the XMPP protocol.

The steps to install tigase in a Linux environment are as follows:

(1) Download the installation file

To https://projects.tigase.org/projects/tigase-server/files download the installation file, I downloaded the tigase-server-5.2.0-b3447-dist.tar.gz.

(2) Decompression

Create a folder, copy the tigase-server-5.2.0-b3447-dist.tar.gz to the folder, unzip it with the tar command, and get a folder named tigase-server-5.2.0-b3447.

(3) Initial setup

ETC is a more important folder, inside the tigase.conf and init.properties need us to modify and configure. Tigase.conf configuration is relatively simple, as long as the Java_home= "${java_home}" is set

Can:

The configuration of the init.properties is slightly more complicated:

Where Hzfedora is the machine name, Jdbc:mysql indicates that the connection is the MySQL database,//192.168.56.1:3306 is the MySQL database IP address and port number, user= followed by the database user name, password= followed by the database password , other things can be the same.

(4) Initializing the database

./scripts/db-create-mysql.sh database/mysql-installer-create-db.sql tigase Database user name tigase database password tigase database name MySQL root username mysql root password mysql IP address

(5) Start the server

./scripts/tigase.sh Start/stop/restart etc/tigase.conf

Indicates a successful start.

Run Pandion in Windows, set the server IP address and port number:

Register a new user and log in successfully:

Indicates that the Tigase server installation was successful!

If the Tigase server fails to run, and so on, it may be because the JDK version is too low, it is said to require more than JDK1.7 version, I installed the JDK1.8, or did not shut down the firewall.

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.