ejabberd mod_archive
以下配置在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
Posted in Ruby & Rails | 4 Comments | 291 views
FrazierROBIN (Feb 7th 2012 at 01:11 AM)
Key point of submission is rss submission. Don't realize where to find it? NO problem, it is not complicated to determine the rss submit service and best rss submission tools as well!
LongLynda29 (Feb 4th 2012 at 10:36 AM)
Sometimes rss submission service propose automated RSS blog submission. Don't agree with such things! All SEO works must be done manually!
DORALang25 (Jan 29th 2012 at 10:12 AM)
The really good knowledge like this topic sould be a basis for thesis writing or dissertation writing and be taken at thesis papers.
McbrideVanessa34 (Jan 20th 2012 at 08:17 PM)
We can offer you the article submit service to do your data like this good topic good enough.