Install Tigase in CentOS

Source: Internet
Author: User

Step 1 ☆environment Construction

Yum install httpd mysql-server php-* yum install java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64Step 2 ☆download package

Wget https://projects.tigase.org/attachments/download/1342/tigase-server-5.2.0-b3447.jar
Step 3 ☆enable the firewall port

Iptables-I input-p tcp -- dport 80-j ACCEPTiptables-I input-p tcp -- dport 3306-j ACCEPTiptables-I INPUT-p tcp -- dport 5222-j ACCEPT
Step 3 ☆start HTTP and MySQL services, set MySQL passwords, and create databases
Chkconfig httpd on chkconfig mysqld onservice httpd startservice mysqld start/usr/bin/mysql_secure_installation
# Mysql-u root-pEnter password: Welcome to the MySQL monitor. commands end with; or \ g. your MySQL connection id is 10 Server version: 5.1.73 Source distributionmysql> create database tigase; Query OK, 1 row affected (0.00 sec) mysql> quitByeStep 4 ☆software Security
Java-jars tigase-server-5.2.0-b3447.jar-console
Welcome to the installation of Tigase XMPP (Jabber) Server 5.2.0-b3447!
-Artur Hefczyc <artur.hefczyc@tigase.org>
-Bartosz makoski <bmalkowski@tigase.pl>
-Wojciech Kapcia <wojciech.kapcia@tigase.org>
-Andrzej wó jcik <andrzejw@tigase.org>
-Wojciech Czubaszek <wojciech.czubaszek@tigase.org>
-Eric Dziewa <eric.dziewa@tigase.org>
-Jacek predki< jacek.predki@tigase.com>
-Piotr Kontek
-Alexander Gnauck
-Tomasz Sterna
-Mateusz Fioka
-David Pache
-Peter Sandstrm
-Yonas Yanfa
The homepage is at: http://www.tigase.org/
Press 1 to continue, 2 to quit, 3 to redisplay
The installed application needs a JDK. A java runtime environment (JRE) will be not sufficient.
Entry path:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64
* ** Select what you want to do next:
On this panel you can specify whether you want to install only or configure already installed server or to do both. if you are just installing a server on your machine it is a good idea to do both steps.

-------------------

The wizards you want to execute
Installation of the Tigase Server
[On, off]
On
Configuration of the Tigase Server
[On, off]
On

-------------------
If you notice any problems please report them to address: artur.hefczyc@tigase.org
Press 1 to continue, 2 to quit, 3 to redisplay
1

 

 

Tigase XMPP (Jabber) server ver 5.2.0-b3447


About

Copyright (C) 2004-2013 Tigase.org.

The Tigase Jabber/XMPP Server is Open Source and Free (AGPLv3) Java based server.

The server offers complete implementation of the XMPP protocol with a long list
Of extensions. Effcient, reliable and very extensible can be easily integrated
It with your systems.

The unique features of the Tigase server are


--- Press ENTER to continue --
You shoshould also get your employer (if you work as a programmer) or school,
If any, to sign a & quot; copyright disclaimer & quot; for the program, if necessary.
For more information on this, and how to apply and follow the gnu agpl, see
<Http://www.gnu.org/licenses/>.
1. I accept the terms of this license agreement.
2. I do not accept the terms of this license agreement.
Choose number (1-2): 1

Select target path [/tmp]
/Home/user/tigase-server
Select the packs you want to install:

1 => Base, The base files
2 => Unix Files, Files needed to run the server on Unix like systems
3 => [x] Docs, The documentation
4 => [x] Extras, Extras libraries, MUC, PubSub, STUN, Socks5, Message Archiving, ACS
5 => [x] Groovy scripting, Various Groovy scripts extending server functionality
6 => [x] Derby Database (DB encoded DED), Derby database (partitioned DED) and JDBC driver
7 => [x] MySQL Database driver (DB not supported DED), MySQL JDBC driver (MySQL has to be installed separately)
8 => [x] PostgreSQL Database driver (DB not supported DED), PostgreSQL JDBC driver (PostgreSQL has to be installed separately)
9 => [x] SQL Server Database driver (DB not supported DED), SQL Server JDBC driver (SQL Server has to be installed separately)
10 => [] OSGi dependencies, If you intend to run Tigase in OSGi mode you need additional libraries. Enabling this Pack will also setup configuration files to start Tigase XMPP server in OSGi mode.
11 => [] http api Component, Interface for the service administration, monitoring and exchange data between Tigase and external system
12 => [] Sources, The server source files, tools and libraries sources are not supported DED
R => Redisplay menu
D => DoneChoose action: d
Press 1 to continue, 2 to quit, 3 to redisplay
1
[Starting to unpack]
[Processing package: Base (0, 1/9)]
[Processing package: Unix Files (2/9)]
[Processing package: Docs (0, 3/9)]
[Processing package: Extras (4/9)]
[Processing package: Groovy scripting (5/9)]
[Processing package: Derby Database (DB encoded DED) (6/9)]
[Processing package: MySQL Database driver (DB not supported DED) (7/9)]
[Processing package: PostgreSQL Database driver (DB not supported DED) (8/9)]
[Processing package: SQL Server Database driver (DB not supported DED) (9/9)]
[Unpacking finished]
Based on your selection here more configuration options might be presented later on. After the configuration is complete init. properties file will be created.

You can optionally restart the server at the end of the process if you like.
-------------------

0 [x] Default installation
1 [] Default plus extra components
2 [] Session Manager only
3 [] Network connectivity only
Input selection:
0
Your XMPP (Jabber) domains [Tigase]

Server administrators [admin @ Tigase]

Admin password [tigase]

0 [x] Derby (built-in database)
1 [] MySQL
2 [] PostgreSQL
3 [] SQLServer
4 [] Other...
Input selection:
1

-------------------

Advanced configuration options
[On, off]
Off
Press 1 to continue, 2 to quit, 3 to redisplay
1
* ** Database configuration:
You have selected MySQL database. This database needs additional configuration parameters. Please enter all required information.

-------------------

----------------- MySQL super user account will be used only to create and configure database for the Tigase server. it will not be used by the Tigase server later on. super user account name: [root] WARNING: password will be visible while enteringSuper user password: WARNING: password will be visible while enteringRetype password: --------------- MySQL database details. it will be created automatically if it does not exist. database account: [tigase] Account password: [tigase12] tigaseDatabase name: [tigasedb] tigaseDatabase host or IP: [localhost] 127.0.0.1Additional database parameters: [] press 1 to continue, 2 to quit, 3 to redisplay
Deming DB tasks

Checking connection to the database
Connection OK
Checking if the database exists
Doesn't exist, creating... OK
Checking the database schema
New schema loaded OK
Checking whether the database needs conversion

.......
All users added
Post installation actions
Finalizing... completed OK
Loading socks5 component schema
Loading socks5 schema... completed OK
Loading PubSub component schema
Loading PubSub schema... completed OK

Step 5 ☆start the Tigase Service

Cd/home/user/tigase-server/./scripts/tigase. sh start etc/tigase. confStarting Tigase: Tigase running pid = 1676 nohup: redirecting stderr to stdout
Step 6 ☆client Installation

Go to the PSI client site to download the http://psi-im.org/download/

Server;

Http://www.tigase.org/content/manual-installation-console-mode
Client
Http://www.tigase.org/content/psi-initial-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.