xmpp服务器linux,xmpp服务端tigase在centos搭建过程

1.前期环境搭建

1.1 mysql 安装

mysql 安装: yum install mysql-server.x86_64

检查安装:rpm -ap | grep mysql

mysql启动:/etc/init.d/mysqld start

检查是否启动:netstat -anpl | grep 3306

修改root密码:mysqladmin -u root password ‘root’

1.2 jdk安装

至少要求1.6版本以上,安装详情就不表述了。

2.包下载 https://projects.tigase.org/projects/tigase-server/files

我选择的是 tigase-server-5.2.0-b3447.jar 这个版本,怕最新的包不稳定。

2.1 启动命令行安装

java -jar tigase-server-5.2.0-b3447.jar -console

tigase123.jpg

tigase456.jpg

tigase789.jpg

tigase101112.jpg

tigasefinish.jpg

三启动:

./scripts/tigase.sh start etc/tigase.conf 启动

查看是否启动:

#ps -ef | grep tigase

root 4341 1 99 11:52 pts/2 00:00:12 /usr/local/jdk/bin/java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djdbc.drivers=com.mysql.jdbc.Driver:org.postgresql.Driver:org.apache.derby.jdbc.EmbeddedDriver -server -Xms100M -Xmx200M -XX:PermSize=32m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=128m -Dlogback.configurationFile=/root/soft/tigase/./etc/logback.xml -cp /root/soft/tigase/./jars/derby.jar:/root/soft/tigase/./jars/derbytools.jar:/root/soft/tigase/./jars/groovy-all.jar:/root/soft/tigase/./jars/hamcrest-core.jar:/root/soft/tigase/./jars/jdmkrt.jar:/root/soft/tigase/./jars/jstun.jar:/root/soft/tigase/./jars/jtds.jar:/root/soft/tigase/./jars/licence-lib.jar:/root/soft/tigase/./jars/mysql-connector-java.jar:/root/soft/tigase/./jars/postgresql.jar:/root/soft/tigase/./jars/tigase-acs.jar:/root/soft/tigase/./jars/tigase-acs-muc.jar:/root/soft/tigase/./jars/tigase-acs-pubsub.jar:/root/soft/tigase/./jars/tigase-extras.jar:/root/soft/tigase/./jars/tigase-message-archiving.jar:/root/soft/tigase/./jars/tigase-muc.jar:/root/soft/tigase/./jars/tigase-pubsub.jar:/root/soft/tigase/./jars/tigase-server.jar:/root/soft/tigase/./jars/tigase-socks5.jar:/root/soft/tigase/./jars/tigase-stats-collector-library.jar:/root/soft/tigase/./jars/tigase-stats-collector-provider.jar:/root/soft/tigase/./jars/tigase-stun.jar:/root/soft/tigase/./jars/tigase-server.jar tigase.server.XMPPServer –property-file etc/init.properties

root 4585 2305 0 11:52 pts/2 00:00:00 grep tigase

四 客户端下载:Pandion

http://rj.baidu.com/soft/detail/13256.html?ald

tigasek1.jpg

tigasek2.jpg

tigasek3.jpg

其他的也有:

spark,Psi

更多的见:http://xmpp.org/xmpp-software/clients/

参考文档:

1.http://www.tigase.org/content/installing-using-console-installer — 通过命令行配置

2.http://www.tigase.org/content/manual-installation-console-mode — 手工配置,不是通过命令行配置

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值