Ejabberd: Difference between revisions

From Bitpost wiki
(Created page with "=== 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 solv...")
 
Line 5: Line 5:


But Ubuntu has it, so unless that doesn't work out, let's go with that.  Only 52 packages (FFS!).
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
  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"

Revision as of 17:18, 14 April 2021

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"