Sunday, December 12, 2010

Installing trixbox in VirtualBox

Hello again, thanks for bearing with me.

I'm going to explain step-by-step how to install trixbox in VirtualBox, this guide
assumes you have VirtualBox installed, if not, you can download it from here.

Virtual machine setup

  1. Grab the latest trixbox ISO from here, version was latest at the time I wrote this tutorial.

  2. Start VirtualBox

  3. Click New

  4. You'll see this dialog, click next:

  5. In Name type trixbox, In OS Type select Operating System: Linux, Version: Red Hat
    and click Next.

  6. 512MB of memory is more than enough, if you've low memory in your PC, even 256MB should suffice, click Next.

  7. Now, let's create a virtual hard drive for trixbox, click Next

  8. The following wizard will start, click Next.

  9. Make sure Dynamically expanding storage is checked, this way the disk will
    expand on demand, this saves space.

  10. Pick a location into which you'd like to store the virtual disk file.
    The size of 8.00GB should suffice, remember that it will not really take up
    the whole 8.00GB since we've selected Dynamically Expanding Storage earlier.
    After initial installation, trixbox virtual drive consumes around 1.8GB.
    Click Next.

  11. Click Finish in the summary dialog:

  12. Click finish again in the Create New VM (Virtual Machine) summary dialog:

Configure VM

Now that we have created a virtual machine, we need to configure it in order to achieve the following goals:

  1. Make the VM boot from the trixbox ISO so we can install it.

  2. Make our the VM see our LAN so we'll be able to connect to it from
    the Outside world.

Let's accomplish these:

  1. Open settings dialog by selecting trixbox and clicking Settings:

  2. From the left pane, select Storage and on the right under IDE Controller choose Empty and click the folder icon.

  3. In the Virtual Media Manager click Add and browse for trixbox ISO file you've downloaded earlier.

  4. After choosing the trixbox ISO, click Select.

  5. The steps above made that the ISO will appear as a bootable CD-ROM to the machine.
    Now we need to make our machine visible in the network.
    To do so, on the left pane click Network and then on the right choose
    Attached to: Bridged Adapter and under Name choose your active network interface card, in my case I had to choose my Ralink WiFi card.

    You can use ipconfig /all in cmd to determine which card is connected to the network according to it's IP in the network.
    Close the settings dialog afterwards by clicking OK.

Installing trixbox

Now we're finally ready to install trixbox.
Before we start you may receive informative messages from VirtualBox regarding
the mouse being not active and the Host key being Right Control.

The host key (Right Ctrl) allows you to exit the VM and return to Windows.
If you have no mouse active in the VM use the Tab key to switch between
inputs and list boxes (more on that soon).

  1. Click Start:
  2. In the boot screen hit Enter.

  3. Choose your keyboard layout, not really important in truth since we'll be
    doing our configurations using a web browser, the keyboard layout is internally in

    To switch between Ok, Back and the list box use the Tab key.

    Focus on OK and hit Enter when ready.

  4. Choose your time zone, again, to move between buttons use the Tab key,
    focus on OK and hit Enter when ready to continue:

  5. Enter you root account password (Don't forget it!), focus on OK and hit Enter when done.

  6. Grab a beer while trixbox installs:

  7. The VM will reboot, now we need to remove the virtual CD-ROM or else we'll be stuck in an infinite setup loop, to do so go to the Devices Menu - remember to hit Right Ctrl if you're inside the VM to return keyboard and mouse focus to windows).
    In the devices menu choose CD/DVD Devices and click Unmount CD/DVD Device.

  8. Now, reboot - go to the Machine menu and choose Reset:

  9. After reboot you'll see this startup screen, hit Enter:

  10. OK, now wait a couple of seconds until Trixbox boots, you should see the following
    login screen:

    ***NOTE the IP might be different, in case
    you don't see an IP but only http:// you may have not setup the network card correctly.
    In that case, shut down the machine by choosing Machine>ACPI Shutdown, go to
    Settings, there go to Network and switch the network interface card to another one.
    Start the machine again and see if you get an IP address.

End of part II

I hope this tutorial has been useful to you. In the next one we'll be configuring
trixbox and testing it with a free softphone, called X-lite, to see if networking


  1. hi and thanks for your tutorial.
    I have an issue: i got stuck at point 10.
    After the reboot i dont manage to see the login prompt.
    it is stuck on:

    Running /var/trixbox_load/firstboot/

    do you have any clue on what the problem can be, please?
    greetings from italy

    1. This comment has been removed by the author.

  2. Hey Guys, I have read your blog article and agree with your views about Cheap Calls. Whatever information you are providing about Cheap Calls. Really, it is preety well.

  3. Hi, This blog is very helpful to know how to make cheap calls but I want to suggest the best app to make a cheap calls ie smartgroschen. You can use to smartgroschen to make cheap calls.

  4. I agree to Danis... You can make phone calls from your android tablet/ipad (without sim card) using voip app. I use Smartgroshen app, simple, good quality of voice and sync with your phone contacts.

  5. Thanks for telling in detail and with screen shots..very helpful guidance..
    trixbox resellers in UK

  6. Hi, Thanks for your interesting blog. Keep up the great work! I also have a site & blog about trixbox
    , please feel free to visit.

  7. Thanks for telling us how to do cheap calls in detail, this will be helpful for everyone
    trixbox pbx | Business phone system

  8. hi and thanks for your tutorial.
    I have an issue: i got stuck at point 10.
    After the reboot i dont manage to see the login prompt.
    it is stuck on:

    Running /var/trixbox_load/firstboot/

    do you have any clue on what the problem can be, please?
    David from canada

  9. I also have same problem with VMWare Workstation 12. Running on Windows 10 Home. Tried on both SSD and SATA physycal hard drive.

  10. 2016 Best juicers ! Juice as we know it could change forever as the 2016 best juicers offer a selection unparalleled with previous years. Juicers have always been in fashion.
    Best juicer machine

  11. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
    visit page