When logging in, make sure to enter the full JID as username: The Web Admin should be accessible on Open the URL usng your favorite browser. You can grant administrative privileges to many XMPP accounts, and also to accounts in other XMPP servers. Where is your server hostname used when adding the user. $ sudo vim /opt/ejabberd/conf/ejabberd.yml StrongPassword is the password of the user to be created.Įdit the ejabberd configuration file to give administration rights to the XMPP account you created.You can also check set value in /opt/ejabberd/conf/ejabberd.yml file. $(hostname) gives the system hostname.computingforgeeks is the name of user to be created.In my case, I’ll run the commands below: # ejabberdctl register computingforgeeks $(hostname) StrongPassword Source the file for the new path to be reflected: source ~/.bashrc Set like below – but replace /opt/ejabberd-21.12/bin/ with your version path as found from find command: PATH=$PATH: /opt/ejabberd-21.12/bin/ $ sudo find / -name ejabberdctlĪdd the path of to your. Add ejabberdctl command location to your PATH Register an XMPP account on your ejabberd server. You need an XMPP account and grant him administrative privileges to enter the ejabberd Web Admin. Hint: configure the listener an>ĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:37.998 ejabberd 21.07 is started in the node in 0.96sĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.001 Start accepting TCP connections at :5222 for ejabberd_c2sĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.001 Start accepting TCP connections at 127.0.1.1:7777 for mod_proxy65_streamĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.002 Start accepting TCP connections at :5269 for ejabberd_s2s_inĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.002 Start accepting TLS connections at :5443 for ejabberd_httpĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.002 Start accepting TCP connections at :5280 for ejabberd_httpĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:38.002 Start accepting TCP connections at :1883 for mod_mqtt Step 4: Create ejabberd XMPP admin account. └─92122 /opt/ejabberd-21.07/lib/os_mon-2.4.7/priv/bin/memsupĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:37.997 No certificate found matching pubsub.ubuntu22ĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:37.997 No certificate found matching conference.ubuntu22ĭes 02 18:28:38 ubuntu22 ejabberdctl: 18:28:37.997 No HTTP listeners for ACME challenges are configured, automatic certificate requests are aborted. Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Thu 18:28:37 EAT 10s ago Start the service and enable it to start on boot: sudo systemctl enable -now ejabberdĬheck status by running: $ systemctl status rvice Reload systemd: sudo systemctl daemon-reload sudo cp $(sudo find / -name rvice) /etc/systemd/system Since Ubuntu uses systemd init system, we need to copy rvice to /etc/systemd/system directory. When ejabberd is started, the processes that are started in the system are beam or beam.smp, and also epmd.ejabberd application directory is /opt/ejabberd.A system user called ‘ ejabberd‘ is created.This will place ejabberd init script under /etc/init.d/ejabberd Go to the ejabberd official download page. Note the latest version of the software.Įxport latest version to a variable: export VER="21.12"ĭownload the Debian package with wget. You can also update the IP address and hostname in /etc/hosts file. We’re going to install ejabberd from a binary Installer which provides a full-featured ejabberd server without a need for any extra dependencies.īefore you perform the installation, set correct server hostname sudo hostnamectl set-hostname sudo hostnamectl set-hostname -static Install Ejabberd XMPP Server on Ubuntu 18.04|16.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |