0% found this document useful (0 votes)
36 views4 pages

Installing 3CX Using 3CX Debian ISO

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

Installing 3CX on Debian from ISO | Configuration Guide https://www.3cx.

com/docs/manual/installing-debian-linux-pbx/

Home | Configuration guides and docs | 3CX Administration Manual | Installing 3CX using 3CX Debian ISO

Installing 3CX using 3CX Debian ISO


● Introduction
● Step 1: Check System Requirements
● Step 2: Check VM platform requirements
● Step 3: Check Network & Firewall Requirements
● Step 4: Install Debian for 3CX
● Step 5: Upload the Configuration File
● Step 6: Configure Split DNS
● Step 7: Configure your Firewall
● See Also

Introduction
3CX created a Debian Linux ISO to make installation faster and management easier. You
must dedicate your Debian Linux instance to 3CX.

● Do not install other packages or change the configuration.


● Do not install system updates via the command line! This is done by the 3CX system via
updates after they have been tested!
● Any changes to the system will render your installation unsupported!

Step 1: Check System Requirements


● Υour machine needs at least one dedicated CPU or 2vCPU cores and two GB of RAM. If you are
self-hosting your machine and your hoster is using a shared CPU, then you need two cores!
● Review the suggested hardware specifications to allocate additional CPU time and RAM
resources based on:

● Number of simultaneous calls the system handles.


● Number of active users - 100 Web Client active sessions is more demanding than 100
occasional calls via IP phones.
● Call recording use - stresses the system for audio mixing and file storage.

● 3CX can be installed on any hardware that runs Debian 12. If you want to do a barebone install
ensure that the hardware works with Debian 12 and that the hardware vendor will support you
with any issues. We can not assist with any issues in installing Debian 10 on barebone hardware.
● Do not configure a virtual network, VPN interface or the TeamViewer VPN option on the 3CX host.

Step 2: Check VM platform requirements


3CX is tested and supported to run as a Virtual Machine on these hypervisor platforms:

1 of 4 6/23/2024, 9:23 AM
Installing 3CX on Debian from ISO | Configuration Guide https://www.3cx.com/docs/manual/installing-debian-linux-pbx/

● VMware vSphere Hypervisor (ESXi) 6.5u1 and above, with VMWare Tools package installed.
● Microsoft Hyper-V Server (6.2) and above capable of running Debian 12 - see our Hyper-V
Page for required settings.
● KVM 2.8 and up.
● Citrix XenServer 7.0 and above.

● Avoid using 3CX on converted VMs (P2V) due to possible timing issues, causing the guest OS
not to sync with the hypervisor’s timer.

Step 3: Check Network & Firewall Requirements


● On premise installs are only supported on properly configured RFC 1918 private networks, i.e.
172.16.0.0/12, 10.0.0.0/8 or 192.168.0.0/16 IP range.
● The PBX needs to be configured with a dedicated public IP.
● On premise installs require Split DNS so that the 3CX FQDN resolves on both the internal and the
external network.
● Installing 3CX on a machine behind a NAT device requires port forwarding. See the Firewall &
Router Configuration Guide.

Step 4: Install Debian for 3CX


Installing 3CX on Debian Linux

To install Debian for 3CX:

1. Download the latest 3CX ISO. For V20 ISO click here. For V18 ISO click here.
2. If you are using a hypervisor/virtualized OS, set the CD option to boot from the ISO and ensure
the CD drive is set to connect on startup. If you are installing on a mini PC, then create a bootable
image, plug it into one of the available Mini PC’s USB ports and set the BIOS to boot from the
USB drive to start the installation.
3. Boot your system with the downloaded 3CX ISO, select “Install” from the main boot screen and
press the <Enter> key.
4. Important: You need to configure a static IP address for the 3CX host machine. Select <Go
Back> or press the ‘ESC’ key when asked for the hostname to first set the IP address of the
system and then configure the hostname. The system’s IP address affects the running PBX
services, connected clients and IP phones. To change the IP address on a running 3CX system,
you need to reboot the machine and then re-provision the connected apps and IP phones. If you
don’t want to set a static IP address, proceed to No. 6.

Manually configuring network

5. Select “Configure Network Manually” and press the <Enter> key to set the system's static IP
address. Select <Continue> to enter the network netmask and select <Continue>. Then, enter the
network default gateway IP address and select <Continue>. Finally, enter the name server(s) IP
address(es) and select <Continue>.
6. Enter a hostname for the computer so you can easily identify it on your network, using the

2 of 4 6/23/2024, 9:23 AM
Installing 3CX on Debian from ISO | Configuration Guide https://www.3cx.com/docs/manual/installing-debian-linux-pbx/

characters 'a' to 'z', numbers '0' to '9' and the '-' character.
7. Enter a domain name - use the same domain you used on other computers in the network, e.g.
mycompany.com. Select <Continue> to proceed.
8. Select the default system language and press the <Enter> key.
9. Select your geographical location from the location menu and press the <Enter> key to
proceed.
10. Specify the root account password for the machine and select <Continue> to re-enter the
password for verification purposes. Finally, select <Continue> to proceed. Note: Set
a strong password for the root user, as this account has no restrictions!
11. Select the system timezone and press the <Enter> key to proceed.

Partitioning method on Debian Linux for 3CX ISO

12. Partition your disk, selecting “Guided - use the entire disk”. Press the <Enter> key to proceed.
13. Confirm your disk selection by pressing the <Enter> key. If you are installing on a bare metal
machine, all data on your disk will be erased!
14. Select the “All files in one partition” partitioning scheme and press the <Enter> key to proceed.
15. Select “Finish partitioning and write changes to disk” and press the <Enter> key to proceed
to the 3CX Debian installation.
16. Select ‘Yes’ and press the <Enter> key to confirm writing changes to the disk. The install
process can take about 5-20 minutes, depending on your machine’s performance. When the
Debian installer finishes, the machine is rebooted and the 3CX installation starts automatically.
17. Now choose the “3CX Version xx” to install and then press <OK>. Agree to the “3CX License
Agreement” to proceed.

Step 5: Upload the Configuration File

After the 3CX Debian installation finishes, you need to upload the configuration file to complete the
installation.

1. If you do not have a configuration file yet, go to www.3cx.com/install/


2. Login with your 3CX account and configure an On Premise / Self Hosted PBX. At the end of the
process, you will be given a link to the configuration file. You can copy the link or download the
file. For more information see Installing 3CX
3. You can choose to either:

a. Use a web browser on http://<ip of machine>:5015 by selecting option 1


b. Alternatively use the command line by selecting option 2

4. Once your installation is ready, you will be prompted to set your password. Login to the PBX using
the email you used to register.

3 of 4 6/23/2024, 9:23 AM
Installing 3CX on Debian from ISO | Configuration Guide https://www.3cx.com/docs/manual/installing-debian-linux-pbx/

Step 6: Configure Split DNS


You will need to configure the 3CX FQDN to work both internally on your local network and externally
outside of your network. Read how to configure split DNS here.

Step 7: Configure your Firewall


In order to configure a SIP trunk or connect remote phones, you will need to configure your firewall to
allow voice traffic in and out of your network. See our Firewall configuration guide.

See Also
● Learn how to Create and Convert OpenSSH Keys.
● Installing 3CX on Windows.

Last Updated
This document was last updated on 11 June 2024
https://www.3cx.com/docs/manual/installing-debian-linux-pbx/

Discuss this article

Get 3CX - Absolutely Free!


Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

4 of 4 6/23/2024, 9:23 AM

You might also like