下载源码:
版本库https://projects.tigase.org/projects/tigase-server/repository
命令:git clone https://repository.tigase.org/git/tigase-server.git 下载
进入根目录,mvn eclipse:eclipse
导入eclipse中
更改eclipse设置
Eclipse默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer-Errors/Warnings里面的
Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
至此,源码已经下载完成,这里不建议从源码安装服务,安装服务见下文
---------------------------------
安装服务:
下载地址:https://projects.tigase.org/projects/tigase-server/files
下载:https://projects.tigase.org/attachments/download/4621/tigase-server-7.0.4-b3844.jar
运行:java -jar tigase-server-7.0.4-b3844.jar
按照步骤next,直到finish
启动服务:
开始菜单->Tigase-7.0.4-b3844->Manually Start Tigase-7.0.4-b3844 Server
服务器启动成功后,用XMPP客户端Spark来测试Tigase服务器。
---------------------------------
官方文档:http://docs.tigase.org/
详细教程:http://docs.tigase.org/tigase-server/7.0.3/Administration_Guide/html/#_installation_using_gui_installer
参考教程1:http://www.2cto.com/os/201411/350892.html (Linux搭建XMPP服务器Tigase(Spark客户端测试))
参考教程2:http://blog.csdn.net/chszs/article/details/31350671 (Win7安装并配置Tigase服务器)
参考教程3:http://blog.csdn.net/nomousewch/article/details/34097565 (XMPP协议学习笔记六(搭建Tigase开发环境))
版本库https://projects.tigase.org/projects/tigase-server/repository
命令:git clone https://repository.tigase.org/git/tigase-server.git 下载
进入根目录,mvn eclipse:eclipse
导入eclipse中
更改eclipse设置
Eclipse默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer-Errors/Warnings里面的
Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过。
至此,源码已经下载完成,这里不建议从源码安装服务,安装服务见下文
---------------------------------
安装服务:
下载地址:https://projects.tigase.org/projects/tigase-server/files
下载:https://projects.tigase.org/attachments/download/4621/tigase-server-7.0.4-b3844.jar
运行:java -jar tigase-server-7.0.4-b3844.jar
按照步骤next,直到finish
启动服务:
开始菜单->Tigase-7.0.4-b3844->Manually Start Tigase-7.0.4-b3844 Server
服务器启动成功后,用XMPP客户端Spark来测试Tigase服务器。
打开Spark,注册一个新用户,服务器即为Tigase服务器的主机名或IP地址,和etc/init.properties中的--virt-hosts配置项一致。
PS:Windows下貌似只能开启一个Spark,实际上只要把Spark程序文件夹再拷贝一份,从里面打开Spark,就可以开启多个Spark了。
---------------------------------
官方文档:http://docs.tigase.org/
详细教程:http://docs.tigase.org/tigase-server/7.0.3/Administration_Guide/html/#_installation_using_gui_installer
参考教程1:http://www.2cto.com/os/201411/350892.html (Linux搭建XMPP服务器Tigase(Spark客户端测试))
参考教程2:http://blog.csdn.net/chszs/article/details/31350671 (Win7安装并配置Tigase服务器)
参考教程3:http://blog.csdn.net/nomousewch/article/details/34097565 (XMPP协议学习笔记六(搭建Tigase开发环境))