运行我自己的 jabber/xmpp 服务器

发布于 2024-08-26 15:52:01 字数 1536 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

恏ㄋ傷疤忘ㄋ疼 2024-09-02 15:52:01

我使用 Openfire 来运行我的 Jabber 服务器,我对此非常满意。可能比其他一些选项(jabberd、ejabberd 等)开销更高,但它很容易安装,并且有一个很棒的基于 Web 的管理 UI。

至于通过网络应用程序添加用户 - 我不知道你会如何使用 Openfire 来做到这一点,但这应该是可能的。它可以插入许多数据库,并且您可以为您的 Web 应用程序提供一个可用于创建用户的管理员帐户。

或者,Jabber/XMPP 协议支持在您首次连接到服务器时创建新帐户(如果这对您来说足够好)。 OpenFire 支持该功能(我相信大多数 Jabber 服务器也是如此)。

更新:用户服务插件 for Openfire 公开了用于执行用户管理操作的 HTTP API。这可能正是您所需要的。

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.

初见你 2024-09-02 15:52:01

我可以制作自己的 jabber 服务器吗?
如果我运行我的网站 xyz 那么
人们应该能够得到他们
jabber id 来自我的网站
在我的网站上注册。

这取决于您拥有哪种类型的托管。我认为您至少应该有 VPS 托管来安装该软件。几块钱的基本托管不允许您运行 jabber 服务器。

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

我本人非常喜欢lua的prosody。易于安装/配置

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

世俗缘 2024-09-02 15:52:01

您可能喜欢 ejabberd,它对新用户相当友好:

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

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

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

ま柒月 2024-09-02 15:52:01

对于你的第一个问题:
您可能需要查看用于带内注册的 XEP-0077 扩展。
http://xmpp.org/extensions/xep-0077.html#intro

您使用什么语言编码?您可能想要检查该语言是否有可以处理此扩展的 XMPP 库。

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.

绻影浮沉 2024-09-02 15:52:01

我已经尝试过其中的大多数并且可以同意 ejabberd 。唯一的问题是,为了改变它,你需要在 Erlang 中编程。 Openfire 看起来很棒,但我无法正确加载证书:实现中存在错误,因此 TLS 将不起作用。我无法让 Soapbox 访问本地 MySQL 数据库,所以这也无法实现。

至于客户端,你可以使用 Miranda。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文