|
|
http://www.jabberdoc.org/jabberd_guide
需要下载:Libidn
Libidn provides necessary string manipulation functionality for Jabberd 2. Prior to Jabberd 2 stable 3, libidn was included with the Jabberd 2 distribution; however, a licensing conflict makes it necessary that libidn be installed separately.
http://www.gnu.org/software/libidn/#downloading
先编译libidn,
./configure
make
make install
ldconfig
然后编译jabberd 2
./configure --enable-mysql --enable-ssl --enable-idn
make
make install
增加用户:
groupadd jabberd2
useradd -g jabberd2 jabberd2
MYSQL中数据库建立:
root@darkstar:/tmp/jabberd-2.0s3/tools# mysql -u root -p < db-setup.mysql
mysql> GRANT select,insert,delete,update ON jabberd2.*
-> to jabberd2@localhost IDENTIFIED by 'secret';
然后启动jabberd2:
/usr/local/bin/jabberd
最后用gaim测试了一下,注册用户,发信息都成功了。
哈哈,中国女排赢了俄罗斯,边看球边配置jabberd 2,感谢女排带给我的好运,一次性成功,睡觉去。
中国队31块金牌了。 |
|