![]() ![]() Setting up a Pleroma development environmentĭifferences in Mastodon API responses from vanilla Mastodon How to set rich media cache ttl based on image ttl How to enable text search for Chinese, Japanese and Korean How to configure upstream proxy for federation How to activate Pleroma in-database configurationĬonfiguring Ejabberd (XMPP Server) to use Pleroma for authenticationĬonfiguring MongooseIM (XMPP Server) to use Pleroma for authentication The next part of this tutorial can be found over at my website: - It covers the clustering of ejabberd, troubleshooting and the DNS setup to make federation work.Transfering the config to/from the database If you cannot connect, check your ejabberd logs, firewall setting and such to troubleshoot it. If you can connect, then you can continue with the tutorial. Now test it using an XMPP client like Pidgin, Psi+ or Empathy. If you've enabled in-band registration you can use your XMPP client, and if you did not enable in-band registration you can use the ejabberdctl command: ejabberdctl register remy 'passw0rd' We now need to register a user to test our setup. If you are pleased with the config file, save it and restart ejabberd: /etc/init.d/ejabberd restart I like to have a shared roster with roster groups, and some clients of mine use a shared roster with everybody so that nobody has to add contacts but they see all online users, enable the mod_shared_roster: %% Do this in the modules block ![]() If you are using MySQL or LDAP authentication then you wouldn't enable this. vim /etc/ejabberd/ejabberd.cfgįirst we are going to add our chat domain name. Also, every config option ends with a dot (.). The ejabberd config is erlang config, so comments are not # but %%. ![]() Now use your favorite text editor to edit the config files. We are going to configure the ejabberd service. You will also install a few dependencies for the erlang runtime. This is simple, use your package manager to install ejabberd: apt-get install ejabberd If you want to set up a cluster, then also follow this part and continue with the next part. no clustering, then follow only this part and the DNS part of the tutorial. If you want to set up a single node installation of ejabberd, e.g. Single node / master node ejabberd installation For the clustering part the servers and are used. This tutorial uses the domain as the chat domain, and the server as the xmpp server domain. It also works on Windows Server 2012 with the ejabberd compiled from the erlang source but that is not covered in this tutorial. This setup is tested on Debian 7, Ubuntu 12.04 and 10.04 and OS X 10.8 Server, all running ejabberd installed via the package manager, either apt or ports. ![]() XMPP is an awesome and extendible protocol, on which you can find more here: Information I've got a ejabberd cluster running for a client consisting of 4 Debian 7 VM's (2GB RAM each) spread over 3 sites and 1 datacenter, serving 12000 total users and most of the time 6000 concurrently. Or you might be a sysadmin in need of an internal chat solution. Did you know that big players like Facebook, WhatsApp and Google (used) to use XMPP as their pimary chat protocol? And on Android you can use Xabber, Beem or OneTeam. You might want to use awesome multi-account chatting applications like Pidgin, Psi+, Empathy, Adium, iChat/Messages or Miranda IM. Turn of ejabberd logging and use Off The Record which gives you full privacy (and perfect forward secrecy). Or you might want to have more control over the logging of your data. And still use an open protocol which is widely supported, not being locked in to google specific software and hardware. If you have non-gmail chat contacts you can keep chatting to them. Google's service recently changed and it is going to drop XMPP compatibility. You might use Google Talk or as it now is named Hangouts. There are a few reasons to set up your own XMPP server. You can use an Inception Hosting VPS to set up your own XMPP server, I use them and they are very stable and offer good performace and pricing. Last but not least federation is also covered. It covers a basic single node ejabberd server and also the setup of an ejabberd cluster, including errors and DNS SRV record examples. This tutorial shows you how to set up your own federated chat network using ejabberd. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |