This guide installs Faveo Helpdesk with Apache, PHP, and MariaDB.
It supports Debian 10 to latest stable, Ubuntu LTS, and RHEL 9+ compatible systems.
- name: Install Faveo Helpdesk
hosts: faveo-helpdesk
become: true
vars:
faveo_webroot: /var/www/faveo
tasks:
- name: Install dependencies on Debian/Ubuntu
apt:
name:
- apache2
- mariadb-server
- php
- php-mysql
- php-mbstring
- php-xml
- php-curl
- php-zip
- php-gd
- php-intl
- composer
- unzip
- wget
- curl
- git
state: present
update_cache: true
when: ansible_os_family == "Debian"
- name: Install dependencies on RHEL family
dnf:
name:
- httpd
- mariadb-server
- php
- php-mysqlnd
- php-mbstring
- php-xml
- php-curl
- php-zip
- php-gd
- php-intl
- composer
- unzip
- wget
- curl
- git
state: present
when: ansible_os_family == "RedHat"
- name: Enable and start required services
service:
name: "{{ item }}"
state: started
enabled: true
loop:
- "{{ 'apache2' if ansible_os_family == 'Debian' else 'httpd' }}"
- mariadb
- name: Create Faveo web root
file:
path: "{{ faveo_webroot }}"
state: directory
mode: "0755"
- name: Clone Faveo source
git:
repo: https://github.com/ladybirdweb/faveo-helpdesk.git
dest: "{{ faveo_webroot }}"
version: master
- name: Install PHP dependencies
command: composer install --no-dev --optimize-autoloader
args:
chdir: "{{ faveo_webroot }}"
.env, database credentials, cron jobs, and TLS before production usage.Any questions?
Feel free to contact us. Find all contact information on our contact page.