Install Yahoo-transport-2 - Step two and Three

This tutorial explains how you can install Yahoo-transport-2, using jabberd, a script, and a configuration file.

  1. Common Instructions for all Transports

    The instructions in this section are common for all transports. Hence, you do not have to repeat them for every transport installation. If you did not yet completed this step, go to Install Obsolete Transports Using jabberd - Step one.

  2. Install Yahoo! Transport

    1. Install libglib1.2-dev:
      apt-get install libglib1.2-dev
    2. Download the latest Yahoo! Transport:
      wget -p \
      -O jabber-yahoo_2.3.2.orig.tar.gz
    3. Extract the source in the directory of the extracted jabberd 1.4 (see step one):
      tar zxvf jabber-yahoo_2.3.2.orig.tar.gz
    4. Enter the extracted directory:
      cd yahoo-transport-2.3.2
    5. Compile Yahoo-transport-2:
    6. Copy the transport module of the transport to /usr/local/lib/jabber/:
      cp /usr/local/lib/jabber/
  3. Configure Yahoo! Transport

    1. Create a symbolic link:
      ln -s /usr/local/sbin/jabberd /usr/local/sbin/jabberd-yahoo-transport-2
    2. Drop this transport configuration file for Yahoo-transport-2 in /etc/jabber/:
      wget -p \
      -O /etc/jabber/yahoo-transport-2.xml
    3. Edit the configuration file in your favourite text editor and change at least next values in capital letters:
    4. Put this init script for Yahoo-transport-2 in the directory /etc/init.d/jabber/:
      wget -p \
      -O /etc/init.d/jabber/yahoo-transport-2
    5. Change permissions of this script:
      chmod 755 /etc/init.d/jabber/yahoo-transport-2
    6. Add an entry for the Yahoo! Transport in the "Listened ports" section of your ejabberd configuration file (also described in the ejabberd Installation and Operation Guide):
      {5236, ejabberd_service, [{host, "yahoo.SERVER.COM",
                                     [{password, "SECRET"}]}]},

      Do not forget to change the values in capitals; they need to match to what you specified in yahoo-transport-2.xml.

      Remark: No comma needed when it is the last entry. However, all entries before the last one need a comma!

    7. Restart ejabberd to reload the configuration:
      /etc/init.d/ejabberd restart
    8. Start the transport:
      /etc/init.d/jabber/yahoo-transport-2 start
    9. If all goes well, the transport should be visible now when discovering your server with a Jabber client. :-)
Syndicate content