How to install FreePBX on Docker with RHEL

Опубликовано: 05 Август 2026
на канале: Logikanet
584
7

This is a complete installation tutorial showing how to install FreePBX on a Docker container using RedHat. In the video, I had problems between Asterisk21 and MariaDB v11, I later realized the problem and fixed it by installing MariaDB v10 and re-installing FreePBX. Enjoy!

RedHat UBI9 image : https://hub.docker.com/r/redhat/ubi9
FPBX v17 : http://mirror.freepbx.org/modules/packages...
Asterisk Downloads : https://www.asterisk.org/downloads/asteris...
Amazon EC2: https://us-east-2.console.aws.amazon.com/ec2
MariaDB-server and ODBC connector: https://mariadb.com/downloads/
mlocate RPM package: https://www.rpmfind.net/linux/rpm2html/sea...)
PHP-8.2 installation guide: https://jumpcloud.com/blog/how-to-install-...

00:00 - 08:18 = Launching AWS EC2 instance
08:18 - 10:43 = connecting via SSH and update packages
10:43 - 13:22 = download/run RedHat docker image
13:22 - 15:00 = connect with docker container and update packages
15:00 - 20:01 = install Asterisk and requirements
20:01 - 21:58 = install php
21:58 - 25:42 = create swap
25:42 - 31:00 = finish installing php
31:00 - 38:00 = finish Asterisk compilation
38:00 - 42:36 = install Apache
42:36 - 44:20 = download FPBX
44:20 - 49:50 = MariaDB-11-server installation(BUG)
49:50 - 58:50 = install FPBX(BUG)
58:50 - 01:09:21 = fix php-fpm permissions
01:09:21 - 01:14:46 = install all fpbx modules
01:14:46 - 01:20:29 = basic fpbx setup
01:20:29 - 01:22:48 = open firewall
01:22:48 - 01:24:10 = bad Zoiper tests [1]
01:24:10 - 01:28:06 = install ODBC
01:28:06 - 01:30:20 = bad Zoiper tests [2]
01:30:20 - 01:35:46 = MariaDB-10-server installation(Good)
01:35:46 - 01:44:48 = re-install FPBX
01:44:48 - 01:47:33 = good Zoiper tests
01:47:33 - 01:50:43 = re-install ODBC
01:50:43 - 01:57:42 = install fail2ban
01:57:42 - 01:58:46 = fpbx auto-boot script
01:58:46 - 02:00:39 = test start/stop container
02:00:39 - 02:01:50 = set apache auto-boot
02:01:50 - 02:07:55 = create docker image
02:07:55 - 02:09:46 = tag and push to dockerHub