Skip to content

Installation

Andrey Gagarin edited this page Sep 10, 2020 · 25 revisions

Xabber server installation

Download lastest Xabber Server installer:

wget https://www.xabber.com/xabberserver/releases/xabberserver_installer.bin

Make installer executable:

chmod +x xabberserver_installer.bin

Install Xabber server as a superuser (recommended):

sudo ./xabberserver_installer.bin

Or run installer from user:

./xabberserver_installer.bin

If Xabber Server installation process starts without root permission, files are unpacked into user home directory.

Database installation

Xabber server uses PostgreSQL database. To install it, run the following commands:

sudo apt-get update

sudo apt-get install postgresql postgresql-contrib

Database preparation

Login as postgres user:

sudo -i -u postgres

Create user:

createuser -P xabber_server_user

Create database:

createdb xabber_server_db -O xabber_server_user

You will need this information later when configuring database connection.

Configuring SSL

Depending on your system configuration - you need to choose from following ways of installation:

Apache

Nginx

Without webserver