With a low load, up to 50 thousand calls per day, you can install Webitel on one dedicated server.
- Hardware platform:
- 64-bit version of the Intel x86 processor, at least 4 cores 2.6 GHz
- Not less 8Gb of RAM
- Not less 100 Gb of free disk space
- Software platform:
- Debian GNU/Linux 10 (buster) 64 bit
- Ansible 2.9+
- Using the FQDN domain name to automatically obtain a let's encrypt certificate, or having your own PEM certificate to configure HTTPS (required when using the WebRTC protocol)
Preparation
22.03
Make a basic installation Debian GNU/Linux 10 (buster) 64 bit, connect via SSH.
Information
You can check the installed version with the command: lsb_release -d
Description: Debian GNU/Linux 10 (buster)
As the root user, install the required minimum set of applications:
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 the 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 proceeding with the installation, it is possible to make preliminary settings in the group_vars/all.yml, namely 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: [email protected]
- signalwire_freeswitch_key - SignalWire Personal Access Tokens (PAT), required for installation FreeSWITCH. You should create a token and write 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 want to automatically get an https certificate
- nginx_site_name - to get a certificate, specify the FQDN name
- nginx_mail_address - to get a certificate, specify your existing Email
Starting installation:
ansible-playbook -i hosts/localhost playbook.yml
If the installation went without errors, you should see the result:
Licensing
The license is issued for a unique installation. To get a license, you need to get an identifier on the server:
curl http://localhost/api/srvinfo
Copy the response and create a ticket on the Support Portal:
After receiving the license key, you need to go to the web interface on the server, create a user and domain using the received key:
After successful licensing, you should see the application selection screen:
Open Admin and go to system settings: