![]() ![]() 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 lollipop Use this form to create the administrative users specified above. This will create a JID for with the password of “man”. In this example, lollipop 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 lollipop man Issue the following command to ensure that ejabberd will start following the next reboot cycle: chkconfig -level 2345 ejabberd onīy default, ejabberd is configured to disallow “in-band-registrations”, which prevent Internet users from getting accounts on your server without your consent. To start, stop, or restart the server, issue the appropriate command to the /etc/init.d/ejabberd script: /etc/init.d/ejabberd start 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.” subdomain. The ejabberd.cfg file is complete and well commented, and from this point forward your server should run. ![]() Along with this, you will need to open the /etc/sysconfig/network file and change the HOSTNAME line to reflect your newly set hostname: In this case, the hostname will be set to “example”. Run the following commands the set the hostname of your Linode: echo "example" > /etc/hostname XMPP takes advantage of “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 their server is going to participate in the federated network. Without a centralized server, every XMPP server maintains the accounts and serves as the communication gateway for their 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 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 for most users. It often looks like an email address and contains the username that identifies a specific user on a server, the hostname that identifies the server, and a resource that identifies where a given user is logged in from. The JID or “Jabber ID” is the unique identifier for a user in the XMPP network. Though 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: If you’re new to Linux server administration, you may be interested in our introduction to Linux concepts guide, beginner’s guide and administration basics guide. It even includes support for hosting multiple domains virtually.īefore installing ejabberd, it is assumed that you have followed our Setting Up and Securing a Compute Instance. Although ejabberd is considered “heavyweight” by some due to the requirements of the Erlang runtimes, it is incredibly robust and can scale to support heavy loads. With a web-based interface and broad support for XMPP standards, ejabberd is an ideal general-use and multi-purpose XMPP server. Ejabberd, the Erlang Jabber Daemon, is an extensible, flexible and very high performance XMPP server written in the Erlang programming language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |