Ejabberd is a robust XMPP server that can be used for instant messaging, video calls, file sharing, and other real-time communication purposes. In this tutorial, we will guide you through the steps to install Ejabberd on Fedora Server Latest.
Before installing any new software, it is essential to update the system. Use the following command to update the server:
sudo dnf update
Ejabberd is not available in official Fedora repositories. We need to add the Ejabberd repository to our system. Run the following commands to add the Ejabberd repository:
sudo wget "https://www.process-one.net/downloads/ejabberd/21.04/ejabberd-21.04-0.x86_64.rpm"
sudo dnf install ejabberd-21.04-0.x86_64.rpm
After installing Ejabberd, we need to start the server. Use the following command to start the Ejabberd server:
sudo systemctl start ejabberd.service
To ensure that Ejabberd starts automatically when the server is rebooted, enable it at boot time. Use the following command to enable the Ejabberd service:
sudo systemctl enable ejabberd.service
Once you have started the Ejabberd server, verify its status using the following command:
sudo systemctl status ejabberd.service
If the server is running correctly, you should see the following output:
● ejabberd.service - Ejabberd XMPP Server
Loaded: loaded (/usr/lib/systemd/system/ejabberd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-08-14 14:33:58 CEST; 11s ago
Process: 2224 ExecStart=/usr/sbin/ejabberdctl foreground (code=exited, status=0/SUCCESS)
Main PID: 2225 (beam.smp)
Tasks: 67
Memory: 115.6M
CGroup: /system.slice/ejabberd.service
├─2225 /usr/lib64/erlang/erts-11.0.3/bin/beam.smp -Bd -K true -A 50 -cthreaded -P 1048576 -- -root /usr/lib64/erlang -progname erl -- -home /var/lib/ejabber>
├─2285 /usr/lib64/erlang/erts-11.0.3/bin/epmd -daemon
└─2286 inet_gethost 4
Aug 14 14:33:57 localhost.localdomain systemd[1]: Starting Ejabberd XMPP Server...
Aug 14 14:33:58 localhost.localdomain ejabberdctl[2224]: /usr/lib64/erlang/erts-11.0.3/bin/erl: warning: found user-specific
Aug 14 14:33:58 localhost.localdomain systemd[1]: Started Ejabberd XMPP Server.
Ejabberd provides a web-based admin panel, which can be used to perform various tasks such as managing users, creating chat rooms, and configuring settings. To open the admin panel, navigate to the following URL in your web browser:
http://your_server_ip:5280/admin/
You will be prompted to log in with your admin credentials. Once you are logged in, you can start managing your Ejabberd server.
Congratulations! You have successfully installed Ejabberd on your Fedora server. You can now start using it for instant messaging and other real-time communication purposes.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!