FreeBSD Install

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

Install Script
# portsnap fetch extract # csup -h cvsup.freebsd.org -L2 /usr/share/examples/cvsup/standard-supfile # cd /usr/ports/devel/git && make install clean # cd /usr/ports/devel/subversion && make install clean # fetch http://dl.dropbox.com/u/152504/fusionpbx-svn.tgz # fetch http://dl.dropbox.com/u/152504/freeswitch-core-git.tgz # tar xzvf fusionpbx-svn.tgz /usr/ports/www # tar xzvf freeswitch-core-git.tgz /usr/ports/net # cd /usr/ports/www/fusionpbx-svn make svn make svn-tar # cd /usr/ports/net/freeswitch-core-git make git make git-tar # cd /usr/ports/net/freeswitch-core && make install clean # cd /usr/ports/audio/freeswitch-sounds && make install clean # cd /usr/ports/audio/freeswitch-music && make install clean # cd /usr/ports/misc/freeswitch-scripts && make install clean # cd /usr/ports/misc/freeswitch-pizzademo && make install clean # cd /usr/ports/www/fusionpbx-devel && make install clean #
 * 1) !/bin/sh
 * 1) Portsnap
 * 1) cvs src
 * 1) install git
 * 1) install-svn
 * 1) Pull in dev-ports
 * 1) Install dev ports
 * 1) update dev ports
 * 1) Freeswitch
 * 1) Freeswitch Sounds
 * 1) Freeswitch Music
 * 1) Freeswitch Scripts
 * 1) Freeswitch Pizza Demo
 * 1) 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
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 you will have to create 4 areas / = 1 Gig swap = if = less 512Meg x 2 else = size of ram /var = 10% of drive or atleast 6 gig /tmp = 1 Gig /usr =rest of drive w=write 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 extract

To keep the ports tree updated use:

portsnap fetch update

To keep your system updated install

cd /usr/ports/ports-mgmt/portmanager make install clean rehash

When every you want to update your system after a portsnap update

portmanager -u

Installing FreeBSD Base Source
(Needed only if you're going to need Zaptel, tdm, or OpenZap Support.) csup -h cvsup.freebsd.org -L2 /usr/share/examples/cvsup/stable-supfile Note: you can replace cvsup with cvsup# #=(1 - 15).

Install FreeSwitch Via Ports
Now install FreeSWITCH from ports. cd /usr/ports/net/freeswitch && make install clean

Installing Freeswitch via GIT
We Now have a freeswitch-git devel port fo those wanting bleeding edge. Note: This is a dev/test port use at your own risk. Note: After you build and install this port you have to cd to /usr/ports/audio/freeswitch-sounds & make install clean. then cd ../freeswitch-music & make install clean http://dl.dropbox.com/u/152504/freeswitch-core-git.tgz untar it in /home/wok or some dir make git-clean make rmconfig make git make git-tar make install clean

FusionPBX FreeBSD Install
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