FreeBSD Install

From FusionPBX
Revision as of 19:45, 14 January 2011 by Rneese (talk | contribs) (Install-Freeswitch and sounds and etras=)
Jump to: navigation, search

Installing Freeswitch 1.0.6_2 on FreeBSD 8.1

Support

For basic support on this install
Contact:
rneese
on
server: irc.freenode.net
channel: #fusionpbx

Download FreeBSD

Download a Freebsd 8.1 install iso and burn it to a disc.

i386: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.1/FreeBSD-8.1-RELEASE-i386-disc1.iso
amd64: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.1/FreeBSD-8.1-RELEASE-amd64-disc1.iso
ia64: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-ia64/8.1/FreeBSD-8.1-RELEASE-ia64-disc1.iso

Install Script

Use this script and a freebsd iso to build a system from ports.
you will have to answer questions as it builds. For the most part use defaults.
when you get the the freeswitch and fusion ports you will have to make selections.
copy the script into a file named install.sh and chmod +x it . Then run it ./install.sh

---Start---Cut---Here----

#!/bin/sh
#
#Portsnap
portsnap fetch extract
#
#cvs src
csup -h cvsup.freebsd.org -L2 /usr/share/examples/cvsup/standard-supfile
#
#Freeswitch
cd /usr/ports/net/freeswitch-core && make install clean
#
#Freeswitch Sounds
cd /usr/ports/audio/freeswitch-sounds && make install clean
#
#Freeswitch Music
cd /usr/ports/audio/freeswitch-music && make install clean
#
#Freeswitch Scripts
cd /usr/ports/misc/freeswitch-scripts && make install clean
#
#Freeswitch Pizza Demo
cd /usr/ports/misc/freeswitch-pizzademo && make install clean
#
#Fusionpbx
cd /usr/ports/www/fusionpbx && make install clean
#

---End---Cut---Here----

Install

Boot the iso and when you get the install menu select Custom Install.
goto partition
hit enter
hit A and answer yes
select standard
next goto label and hit a=auto q=quit goto distribution and select minimal (a)
hit tabkey and enter
goto media and select cdrom
then goto commit.
the os will now install

stage 1 config

After the os installs it will ask if you want to configure the base system select yes.
scroll down and select root password and set the password.
scroll down and select timezone and set your time zone.
Scroll to network and the scroll to interface and hit the spacebar and configure your network card.
still in the network area select ntp and choose a ntpserver. Then select sshd and tcp extensions.
scroll up to exit and hit the enter.
scroll to startup and scroll down and deselect quotas.
then scroll up to exit and hit enter.
scroll up to exit .
hit tab and select exit install. Remove the cdrom and then reboot.
You now have a base/minimal install.

Installing The Ports Tree

Execute the following command:

portsnap fetch 
portsnap extract

To keep the ports tree updated use:

portsnap fetch update

Install-Freeswitch and Sounds and Extras

  1. Freeswitch

cd /usr/ports/net/freeswitch-core && make install clean

  1. Freeswitch Sounds

cd /usr/ports/audio/freeswitch-sounds && make install clean

  1. Freeswitch Music

cd /usr/ports/audio/freeswitch-music && make install clean

  1. Freeswitch Scripts

cd /usr/ports/misc/freeswitch-scripts && make install clean

  1. Freeswitch Pizza Demo

cd /usr/ports/misc/freeswitch-pizzademo && make install clean

  1. Fusionpbx

cd /usr/ports/www/fusionpbx && make install clean

FusionPBX FreeBSD Configuration

http://wiki.fusionpbx.com/index.php?title=Freebsd_FusionPBX_Install#FusionPBX_install_on_FreeBSD

Todo List

http://wiki.fusionpbx.com/index.php?title=Freebsd_ToDo_List