![]() You can avoid the use of the sudo command by switching to the ejabberd user, which is created at the time of Ejabberd installation. If you have noticed, I am using sudo with each ejabberdctl command. The following screenshot shows the partial output of executing ejabberdctl without any options: You can see the full list of supported options by entering ejabberdctl without any options. It provides various options to manage and monitor Ejabberd installation. We will mostly be working with ejabberdctl, which is a command line administrative tool. All executable files are generally located under the bin directory. You can get an exact location of the installation with the whereis command. The installer unpacks all the contents at the /opt/ejabberd-version directory. You can download the latest package from the Ejabberd download page. It includes a minimum Erlang runtime and all other dependencies. The hostname of my server is ubuntu and the admin JID is Once you have entered the correct username and password, an admin console will be rendered as follows:Ä®jabberd binaries are available as a Debian package. To log in, you need a JID (XMPP ID) as a username, which is a username and hostname combination. ![]() Ejabberd installation creates a default administrative user account with the username and password both set to admin. The admin panel is protected with a username and password. Once the server has started, you can access it at It should ask you to log in, as shown in the following screenshot: Ejabberd includes a web-based admin panel. $ sudo /opt/ejabberd-15.11/bin/ejabberdctl status You can check the server status with the ejabberdctl status command: The start command does not create any output. $ sudo /opt/ejabberd-15.11/bin/ejabberdctl start Now you can start the Ejabberd server, as follows: When installation completes, check the location of the Ejabberd executable: Use the dpkg command to install Ejabberd from this package: Once the download completes, you will have an installer package with the .deb extension. Make sure you get the updated link to download the latest available version: ![]() We will be downloading the 64-bit package for Debian-based systems. The following are the steps to install Ejabberd:Äownload the Ejabberd installer with the following command. You will need an Ubuntu server with root access or an account with sudo privileges. You can also install Ejabberd from the Ubuntu package repository, but that will give you an older, and probably outdated, version. We will be using an integrated installation package that is available from the Ejabberd download site. In this recipe, we will learn how to install the Ejabberd XMPP server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |