(Main installation screen)
 
(34 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Download from the Debian.org installation ISO disk image:
 
Download from the Debian.org installation ISO disk image:
  
https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-11.0.0-amd64-netinst.iso
+
https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso
 
+
  
  
Line 29: Line 28:
  
  
[[Image:Installer_debian_03.png|Location]]
+
[[Image:Deb_en_003.png|Location]]
 
+
Select your location
+
  
 +
Select your location
  
 
===Keyboard layout===
 
===Keyboard layout===
  
  
[[Image:Installer_debian_04.png|Keyboard layout]]
+
[[Image:Deb_en_004.png|Keyboard layout]]
 
+
Select keyboard layout. If unsure select the default one.
+
  
 +
Select keyboard layout. If unsure select the default one.
  
 
===Host name===
 
===Host name===
Line 65: Line 62:
 
Set root password
 
Set root password
  
 +
 +
[[Image:Deb_en_009.png|reenter password]]
 +
 +
Re-enter your password
  
 
===User account===
 
===User account===
Line 85: Line 86:
  
  
[[Image:Installer_debian_10.png|User account password]]
+
[[Image:Deb_en_012.png|User account password]]
  
 
Set your username password
 
Set your username password
  
 +
 +
 +
[[Image:Deb_en_013.png|User account password re-enter]]
 +
 +
Re-enter password to verify
  
 
===Partition disk===
 
===Partition disk===
Line 117: Line 123:
  
  
[[Image:Installer_debian_14.png|Partition disk]]
+
[[Image:Deb_en_018.png|Partition disk]]
 
+
Finish partitioning and write changes to disk
+
  
 +
Finish partitioning and write changes to disk
  
 
===Partition disk - write changes===
 
===Partition disk - write changes===
Line 133: Line 138:
  
  
[[Image:Installer_debian_16.png|package manager]]
+
[[Image:Deb_en_020.png|scan extra installation media]]
  
Select the nearest mirror
+
Do not scan another installation media, if you do not need to install additional drivers.
 +
 
 +
 
 +
[[Image:Deb_en_021.png|select country]]
 +
 
 +
Select your country location
  
  
Line 141: Line 151:
  
  
[[Image:Installer_debian_17.png|package manager]]
+
[[Image:Deb_en_022.png|package manager]]
  
Select one of the mirror  
+
Select one of the nearest mirror server
  
  
Line 149: Line 159:
  
  
[[Image:Installer_debian_18.png|package manager]]
+
[[Image:Deb_en_023.png|package manager]]
  
If unsure keep it empty
+
If unsure keep it empty. If you need it, then set a HTTP proxy server to internet access
  
  
Line 157: Line 167:
  
  
[[Image:Installer_debian_19.png|package manager]]
+
[[Image:Deb_en_024.png|package manager]]
  
Do not enable participation - select NO
+
Do not participate in the package usage survey
  
  
Line 165: Line 175:
  
  
[[Image:Installer_debian_20.png|Software selection]]
+
[[Image:Deb_en_025.png|Software selection]]
 
+
Enable only SSH server and Standard system utilities
+
  
 +
Enable only SSH server and Standard system utilities
  
 
===GRUB boot loader===
 
===GRUB boot loader===
Line 178: Line 187:
  
  
===Finish installation===
+
[[Image:Deb_en_028.png|GRUB installation]]
  
 +
Select device for boot loader installation
  
[[Image:Installer_debian_21.png|Finish installation]]
+
===Finish the installation===
 +
 
 +
 
 +
[[Image:Deb_en_029.png|Finish installation]]
  
  
Line 187: Line 200:
  
  
[[Image:Installer_debian_22.png|Login]]
+
[[Image:Deb_en_030.png|Login]]
  
 
Login with user root and your password you selected
 
Login with user root and your password you selected
Line 203: Line 216:
  
  
[[Image:Installer_debian_pbx_01.png|Select language]]
+
[[Image:Deb_en_031.png|Select language]]
  
 
Select your preferred language.  
 
Select your preferred language.  
  
  
[[Image:Installer_debian_pbx_02.png|Confirm language]]
+
===Required packages install===
  
After confirming the script will download and install dependency packages.
 
  
 +
[[Image:Deb_en_032.png|Continue]]
  
===MySQL root password===
+
After confirming the script will download and install dependency packages.
 
+
 
+
[[Image:Installer_debian_pbx_03.png|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!
+
[[Image:Deb_en_033.png|Wireshark]]
  
 +
Allow to capture packets to a non-root users.
  
[[Image:Installer_debian_pbx_04.png|Packages installation]]
 
  
After installation process , you will be notified by information message.
+
[[Image:Deb_en_034.png|Done]]
  
  
Line 231: Line 240:
  
  
[[Image:Installer_debian_pbx_05.png|MySQL server]]
+
[[Image:Deb_en_035.png|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.
 
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.
  
  
[[Image:Installer_debian_pbx_06.png|MySQL root password]]
+
[[Image:Deb_en_036.png|MySQL database name]]
  
Enter the password for the root user of MySQL database. This is the password that you set during installation packages process.
+
Enter the database name for PBX.
  
  
[[Image:Installer_debian_pbx_07.png|MySQL database name]]
+
[[Image:Deb_en_037.png|MySQL username]]
  
Enter the database name for PBX.
+
Enter the username of MySQL database user. We recommend to set the pre-filled value or set your own user. This user will be created during installation process.
  
  
[[Image:Installer_debian_pbx_08.png|MySQL username]]
+
[[Image:Deb_en_038.png|MySQL password]]
  
Enter the PBX username of MySQL database. We recommend set the pre-filled value or set a your own user.
+
Enter the password for MySQL database user.
  
  
[[Image:Installer_debian_pbx_09.png|MySQL password]]
+
[[Image:Deb_en_039.png|MySQL password re-enter]]
 
+
Enter the password for PBX MySQL user.
+
  
 +
Re-enter the password for MySQL database user.
  
 
===Asterisk configuration===
 
===Asterisk configuration===
  
  
[[Image:Installer_debian_pbx_10.png|System user]]
+
[[Image:Deb_en_040.png|System user]]
  
 
Set username for nonroot user which will be used for running main applications. If unsure keep it default to voipsun_pbx
 
Set username for nonroot user which will be used for running main applications. If unsure keep it default to voipsun_pbx
  
  
[[Image:Installer_debian_pbx_11.png|Installation prefix]]
+
[[Image:Deb_en_041.png|Installation prefix]]
  
 
If you would like to install to another folder then default change it. If unsure keep it default.  
 
If you would like to install to another folder then default change it. If unsure keep it default.  
  
 
Example: /opt/voipsunpbx
 
Example: /opt/voipsunpbx
 
  
 
===TFTP server===
 
===TFTP server===
  
  
[[Image:Installer_debian_pbx_12.png|TFTP server]]
+
[[Image:Deb_en_042.png|TFTP server]]
 
+
Set TFTP folder path. If unsure keep it default.
+
  
 +
Set TFTP folder path. If unsure keep it default.
  
 
===Timezone / date settings ===
 
===Timezone / date settings ===
  
  
[[Image:Installer_debian_pbx_14.png|Timezone]]
+
[[Image:Deb_en_041a.png|Timezone]]
  
 
Set your timezone / date accordingly.  
 
Set your timezone / date accordingly.  
Line 309: Line 315:
 
[[Image:Installer_debian_pbx_19.png|Timezone]]
 
[[Image:Installer_debian_pbx_19.png|Timezone]]
  
First day of week.  
+
First day of week.
 
+
  
 
===SSL certificates===
 
===SSL certificates===
Line 317: Line 322:
  
  
[[Image:Installer_debian_pbx_20.png|SSL certificate]]
+
[[Image:Deb_en_043.png|SSL certificate]]
 
+
Fill in accordingly or keep it default.
+
  
 +
Fill in accordingly or keep it default.
  
 
===Asterisk installation ===
 
===Asterisk installation ===
Line 326: Line 330:
 
In this step the script will download last versions of  
 
In this step the script will download last versions of  
  
*Asterisk 11
+
*Asterisk 16
 
*DAHDI - timer, analog/digital card drivers
 
*DAHDI - timer, analog/digital card drivers
 
*LibPRI - ISDN library (optional)  
 
*LibPRI - ISDN library (optional)  
Line 333: Line 337:
  
  
[[Image:Installer_debian_pbx_21.png|LibPRI]]
+
[[Image:Deb_en_044.png|LibPRI]]
  
 
If you do not have digital card (ISDN) you can skip this  
 
If you do not have digital card (ISDN) you can skip this  
  
  
[[Image:Installer_debian_pbx_22.png|Summarize]]
+
[[Image:Deb_en_045.png|Summarize]]
  
 
List of packages which will be installed.  
 
List of packages which will be installed.  
 +
 +
 +
[[Image:Deb_en_046.png|LIBVPB1 setup]]
 +
 +
Enter your ITU-T region telephone code.
  
  
Line 363: Line 372:
 
[[Image:Installer_debian_pbx_34.png|WEB licence]]
 
[[Image:Installer_debian_pbx_34.png|WEB licence]]
  
Paste the key into form and click on the Recheck button. You will see the login page.
+
Paste the key into form and click on the Recheck button. You will be redirected to the admin GUI.
  
  
 
===First login===
 
===First login===
  
 +
[[Image:Deb_en_049.png|user warning]]
 +
 +
Because, you do not have any user defined, the warning window appears.
 +
 +
 +
Create user with admin privilegies.
  
[[Image:Installer_debian_pbx_27.png|Login]]
 
  
Enter default user/password - admin / admin and select language
+
[[Image:Deb_en_050.png|Users]]
  
Create your admin username  
+
Set your username and check "Is administrator"
  
 +
After user creation logout and log into GUI with new user.
  
[[Image:Installer_debian_pbx_28.png|Users]]
 
  
Set your username and check "is admin"
+
[[Image:Deb_en_051.png|Login]]
  
After user creation go to settings and system configuration
 
  
 +
Now go to the menu Settings and System configuration
  
 +
[[Image:Deb_en_052.png|System configuration]]
  
[[Image:Installer_debian_pbx_29.png|Systémová konfigurace]]
+
Change the IP address (PBX IP) from 127.0.0.1 to your real IP address.  
  
Change your IP adress from 172.0.0.1 to your real IP address.
 
  
 
Select settings and generate configuration  
 
Select settings and generate configuration  
  
  
[[Image:Installer_debian_pbx_30.png|Configuration generator]]
+
[[Image:Deb_en_053.png|Configuration generator]]
  
  
  
[[Image:Installer_debian_pbx_31.png|Chybová hláška]]
+
[[Image:Deb_en_054.png|Asterisk warning]]
  
Ignor error "Asterisk is not running" and reboot your server with command on console: <code>reboot</code>.
+
Ignore error "Asterisk not running" and reboot your server with command on console: <code>reboot</code>.
  
  

Latest revision as of 10:34, 11 October 2021

Installation - Debian 11 Bullseye


OS installing

Download from the Debian.org installation ISO disk image:

https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso


Main installation screen

Main menu

Select install option

Language

Language selection

Choose language


Location

Location

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


reenter password

Re-enter your 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


User account password re-enter

Re-enter password to verify

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

scan extra installation media

Do not scan another installation media, if you do not need to install additional drivers.


select country

Select your country location


Package manager - Archive

package manager

Select one of the nearest mirror server


Package manager - proxy settings

package manager

If unsure keep it empty. If you need it, then set a HTTP proxy server to internet access


Package manager - popularity-contest

package manager

Do not participate in the package usage survey


Software selection

Software selection

Enable only SSH server and Standard system utilities

GRUB boot loader

GRUB

Select YES


GRUB installation

Select device for boot loader installation

Finish the installation

Finish installation


Login to the installed system

Login

Login with user root and your password you selected

PBX installation

Run this commands which will install installation script

wget http://www.voipsun.cz/pbx/install_debian_11.sh
chmod +x install_debian_11.sh
./install_debian_11.sh


Select language

Select language

Select your preferred language.


Required packages install

Continue

After confirming the script will download and install dependency packages.


Wireshark

Allow to capture packets to a non-root users.


Done


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 database name

Enter the database name for PBX.


MySQL username

Enter the username of MySQL database user. We recommend to set the pre-filled value or set your own user. This user will be created during installation process.


MySQL password

Enter the password for MySQL database user.


MySQL password re-enter

Re-enter the password for MySQL database 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

Timezone

Set your timezone / date accordingly.


Timezone

Continet settings.


Timezone

City


Timezone

Time format


Timezone

Date format.


Timezone

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 16
  • DAHDI - timer, analog/digital card drivers
  • LibPRI - ISDN library (optional)
  • SpanDSP - fax library
  • PtLIB - Portable Tools Library


LibPRI

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


Summarize

List of packages which will be installed.


LIBVPB1 setup

Enter your ITU-T region telephone code.


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 172.16.205.134. 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 info@voipsun.cz 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 be redirected to the admin GUI.


First login

user warning

Because, you do not have any user defined, the warning window appears.


Create user with admin privilegies.


Users

Set your username and check "Is administrator"

After user creation logout and log into GUI with new user.


Login


Now go to the menu Settings and System configuration

System configuration

Change the IP address (PBX IP) from 127.0.0.1 to your real IP address.


Select settings and generate configuration


Configuration generator


Asterisk warning

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


Reboot

After restart the server, your PBX is completelly installed.

logo

Prague // Plzenska 207

STAY TUNED!
CONNECT WITH US.

COMPANY