Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

With a small load, of up to 50 thousand calls per day, you can install Webitel on one dedicated server.

  1. Hardware platform:
    1. 64-bit version of the Intel x86 processor, not less than 4 cores with a clock frequency of 2.6 GHz or more
    2. from 8Gb of RAM 
    3. from 100 GB of free disk space
  2. Software platform:
    1. Debian GNU/Linux 10 (buster) 64 bit
    2. Ansible 2.9+
  3. Using a domain name FQDN to obtain a certificate let's encrypt automatically, or having your own PEM certificate to set up HTTPS (it is necessary when using the WebRTC protocol)

Preparation

22.03

Please make the basic installation of Debian GNU/Linux 10 (buster) 64 bit, then connect via SSH.

You can check the installed version with a command:  lsb_release -d

Description:    Debian GNU/Linux 10 (buster)

Please install the minimum required applications set on behalf of the root user:

apt install git gnupg sudo
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu bionic main">/etc/apt/sources.list.d/ansible.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
apt update
apt install ansible

ansible --version
	ansible 2.9.27

Copy installation scripts:

cd /tmp
git clone https://git.webitel.com/scm/wep/ansible.git
cd ansible

The installation will be done using the Ansible configuration management system 

Installation

Before the installation, you can set preliminary configurations in the file group_vars/all.yml, specifically in the sections:

# FreeSWITCH
signalwire_freeswitch_key: pat_XXXXX

# OpenSIPS
opensips_fail2ban: false

# Grafana
grafana: false

# nginx
nginx_letsencrypt: false
nginx_site_name: cloud.webitel.lo
nginx_mail_address: cloud@webitel.lo
  • signalwire_freeswitch_key - SignalWire Personal Access Tokens (PAT) is required for the FreeSWITCH installation. You need to create a token and set the value in this variable. How to create SignalWire Personal Access Tokens.
  • opensips_fail2ban - true, if you need to enable protection against SIP attacks
  • grafana - true, if you want to install Grafana to build analytics based on data from the database
  • nginx_letsencrypt - true, if you need to get https certificate automatically
  • nginx_site_name - set FQDN name to receive certificate
  • nginx_mail_address - enter your existing Email to receive certificate

Start installation:

ansible-playbook -i hosts/localhost playbook.yml

If the installation was done correctly, you will see the result:

Licensing

A license is given for the unique installation. To receive the license, you need to obtain an identifier on the server:

curl -L http://localhost/api/srvinfo

Copy the answer and create a request on the Support Portal

После получения лицензионного ключа, вам необходимо перейти в веб-интефейс на сервере, создать пользователя и домен с использованием полученного ключа:

После успешного лицензирования вы должны увидеть экран выбора приложений:

Откройте Admin и перейдите к настройкам системы:

  • No labels