Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Server and Operating system Selection

Selecting your server

Sangoma cards are compatible with most commercially available servers and motherboards on the market.
Our cards are available in both PCI and PCI express versions and are backwards compatible (i.e. 16x, 8x, 4x, 2x)
Also available are different size brackets for 1U and 2U server form factors.

For Sangoma analog card installations using FXS modules and/or remora expansion boards, please verify that your server has available molex power connection from internal power supply


Selecting your Linux Operating system

Sangoma cards are compatible with most official Linux distributions and kernels (i.e. CentOS, Debian, Ubuntu) 32 and 64bit.
Sangoma recommends the use of CentOS as our R&D and QA departments use this distribution on a frequent basis.

Virtual environments are not supported

 

Below are instructions for CentOS Installation.  If you would like use a different Linux Distro, please visit the appropriate online resources.

  1. Download latest CentOS distribution:
    32-bit: http://isoredirect.centos.org/centos/6/isos/i386/
    64-bit: http://isoredirect.centos.org/centos/6/isos/x86_64/
  2. After downloading the CentOS ISO, simply burn the image on CD/DVD using your choice of burning utility
  3. Boot your server with the CD/DVD containing your CentOS ISO.  Verify your BIOS settings allow for Boot from CD/DVD ROM drive
  4. Follow the on-screen prompts to Install your new operating system. You may wish to visit some online step-by-step tutorials (google:))
  5. Once completed, remove the CD/DVD from your server and reboot your server and log in to your freshly installed operating system

 

Preparing your Operating system for software packages

After installing your Linux operating system, you must prepare your server with the following software requirements before continuing. 

To Install required system dependencies simply copy and paste the below string directly into your Linux command line. The string will automatically download and install missing dependencies on your server.  

You must have internet connection for this step

 

Select only the option that applies to your environment:


CentOS (RedHat distros)

yum -y install kernel-devel-$(uname -r) libtool* make gcc patch perl bison flex-devel gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake* autoconf libxml2-devel cmake


Ubuntu/Debian

apt-get -y install gcc g++ automake autoconf libtool make libncurses5-dev flex bison patch libtool autoconf linux-headers-$(uname -r) libxml2-devel cmake

 

Download Software Packages

The sources for the following three packages are required:

  • Asterisk  (pbx software)
  • DAHDI    (signaling stack)
  • libPRI      (required only for PRI/BRI cards) 

 

  1. Navigate to the /usr/src/ directory which will be used to store the downloaded packages. To do this type the following in your Linux command line, then press <enter>:
    1. -> cd /usr/src
  2. Download Asterisk, DAHDI and LibPRI by copy & pasting the following (without the quotes ""), then press <enter>:
    1. asterisk: " wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz "
    2. DAHDI:    " wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz "
    3. LibPRI:    " wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz "

Install Software Packages

The following instructions will guide you to un-compress the downloaded '.tgz' files and install using make command.

Verify you are still inside the /usr/src/ directory by typing 'pwd' in the Linux command line. If you are not, navigate inside by typing 'cd /usr/src/' then press <enter>

 

  1. DAHDI Installation
    -> Untar the download DAHDI software package, and then install. Type the following in the /usr/src/ directory:
    1. tar xvzf dahdi-linux-complete-<version>.tgz
    2. cd dahdi-linux-complete-<version>
    3. make
    4. make install
    5. make config

       

  2. LibPRI Installation (required for PRI/BRI only)
    -> Untar the download DAHDI software package, and then install. Type the following in the /usr/src/ directory: 
    1. tar xvfz libpri-<version>.tgz
    2. cd libpri-<version>
    3. make
    4. make install

  3. Asterisk Installation
    -> Untar the download Asterisk software package, and then install. Type the following in the /usr/src/ directory:
    1. tar xvfz asterisk-<version>.tgz
    2. cd asterisk-<version>
    3. ./configure
    4. make
    5. make install
    6. make samples (will create new configure files and erase any previous configuration)






 






  • No labels