running my own jabber/xmpp server [closed]

允我心安 提交于 2019-12-03 03:43:52

问题


  1. Can I make my own jabber server.So that if I run my website xyz then people should be be able to get their jabber id from my website by registering on my website.
  2. Is there any open source implementation of jabber server that I can use?

回答1:


I use Openfire to run my Jabber server and am quite happy with it. Probably higher-overhead than some of the other options (jabberd, ejabberd, etc.), but it's easy to install and has a great web-based admin UI.

As far as adding users via a web application - I don't know how you would go about doing that with Openfire, but it should be possible. It can plug in to many databases, and you might be able to give your web application an admin account that it can use to create users.

Alternatively, the Jabber/XMPP protocol supports creating a new account when you first connect to a server, if that's good enough for you. OpenFire supports that feature (as do most Jabber servers, I believe).

Update: The User Service Plugin for Openfire exposes an HTTP API for performing user administration actions. That's probably exactly what you need.




回答2:


Can i make my own jabber server.So that if i run my website xyz then people should be be able to get theri jabber id from my website by registering on my website.

It depends on what kind of hosting you have. I think you should at least have VPS hosting to install the software. Basic hosting for a couple of bucks does not allow you to run jabber server.

Is there any open source implementation of jabber server that i can use?

I myself really like lua's prosody. It is easy to install / configure




回答3:


You might like ejabberd, it is fairly friendly to new users:

http://www.process-one.net/en/ejabberd/




回答4:


For you first question: You might want to look at the XEP-0077 extension for in-band registration. http://xmpp.org/extensions/xep-0077.html#intro

What language are you coding in? You might want to check and see if that language has a XMPP library that can handle this extension.




回答5:


I've tried most of them and can agree on ejabberd. The only problem is that in order to change it, you need to program in Erlang. Openfire looks great, but I could not get the certificate to load properly: there is a bug with the implementation, so TLS will not work. I couldn't get Soapbox to access a local MySQL database, so that was out too.

As for client-side, you can use Miranda.



来源:https://stackoverflow.com/questions/2513287/running-my-own-jabber-xmpp-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!