Elvuel

善战者无赫赫之功

  • Home
  • Atom
  • About Elvuel

ejabberd mod_archive

Posted on December 5th, 2011 - 农历辛卯[兔]年 十一月十一

以下配置在ubuntu下测试通过,使用PGSQL为存储数据库

Install ejabberd

    apt-get install ejabberd

Checkout ejabberd modules

   svn checkout https://svn.process-one.net/ejabberd-modules /usr/local/src/ejabberd-modules

Complie mod_archive

   cd mod_archive/trunk

   ./build.sh

   cp ebin/*.beam /usr/lib/ejabberd/ebin

Compile pgsql

   cd pgsql/trunk

   ./build.sh

   cp ebin/*.beam /usr/lib/ejabberd/ebin

Setting ejabberd

  vim /etc/ejabberd/ejabberd.cfg

  + {odbc_server, {pgsql, "localhost", "database", "username", "password"}}.

  %%%   =======

  %%%   MODULES

  + {mod_archive_odbc,    [

                        {database_type, "pgsql"},

                        {default_auto_save, true},

                        {enforce_default_auto_save, false},

                        {default_expire, infinity},

                        {enforce_min_expire, 0},

                        {enforce_max_expire, infinity},

                        {replication_expire, 31536000},

                        {session_duration, 1800},

                        {wipeout_interval, 86400}

                        ]}

Restart Ejabberd

   /etc/init.d/ejabberd restart

 

Checkout ejabberd log

   /var/log/ejabberd/ejabberd.log  

 

 

 

 

   

 

Tags: ejabberd mod_archive

Posted in Ruby & Rails   |   8 Comments   |  591 views

Comments

8楼

Bette33Mckee   (May 19th 2012 at 06:17 AM)

We go to writers job service, with the purpose to good knowledge close to this good topic.

7楼

DiannaCook   (May 9th 2012 at 07:10 AM)

You are making really good contribution about this topic! Hence, the dissertation writing services or just some thesis writing services, can use at the thesis titles.

6楼

Davis25Arlene   (May 5th 2012 at 02:28 AM)

I would like to be hired by paramount Architecture Essay services. I train intensively to improve my academic writing skills.

5楼

OLIVERCAROLINE23   (Mar 21st 2012 at 02:02 PM)

Complications don't make an influence on you? Thus, you're ready to compose the dance essay paper. Though, you ought to start from not complicated term papers to to make an emphasize on your technique!

4楼

Harper30Herminia   (Mar 20th 2012 at 07:31 PM)

You don't know if your essay paper completed by your own is perfect. But, if your course paper is written by specialists, you can pay for essay and be assured that you will surely have better grades.

3楼

GLOVER31HILLARY   (Mar 18th 2012 at 01:35 PM)

Some time before I was curious about back links. At this moment I understand that articles submission is extra important for my website. SO, I decided to visit the blog posting services.

2楼

Lamb24FRANCISCA   (Mar 16th 2012 at 02:54 AM)

Everything in this world is not constant, nonetheless we guarantee that with academic papers writing organization you have stability. We propose to turn to custom writing service of supreme quality. Don't doubt and try custom papers writing service!

1楼

HinesTerrie22   (Mar 12th 2012 at 06:27 AM)

The prerogative of selection can be essential. That is important to opt for the good essay writing service. Guys need to order high quality papers.

Post your comment


*
*(not shown)
Click,change verify code.


  • Search

  • Categories

    • Ruby & Rails
    • Jobs
    • Uncategorized
  • Recent Posts

    • Prawn使用Annotation坐...
    • ejabberd mod_archive
    • Capybara get session in ...
    • Juggernaut & Rails
    • RottenEgg发布
    • ruby rmagick 生成DM
    • ActiveResource for no r...
    • Rails生成Model文档
    • 转-Method triggers:inst...
    • 招聘-Ruby on Rails软件...
  • Links

    • RailsCasts
    • The Ruby Reflector
    • Alltop Ruby
    • Command Line Refer
    • Ruby Code Snippets
    • GitHub
    • API Dock
    • OpenSourceRails
    • RailsPlugins
    • RailsLab
    • 15DaysOfJQuery
  • Archives

    • 2012年(1)

    • 2012年01月(1)
    • 2011年(10)

    • 2011年12月(1)
    • 2011年11月(1)
    • 2011年08月(2)
    • 2011年04月(2)
    • 2011年03月(1)
    • 2011年01月(3)
    • 2010年(27)

    • 2010年12月(1)
    • 2010年11月(2)
    • 2010年10月(4)
    • 2010年09月(7)
    • 2010年08月(1)
    • 2010年07月(5)
    • 2010年06月(1)
    • 2010年04月(6)
    • 2009年(13)

    • 2009年10月(1)
    • 2009年05月(2)
    • 2009年04月(1)
    • 2009年03月(2)
    • 2009年02月(7)
    • 2008年(19)

    • 2008年08月(1)
    • 2008年07月(1)
    • 2008年06月(1)
    • 2008年05月(3)
    • 2008年04月(1)
    • 2008年03月(2)
    • 2008年02月(10)

Copyright © 2010 elvuel.com Powered by Elvuel.