Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
infrastructure:sip:wazo:installation [18/08/2026 17:41] – créée Stéphane Pailletinfrastructure:sip:wazo:installation [18/08/2026 18:36] (Version actuelle) Stéphane Paillet
Ligne 2: Ligne 2:
 {{tag>sip téléphonie wazo}} {{tag>sip téléphonie wazo}}
  
-À venir.+Nous installons les paquets nécessaires 
 + 
 +<code> 
 +sudo apt update && sudo apt install sudo git ansible curl 
 +</code> 
 + 
 +Cloner le dépôt wazo-ansible, se placer dans le répertoire, et se placer sur la release stable du dépôt 
 + 
 +<code> 
 +git clone https://github.com/wazo-platform/wazo-ansible.git 
 +cd wazo-ansible 
 +ansible_tag=wazo-$(curl https://mirror.wazo.community/version/stable) 
 +git checkout $ansible_tag 
 +</code> 
 + 
 +Éditer et adapter le fichier d'inventaire inventories/uc-engine 
 + 
 +<code> 
 +vi inventories/uc-engine.yml 
 +</code> 
 + 
 +<code> 
 +# -*- conf -*- 
 +# You only have to change [uc_engine_host] and set variables according 
 +# to your needs (e.g. remove localhost line and add the IP on which 
 +# wazo-platform will be installed) 
 + 
 +[all:vars] 
 +ansible_python_interpreter = /usr/bin/python3 
 + 
 +[uc_engine_host] 
 +localhost ansible_connection=local 
 + 
 +[database:children] 
 +uc_engine_host 
 + 
 +[engine_api:children] 
 +uc_engine_host 
 + 
 +[b2bua:children] 
 +uc_engine_host 
 + 
 +[uc_engine:children] 
 +b2bua 
 +database 
 +engine_api 
 + 
 +# Uncomment the 2 following lines if you want to deploy wazo-ui too: 
 +[uc_ui:children] 
 +uc_engine_host 
 + 
 +[uc_engine:vars] 
 +# Variables are defined in ../roles/wazo-vars/defaults/main.yml 
 + 
 +# Uncomment the 2 following lines to install the stable version (default is 
 +# development version) 
 +wazo_distribution = wazo-dev-bookworm 
 +wazo_distribution_upgrade = wazo-dev-bookworm 
 + 
 +# PostgreSQL settings 
 +postgresql_port = 5432 
 +# postgresql_superuser_password = 
 +postgresql_listen_addresses = 127.0.0.1 
 +</code> 
 + 
 +Nous installons les collections nécessaires 
 + 
 +<code> 
 +ansible-galaxy install -r requirements-postgresql.yml 
 +</code> 
 + 
 +Nous lançons le déploiement 
 + 
 +<code> 
 +ansible-playbook -i inventories/uc-engine uc-engine.yml 
 +</code> 
 + 
 +===== Test ===== 
 + 
 +Pour s'assurer que tous les services tournent 
 + 
 +<code> 
 +wazo-service status 
 +</code> 
 + 
 +Vous devriez avoir ce retour 
 + 
 +<code> 
 +Checking database... 
 + OK 
 +Checking services... 
 + running wazo-plugind 
 + running wazo-webhookd 
 + running wazo-sysconfd 
 + running wazo-confgend 
 + running wazo-confd 
 + running wazo-auth 
 + running wazo-call-logd 
 + running wazo-dxtora 
 + running wazo-provd 
 + running wazo-agid 
 + running asterisk 
 + running wazo-amid 
 + running wazo-agentd 
 + running wazo-dird 
 + running wazo-phoned 
 + running wazo-calld 
 + running wazo-websocketd 
 + running wazo-chatd 
 +</code> 
 + 
 +===== Liens ===== 
 + 
 +  * [[https://wazo-platform.org/uc-doc/installation/|documentation d'installation]] 
 +  * [[https://github.com/wazo-platform/wazo-ansible|wazo-ansible]]
  • infrastructure/sip/wazo/installation.1787074885.txt.gz
  • Dernière modification : 18/08/2026 17:41
  • de Stéphane Paillet