[vc_row css=”.vc_custom_1517227445866{margin-top: 30px !important;}”][vc_message message_box_color=”warning”]Go to the updated version of this article: 3CX on APU: Step by step installation [/vc_message]This How-To shows how you will install 3CX on the entry level appliances of the APU2 line.
Hardware tested:

Prerequisites

  • Prepare the key as shown in our article: Prepare the bootable USB drive for 3CX
  • An ethernet cable inserted into the APU2 device in the NiC near the COM that is working and with the possibility to go out on the internet

Installation
Insert the key into the APU2, connect the COM port and switch on the APU2 by switching on the power supply.
Press F10JTVCYWRyb3RhdGUlMjBiYW5uZXIlM0QlMjIzJTIyJTVE[vc_single_image image=”13723″ img_size=”full” alignment=”center” css=”.vc_custom_1521711313276{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Press 1
When you get to this screen, choose “install” and click the TAB button to edit[vc_single_image image=”13725″ img_size=”full” alignment=”center” css=”.vc_custom_1521711440804{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Delete quiet after i – – – and write: console = ttyS0,115200n8. Send to start the installation.[vc_single_image image=”13727″ img_size=”full” alignment=”center” css=”.vc_custom_1521711496878{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Wait a few more seconds, you will see the boot information flow and then you will get to the actual installation. From here you have to choose all the information to install Debian 9.[vc_single_image image=”13729″ img_size=”full” alignment=”center” css=”.vc_custom_1521711563476{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13731″ img_size=”full” alignment=”center” css=”.vc_custom_1521711611478{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]If you choose the enp1S0 remember that the physical NiC corresponds to the one near the COM port.[vc_single_image image=”13733″ img_size=”full” alignment=”center” css=”.vc_custom_1521711667440{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]The interface configuration via DHCP will start automatically. If DHCP is not present, or if you prefer to give an IP manually, just press <Cancel> in the following screen.[vc_single_image image=”13735″ img_size=”full” alignment=”center” css=”.vc_custom_1521711734970{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Here the DHCP Server was not present, so the network configuration fails.
Click on continue and then enter the IP manually. Remember that if there is DHCP you do not have to take these steps[vc_single_image image=”13738″ img_size=”full” alignment=”center” css=”.vc_custom_1521711998700{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13740″ img_size=”full” alignment=”center” css=”.vc_custom_1521712154798{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Enter the IP you prefer including the subnet mask, gateway and DNS server and then click on continue.[vc_single_image image=”13744″ img_size=”full” alignment=”center” css=”.vc_custom_1521713736728{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13746″ img_size=”full” alignment=”center” css=”.vc_custom_1521713779980{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13749″ img_size=”full” alignment=”center” css=”.vc_custom_1521713856026{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13752″ img_size=”full” alignment=”center” css=”.vc_custom_1521714131882{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13754″ img_size=”full” alignment=”center” css=”.vc_custom_1521714171952{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13756″ img_size=”full” alignment=”center” css=”.vc_custom_1521714213898{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]If the configuration of the Network is successful, and the 3CX has network and internet connection, you can go on, otherwise you will see this error:[vc_single_image image=”13758″ img_size=”full” alignment=”center” css=”.vc_custom_1521714280164{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]By clicking on Continue you will be returned to the main menu with all the steps of the installation. Select again the part of Network, re-enter all the parameters taking care not to make mistakes and then continue with the installation.[vc_single_image image=”13760″ img_size=”full” alignment=”center” css=”.vc_custom_1521714355748{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]If you have passed the part of networking without errors, you will get to the screen to enter the root password (to be repeated 2 times).[vc_single_image image=”13762″ img_size=”full” alignment=”center” css=”.vc_custom_1521714599742{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13764″ img_size=”full” alignment=”center” css=”.vc_custom_1521714635024{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Choose English on the following screen[vc_single_image image=”13766″ img_size=”full” alignment=”center” css=”.vc_custom_1521714713638{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Follow the steps as shown[vc_single_image image=”13771″ img_size=”full” alignment=”center” css=”.vc_custom_1521714874946{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13773″ img_size=”full” alignment=”center” css=”.vc_custom_1521714915726{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13776″ img_size=”full” alignment=”center” css=”.vc_custom_1521715078270{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13778″ img_size=”full” alignment=”center” css=”.vc_custom_1521715113010{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Choose according to your needs: if you do not know what to choose, go ahead as shown[vc_single_image image=”13780″ img_size=”full” alignment=”center” css=”.vc_custom_1521715184810{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Choose in disk on which to install the operating system: be careful NOT to choose the USB stick !![vc_single_image image=”13783″ img_size=”full” alignment=”center” css=”.vc_custom_1521715294978{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Choose according to your needs,if you do not know what to choose, go on as shown[vc_single_image image=”13787″ img_size=”full” alignment=”center” css=”.vc_custom_1521715429590{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13790″ img_size=”full” alignment=”center” css=”.vc_custom_1521715532492{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13792″ img_size=”full” alignment=”center” css=”.vc_custom_1521715577826{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]The installation of the Debian 9 operating system will start and will continue on its own until the end. At the end, remove the key or the installation will restart.[vc_single_image image=”13794″ img_size=”full” alignment=”center” css=”.vc_custom_1521715639978{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13798″ img_size=”full” alignment=”center” css=”.vc_custom_1521715695420{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]This is the GRUB screen, at the end you will have the prompt to log in to the console[vc_single_image image=”13796″ img_size=”full” alignment=”center” css=”.vc_custom_1521715741534{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”][vc_single_image image=”13800″ img_size=”full” alignment=”center” css=”.vc_custom_1521715775660{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]We noticed that, strangely, the switchboard package was not present. It’s not a serious problem because normally a command is enough to install it.
Debian 9 there are two more steps to do. It does not take too much time and it will be enough to follow this guide to complete it.
Unfortunately, there is still no 3cxpbx package in the Debian 9 repositories, so we have to make some minor changes to install it.

First we check if the libcurl3 package is installed:
# dpkg -l | grep libcurl3[vc_single_image image=”13802″ img_size=”full” alignment=”center” css=”.vc_custom_1521715862182{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]If version 7.52.1.5 + deb9u3 is present: remove it because 3cxpbx requires an older version
# apt remove libcurl3

Now let’s proceed to the actual installation by installing the libcurl3 of the old Debian8
wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key | apt-key add – echo “deb http://downloads.3cx.com/downloads/debian stretch main” | tee /etc/apt/sources.list.d/3cxpbx.list

apt-get update

apt-get install libcurl3 = 7.38.0-4 + deb8u5

apt-get install 3cxpbx

At 99% you will be asked how you want to complete the installation[vc_single_image image=”13804″ img_size=”full” alignment=”center” css=”.vc_custom_1521715972150{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]For simplicity, use option 1 (Web) by clicking 1[vc_single_image image=”13806″ img_size=”full” alignment=”center” css=”.vc_custom_1521716032866{margin-top: -20px !important;padding-top: 10px !important;padding-right: 10px !important;padding-bottom: 10px !important;padding-left: 10px !important;background-color: #f4f4f2 !important;}”]Go to the web and complete the installation.

HTTP://<IP DEL VOSTRO APPLIANCE>:5015?V=2

NOTE: If we modify the repository with Stretch, the libcurl3 package will also change at the first upgrade. Do not do this until 3CX releases the package for Debian 9[vc_row]