With a small load, of 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, not less than 4 cores with a clock frequency of 2.6 GHz or more
- from 8Gb of RAM
- from 100 GB of free disk space
- Software platform:
- Debian GNU/Linux 10 (buster) 64 bit
- Ansible 2.9+
- 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) are 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 an HTTPS certificate automatically
- nginx_site_name - set FQDN name to receive a certificate
- nginx_mail_address - enter your existing Email to receive the 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:
After receiving the licensing key, you need to go to the server web interface, create a user and a domain using the key:
After successful licensing, you will be able to see the screen with the selection of the applications:
Open the Admin app and go to the system settings:
Add Comment