Installation - Debian 9 Stretch

OS installing

This is an outdated system. Please use an installation manual on the

Main installation screen

Main menu

Select install option


Language selection

Choose language



Select your location

Keyboard layout

Keyboard layout

Select keyboard layout. If unsure select the default one.

Host name

Host name

Set host name

Domain name

Domain name

If unsure keep it empty.

Root password

root password

Set root password

User account

User account

Set name of your user

User account login name

User login name

Set your user login name

User account password

User account password

Set your username password

Partition disk

Partition disk

Partition your disk and if unsure select Guided - use entire disk

Partition disk - select disk

Partition disk

Select desired disk you want to install system on. All data will be lost!

Partition disk - select disk

Partition disk

Select all files in one partition

Partition disk - overview

Partition disk

Finish partitioning and write changes to disk

Partition disk - write changes

Partition disk

Confirm writing changes to disk.

Package manager

package manager

Select the nearest mirror

Package manager - Archive

package manager

Select one of the mirror

Package manager - proxy settings

package manager

If unsure keep it empty

Package manager - popularity-contest

package manager

Do not enable participation - select NO

Software selection

Software selection

Enable only SSH server and Standard system utilities

GRUB boot loader


Select YES

Finish installation

Finish installation

Login to the installed system


Login with user root and your password you selected

PBX installation

Run this commands which will install installation script

chmod +x

Select language

Select language

Select your preferred language.

Confirm language

After confirming the script will download and install dependency packages.

MySQL root password

MySQL root password

During installation you will be prompted for MySQL root password. Recommended is to put some random password.

Remember this password for later use otherwise you will need to reinstall it! 

Packages installation

After installation process , you will be notified by information message.

MySQL database - server

MySQL server

Enter an address or FQDN of the MySQL server. In our case, the PBX will be installed on the same server where it is installed MySQL server. For this reason, leave the value 'localhost' and press ENTER to confirm.

MySQL root password

Enter the password for the root user of MySQL database. This is the password that you set during installation packages process.

MySQL database name

Enter the database name for PBX.

MySQL username

Enter the PBX username of MySQL database. We recommend set the pre-filled value or set a your own user.

MySQL password

Enter the password for PBX MySQL user.

Asterisk configuration

System user

Set username for nonroot user which will be used for running main applications. If unsure keep it default to voipsun_pbx

Installation prefix

If you would like to install to another folder then default change it. If unsure keep it default.

Example: /opt/voipsunpbx

TFTP server

TFTP server

Set TFTP folder path. If unsure keep it default.

Timezone / date settings


Set your timezone / date accordingly.


Continet settings.




Time format


Date format.


First day of week.

SSL certificates

SSL certificate generator for the WEB server

SSL certificate

Fill in accordingly or keep it default.

Asterisk installation

In this step the script will download last versions of

  • Asterisk 11
  • DAHDI - timer, analog/digital card drivers
  • LibPRI - ISDN library (optional)
  • SpanDSP - fax library
  • PtLIB - Portable Tools Library


If you do not have digital card (ISDN) you can skip this


List of packages which will be installed.

Final summarize

License installation

After installing the PBX, check the IP address of the control panel with the ip command. You will get a similar listing:

Finalní souhrn

In this case, the IP address of the installed PBX on the network interface eth0 is Your IP address will be different.

In the next step, please enter the PBX IP address to navigate bar in your internet browser (recommended Chrome or Firefox). You will see installation web page with license window.

WEB licence

Send email to with server ID information and you will receive proper license key.

WEB licence

Paste the key into form and click on the Recheck button. You will see the login page.

First login


Enter default user/password - admin / admin and select language

Create your admin username


Set your username and check "is admin"

After user creation go to settings and system configuration

Systémová konfigurace

Change your IP adress from to your real IP address.

Select settings and generate configuration

Configuration generator

Chybová hláška

Ignor error "Asterisk is not running" and reboot your server with command on console: reboot.


After restart the server, your PBX is completelly installed.


Prague // Plzenska 207