07.01.2017

Установка openfire (jabber сервер)


Сервер openfire за 4 года показал достаточно стабильным поэтому напишу про установку:

Качаем последнюю версию с сайта igniterealtime.org
wget  http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4.1.1_all.deb -O openfire.deb


проверяем наличие явы
java -v
если явы нет, устанавливаем:
apt-get install default-jre

устанавливаем openfire 
dpkg -i openfire.deb

так как будем использовать внешнюю базу то устанавливаем mysql
apt-get install mysql-server-5.5

Делаем базу:
# mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 44
Server version: 5.5.53-0+deb8u1 (Debian)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database openfire;
Query OK, 1 row affected (0.00 sec)

mysql> create user 'openfire'@'localhost' IDENTIFIED BY 'openpassdb';
Query OK, 0 rows affected (0.00 sec)


mysql> GRANT ALL PRIVILEGES ON `openfire`.* TO 'openfire'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)


заходим по http://адрес_сервера:9090/


вводим домен xmpp.domain


выбираем базу данных MYSQL


jdbc:mysql://localhost:3306/openfire?rewriteBatchedStatements=true


next-next
все.


Заходим в админку http://адрес_сервера:9090/ 
и вводим пользователей
и добавляем плагины


Комментариев нет :

Отправить комментарий