Difference between revisions of "Easy Ubuntu 10.04"

From FusionPBX
Jump to: navigation, search
(ISO)
 
(167 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Easy_Ubuntu_10.04
+
This page is deprecated.
  
==Download Ubuntu 10.04 Server LTS (Lucid)==
+
*script: [[Easy_FusionPBX]]
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.
+
*Iso: [[Ubuntu_ISO]]
  
== 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.
+
==Older Versions==
cd /usr/local/bin
+
Please see [[Easy_Ubuntu_10.04_Old_Script_Versions]] for Errata, errors, and fixes.
  
example:
 
wget "http://downloads.sourceforge.net/project/fusionpbxinstal/install_fusionpbxv4.2.sh?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ffusionpbxinstal%2Ffiles%2F&ts=1292860515&use_mirror=cdnetworks-us-2" -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
+
* Old ISO's Please see:[[Easy_Ubuntu_10.04_Old_CD_Versions]]
    Version 4.2 - 2010 December 17. 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 interactiveIt pauses in specific places so you can see what's going onIt installs all necessary dependencies, and adds Fail2Ban (for FreeSWITCH), apache2, php5, and sqlite (for FusionPBX).  Everything should automatically configure.  This process takes a while...
+
== PortAudio ==
 +
Have fun with your sound card.
 +
Make sure the modules are loaded
 +
lsmod |grep snd
 +
  lspci
 +
It's already compiled (script and iso), but alsa is not present.
 +
  apt-get install alsa alsa-utils alsa-tools
 +
You'll need to add your users to the audio group.
 +
  adduser www-data audio
 +
Run alsamixer and unmute the channgels (with M) and crank the volume all the way up.
 +
alsamixer
 +
Reboot is now required (/etc/init.d/alsa might work, didn't for me)
 +
Check that the soundcard is there.
 +
  cat /proc/asound/cards
 +
Try playing a file from the CLI
 +
aplay /usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav
 +
It should be working.
 +
[http://howto.blbosti.com/2010/03/ubuntu-server-install-alsa-sound-and-moc-music-on-console/ reference with nice alsamixer pics]
  
== Bugs and Getting Help ==
+
Enable the module in FusionPBX
soapee01 on #fusionpbx (freenode) wrote this script.  For help, go there.  Bugs and feature requests can be handled on the sourceforge  project page:
+
*System->Modules->PortAudio
 +
**Enable it
 +
**Start it
  
http://sourceforge.net/projects/fusionpbxinstal/
+
[http://wiki.freeswitch.org/wiki/FreeSwitch_Enpoint_Portaudio#Example_commands Example Port Audio Commands]
  
== ISO ==
+
Tested with VMWare Player 2011/02/27
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:
+
==Certificates==
<u>Issues with ISO</u>
+
Information on importing the self signed certificates can be found here [[Self-Signed CA]]
# openssh key problem.  first boot after install should run 'dpkg-reconfigure openssh-server'
 
  
<u>Issues with FusionPBX install script on the iso [v4.2]</u>
+
==TFTPD==
# under case upgrade-freeswitch, variables were not set properly.  It upgraded fusionpbx...
+
*Install TFTPD, change permissions to www-data.
# fail2ban error fixed in latest FS git. remove associated text
+
**/var/lib/tftpboot is root dir.
# have install check for /etc/fail2ban. reinstall (as in from iso) duplicates some txt
+
**/etc/default/tftpd-hpa is config file
# 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.
+
<pre>TFTP_USERNAME="www-data"
# get logrotate working... let's not fill the disk.
+
TFTP_DIRECTORY="/var/lib/tftpboot"
 
+
TFTP_ADDRESS="0.0.0.0:69"
Hopefully 4.3 will be out in the next day or two, and beta2 ISOs released soon after. 2010-12-20
+
TFTP_OPTIONS="--secure"
 
+
</pre>
;32 Bit
+
*Install NTPD
:http://dl.dropbox.com/u/17006469/fusionpbx_ub_i386-beta1.iso
+
**Package in repository is just 'ntp'
: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
 

Latest revision as of 17:04, 26 April 2012

This page is deprecated.


Older Versions

Please see Easy_Ubuntu_10.04_Old_Script_Versions for Errata, errors, and fixes.


PortAudio

Have fun with your sound card. Make sure the modules are loaded

lsmod |grep snd
lspci

It's already compiled (script and iso), but alsa is not present.

apt-get install alsa alsa-utils alsa-tools

You'll need to add your users to the audio group.

adduser www-data audio

Run alsamixer and unmute the channgels (with M) and crank the volume all the way up.

alsamixer
Reboot is now required (/etc/init.d/alsa might work, didn't for me)

Check that the soundcard is there.

cat /proc/asound/cards

Try playing a file from the CLI

aplay /usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav

It should be working. reference with nice alsamixer pics

Enable the module in FusionPBX

  • System->Modules->PortAudio
    • Enable it
    • Start it

Example Port Audio Commands

Tested with VMWare Player 2011/02/27

Certificates

Information on importing the self signed certificates can be found here Self-Signed CA

TFTPD

  • Install TFTPD, change permissions to www-data.
    • /var/lib/tftpboot is root dir.
    • /etc/default/tftpd-hpa is config file
TFTP_USERNAME="www-data"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
  • Install NTPD
    • Package in repository is just 'ntp'