Difference between revisions of "Easy Ubuntu 10.04"

From FusionPBX
Jump to: navigation, search
(Created page with "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...")
 
 
(174 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
 
  
== Get the latest install script ==
+
*Iso: [[Ubuntu_ISO]]
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:
+
==Older Versions==
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
+
Please see [[Easy_Ubuntu_10.04_Old_Script_Versions]] for Errata, errors, and fixes.
 
chmod 744 install_fusionpbx
 
  
Check the options:
 
sudo install_fusionpbx
 
sudo install_fusionpbx --version
 
 
 
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 ==
+
* Old ISO's Please see:[[Easy_Ubuntu_10.04_Old_CD_Versions]]
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/
+
== 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]
  
== ISO ==
+
Enable the module in FusionPBX
This is a LiveCD that installs. It's currently in work (64 bit and 32 bit). I'll put some links up soon.. 2010-12-20
+
*System->Modules->PortAudio
 +
**Enable it
 +
**Start it
 +
 
 +
[http://wiki.freeswitch.org/wiki/FreeSwitch_Enpoint_Portaudio#Example_commands 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
 +
<pre>TFTP_USERNAME="www-data"
 +
TFTP_DIRECTORY="/var/lib/tftpboot"
 +
TFTP_ADDRESS="0.0.0.0:69"
 +
TFTP_OPTIONS="--secure"
 +
</pre>
 +
*Install NTPD
 +
**Package in repository is just 'ntp'

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'