Asterisk PBX server questions

Posted on 2011-04-28
Last Modified: 2012-05-11
I need to install Asterisk open source software onto a PC for testing purposes.  I downloaded a recent version of asterisk and it comes in a tar.gz file.  I also read the following paragraph from a website that is supposedly giving instructions on how to set Asterisk up.  It says:

"Asterisk requires a system running with kernel 2.6 and the header files must be present to compile asterisk on our system. Asterisk is written in c; we require gcc with the supporting libs such as termcap, and openssl. Asterisk add-ons require the mysql header files so please install mysql lib, mysql client and the headers to compile asterisk-addons."

A "system running with kernel 2.6" is required, so I assume I can't install Asterisk on a Windows based machine.  Is Kernel 2.6 some sort of operating system?  Or some sort of Linux distribution?  Also, is a tar.gz file just another sort of compressed (zipped) file structure?

Question by:jbobst
    LVL 76

    Accepted Solution

    Correct, you would need to use linux (centos, Ubuntu, check the site and they should include instruction for the types of distribution they support.

    Tar is an Archive using tar
    gz is compressed using gzip

    to expand
    you can do gunzip filename
    or you can do in a single line:
    gzip -cd < filename.tar.gz | tar -vxf -

    The -d for gzip means decompress
    -c means output the results as a data stream

    -x extract
    -v verbose
    -f file from which that data should be read, in this case you want it from the data stream which is what the last minus (-) means.

    LVL 2

    Assisted Solution

    Consider installing TrixBox instead of dealing directly with Asterisk installation.
    You can download TrixBox CD image from, then burn it on a cd and boot your computer from this cd-rom. (Caution: It will erase your hard disk so use a spare computer or install on a virtual machine if you are just testing)
    TrixBox is basically a distribution of Linux specialized for being used as an VoIP server. It uses Asterisk inside. You can try configuring pre-installed asterisk using its configuration files, or simply use Web-interface provided by TrixBox
    LVL 1

    Author Comment

    Thanks for the information!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Suggested Solutions

    Title # Comments Views Activity
    installed old nagios.... 13 60
    Using TAPI 2 43
    Zenoss 2 40
    eFax -- porting # out fails ? 1 20
    Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now