![]() To set or reset the password for a user, issue the following command: ejabberdctl set-password username morris The above command would unregister the account from the server. To remove a user from your server, issue a command in the following form: ejabberdctl unregister username This will create a JID for with the password of “man.” Use this form to create the administrative users specified above. In this example, username is the username, is the domain, and man is the password. To register a new user, issue a command in the following form: ejabberdctl register username man To start, stop or restart the server, issue the appropriate command from the following: /etc/init.d/ejabberd startīy default, ejabberd is configured to disallow “in-band-registrations,” which prevents Internet users from getting accounts on your server without your consent. Once installed, the use and configuration of ejabberd is uncomplicated. subdomain) to the IP address where the ejabberd instance is running. If you want the public to be able to access MUCs on your domain, you need to create an “A Record” pointing the conference hostname (e.g. However, you should take the time to become familiar with the options provided in this file.īy default, MUCs or Multi-User-Chats (chatrooms) are accessible on the “conference.” sub-domain. ![]() The ejabberd.cfg file is complete and well commented from this point forward your server should run. Your file should have an excerpt that looks something like this (use your Linode’s public IP address instead of 12.34.56.78): This will allow your Linode to associate its hostname with the public IP. If you have not already configured your /etc/hosts as follows, please do so before you continue. Most of the time a self-signed certificate is sufficient for many jabber applications. If you want to use a commercially signed certificate, place the certificate file at /etc/ejabberd/ejabberd.pem. The installation process creates a self-signed SSL certificate. The default installation is complete and functional. To install ejabberd and its required dependencies, issue the following command: apt-get install ejabberd “SRV” DNS records to support the resolution of domains to the servers which provide DNS records. For instance, to federate with Google’s “GTalk” XMPP network, server administrators need to have server-to-server (s2s) SSL/TLS encryption enabled, while other servers don’t always require this. In the XMPP system there is no single point of failure however, each server administrator can decide how his server is going to participate in the federated network. Without a centralized server, each XMPP server maintains the accounts and serves as the communication gateway for its own users. Users with accounts on one server - if the server administrators allow it - can communicate with users on other servers. resources), the resource adds a useful amount of specificity. the resource is optional although XMPP allows a single JID to be connected to the server from multiple machines (i.e. In the following example, “username” is the username, “” is the hostname, and “/office” is the resource. The resource is optional and is often safely omitted or ignored by most users. It often looks like an email and contains the username that identifies a specific user on a server, the hostname that identifies the server, and a resource that identifies from where a given user is logged in. The JID (or “Jabber ID”), is the unique identifier for a user in the XMPP network. XMPP/Jabber BasicsĪlthough you can successfully run an XMPP server with only a passing familiarity of the way the XMPP network and system works, understanding the following basic concepts will be helpful: Once you’ve completed these requirements, we can begin with the installation process. We also assume you are connected to your Linode via SSH as root. Setting Up and Securing a Compute Instance guide, and now have an up-to-date instance of the Ubuntu Precise Pangolin operating system. This installation process assumes that you have a working installation of Ubuntu 12.04 (Precise Pangolin), have followed the steps in the Ejabberd servers are believed to be the backbone for some of the largest Jabber servers running now. However, it is incredibly robust and can scale to support incredibly heavy loads. Ejabberd can be considered “heavyweight” by critics because of the requirements of the Erlang run-times. ![]() XMPP standards, ejabberd is a great choice for a multi-purpose XMPP server. With a web-based interface and broad support for It is extensible, flexible and very high performance. Ejabberd is a Jabber daemon written in the Erlang programming language.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |