Ejabberd

From Bitpost wiki
Jump to navigation Jump to search

Installation

You can build from source, but the repo doesn't even have branches for releases (just tags in master). Plus there are a lot of deps that I'd have to solve. Erlang, ewww.

You can also download the DEB from here.

But Ubuntu has it, so unless that doesn't work out, let's go with that. Only 52 packages (FFS!).

  • Install via apt
sudo apt install ejabberd
 Creating config file /etc/default/ejabberd with new version
 Creating config file /etc/ejabberd/ejabberd.yml with new version
 Created symlink /etc/systemd/system/multi-user.target.wants/ejabberd.service → lib/systemd/system/ejabberd.service.
  • After install, it will be running as a systemd service, nice.
  • Add admin user
sudo ejabberdctl register admin1 localhost test
  • Grant access
sudo emacs /etc/ejabberd/ejabberd.yml
acl:
 admin:
    user:
      - "admin1": "localhost"

And... nothing works. At all. fuck this shit