Editing J2J:AdminGuide

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: MediaWiki upgrading

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 22: Line 22:
 
Необходимо получить исходный код транспорта. Это можно сделать, пройдя по [http://jrudevels.org/index.php?pg=downloads.php&dir=J2J ссылке], либо с помощью [http://subversion.tigris.org/ SVN]:
 
Необходимо получить исходный код транспорта. Это можно сделать, пройдя по [http://jrudevels.org/index.php?pg=downloads.php&dir=J2J ссылке], либо с помощью [http://subversion.tigris.org/ SVN]:
  
  <nowiki>svn co svn://svn.jrudevels.org/j2j/trunk j2j/</nowiki>
+
  <nowiki>svn co https://svn.jrudevels.org/j2j/trunk j2j/</nowiki>
  
 
=== Настройка базы данных ===
 
=== Настройка базы данных ===
Line 40: Line 40:
 
  psql -U j2j j2j
 
  psql -U j2j j2j
 
  \i pgsql.schema
 
  \i pgsql.schema
 
=== Настройка Jabber-сервера ===
 
 
==== ejabberd ====
 
Вся настройка сводится к добавлению строки вида:
 
 
{8888, ejabberd_service, [
 
                        {ip, {127, 0, 0, 1}},
 
                        {access, all},
 
                        {shaper_rule, fast},
 
                        {host, "j2j.server.com",
 
                        [{password, "secret"}]}
 
                        ]}
 
 
В секцию listen файла ejabberd.cfg.
 
Обратите внимание, при указании JID транспорта используется ключевое слово host, а не hosts.
 
Замените JID и пароль на свои.
 
  
 
=== Настройка компонента ===
 
=== Настройка компонента ===

Please note that all contributions to JaWiki (Jabber/XMPP wiki) may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see JaWiki (Jabber/XMPP wiki):Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page: