CentOS 安装Tigase

Step 1☆ 环境搭建

yum install httpd mysql mysql-server php php-* yum install java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64Step 2☆ 下载软件包

wget https://projects.tigase.org/attachments/download/1342/tigase-server-5.2.0-b3447.jarStep 3☆ 开启防火墙端口

iptables -I INPUT -p tcp –dport 80 -j ACCEPTiptables -I INPUT -p tcp –dport 3306 -j ACCEPTiptables -I INPUT -p tcp –dport 5222 -j ACCEPTStep 3☆启动HTTP、MySQL服务、设置MySQL密码、创建数据库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 10Server version: 5.1.73 Source distributionmysql> CREATE DATABASE tigase;Query OK, 1 row affected (0.00 sec)mysql> quitByeStep 4☆ 软件安裝java -jar tigase-server-5.2.0-b3447.jar -consoleWelcome to the installation of Tigase XMPP (Jabber) Server 5.2.0-b3447!- Artur Hefczyc <artur.hefczyc@tigase.org>- Bartosz Makowski <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 YanfaThe homepage is at: press 1 to continue, 2 to quit, 3 to redisplayThe installed application needs a JDK. A java runtime environment (JRE) will be not sufficient.Enter 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 executeInstallation 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.orgpress 1 to continue, 2 to quit, 3 to redisplay1

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 should 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<>.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-serverSelect the packs you want to install:

1 => Base, The base files2 => Unix Files, Files needed to run the server on Unix like systems3 => [x] Docs, The documentation4 => [x] Extras, Extras libraries, MUC, PubSub, STUN, Socks5, Message Archiving, ACS5 => [x] Groovy scripting, Various Groovy scripts extending server functionality6 => [x] Derby Database (DB included), Derby database (included) and JDBC driver7 => [x] MySQL Database driver (DB not included), MySQL JDBC driver (MySQL has to be installed separately)8 => [x] PostgreSQL Database driver (DB not included), PostgreSQL JDBC driver (PostgreSQL has to be installed separately)9 => [x] SQL Server Database driver (DB not included), 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 system12 => [ ] Sources, The server source files, tools and libraries sources are not includedr => Redisplay menud => DoneChoose action: dpress 1 to continue, 2 to quit, 3 to redisplay1[ Starting to unpack ][ Processing package: Base (1/9) ][ Processing package: Unix Files (2/9) ][ Processing package: Docs (3/9) ][ Processing package: Extras (4/9) ][ Processing package: Groovy scripting (5/9) ][ Processing package: Derby Database (DB included) (6/9) ][ Processing package: MySQL Database driver (DB not included) (7/9) ][ Processing package: PostgreSQL Database driver (DB not included) (8/9) ][ Processing package: SQL Server Database driver (DB not included) (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.——————-

打掉的应是脆弱的铁屑,锻成的将是锋利的钢刀。

CentOS 安装Tigase

相关文章:

你感兴趣的文章:

标签云: