Easy Ubuntu 10.04

From FusionPBX
Revision as of 21:12, 28 December 2010 by Soapee01 (talk | contribs) (Bugs and Getting Help)
Jump to: navigation, search

Easy_Ubuntu_10.04

Download Ubuntu 10.04 Server LTS (Lucid)

http://www.ubuntu.com/server/get-ubuntu/download

    Select Ubuntu 10.04 LTS Long Term Support
    Choose 32 bit or 64 bit depending on your hardware

When you install ubuntu, you should select the "Manual package selection" option. This way we can keep the install to the bare minimum. Just quit tasksel during the install.

Get the latest install script

Project: http://sourceforge.net/projects/fusionpbxinstal/files/

Note: to download with wget, find the latest script, get the download direct link from sourceforge.

cd /usr/local/bin

example:

wget "https://downloads.sourceforge.net/project/fusionpbxinstal/install_fusionpbxv4.3.1.sh?r=&ts=1293141938&use_mirror=iweb" -O install_fusionpbx

chmod 744 install_fusionpbx

Check the options:

sudo install_fusionpbx 
  This script should be called as: 
    install_fusionpbx option1 option2 
      option1: 
        install-freeswitch 
        install-fusionpbx 
        install-both 
        upgrade-freeswitch 
        upgrade-fusionpbx 
        version|--version|-v 

      option2: 
        user: option waits in certain places for the user to check for errors 
        auto: tries an automatic install. Get a cup of coffee, this will take a while. FOR THE BRAVE! 
sudo install_fusionpbx --version
   Version 4.3.1 - 2010 December 23. WAF License
 

Start the install.

sudo install_fusionpbx install-both user

This will take a while. It will grab the latest FreeSWITCH git, and compile it with the necessary modules for FusionPBX. It sets permissions properly, and grabs the latest FusionPBX from SVN. Running as user means user interactive. It pauses in specific places so you can see what's going on. It installs all necessary dependencies, and adds Fail2Ban (for FreeSWITCH), apache2, php5, and sqlite (for FusionPBX). Everything should automatically configure. This process takes a while...

Bugs and Getting Help

soapee01 on #fusionpbx (freenode) wrote this script. For help, go there. Bugs and feature requests can be handled on the sourceforge project page:

http://sourceforge.net/projects/fusionpbxinstal/

Voicemail to Email

Versions prior to 4.3.2 did not install php5-cli by default. This caused the fusionpbx install to miss the "PHP Directory" when it configures FreeSWITCH. The value should be

/usr/bin

The value was

/var/www/fusionpbx
  1. Log into FusionPBX
  2. Click System -> System Settings
  3. Edit the Domain
  4. Set "PHP Directory" to /usr/bin
  5. Save/Apply Settings.
  6. Now apply the fix to FreeSWITCH:
vim /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml

and edit the line:

<param name="mailer-app" value="/var/www/fusionpbx /var/www/fusionpbx/secure/v_mailto.php"/>

to be:

<param name="mailer-app" value="/usr/bin/php /var/www/fusionpbx/secure/v_mailto.php"/>

Restart FreeSWITCH

/etc/init.d/freeswitch restart

ISO

This is a LiveCD for installing FreeSWITCH/FusionPBX. It's currently in work (64 bit and 32 bit). These are beta. They have been tested with vmplayer, but to my knowledge not yet installed on real hardware. Feedback requested: /msg soapee01 on Freenode (#fusionpbx). 2010-12-20

Beta1

Issues with ISO

  1. openssh key problem. first boot after install should run 'dpkg-reconfigure openssh-server'

Issues with FusionPBX install script on the iso [v4.2]

  1. under case upgrade-freeswitch, variables were not set properly. It upgraded fusionpbx...
  2. fail2ban error fixed in latest FS git. remove associated text
  3. have install check for /etc/fail2ban. reinstall (as in from iso) duplicates some txt
  4. remove or fix fusionpbx upgrade code. it either needs to log in and then update and run the schema upgrade. or get rid of it.
  5. get logrotate working... let's not fill the disk.

Hopefully 4.3 will be out in the next day or two, and beta2 ISOs released soon after. 2010-12-20

32 Bit
http://dl.dropbox.com/u/17006469/fusionpbx_ub_i386-beta1.iso
http://dl.dropbox.com/u/17006469/fusionpbx_ub_i386-beta1.iso.md5
64 Bit
http://dl.dropbox.com/u/17006469/fusionpbx_ub_amd64-beta1.iso
http://dl.dropbox.com/u/17006469/fusionpbx_ub_amd64-beta1.iso.md5