Difference between revisions of "FreeBSD Install"
Line 14: | Line 14: | ||
10 FusionPBX Install and Configuration<br> | 10 FusionPBX Install and Configuration<br> | ||
<br> | <br> | ||
− | Support | + | ==Support== |
<br> | <br> | ||
For basic support on this install<br> | For basic support on this install<br> | ||
Line 23: | Line 23: | ||
channel: #fusionpbx <br> | channel: #fusionpbx <br> | ||
<br> | <br> | ||
− | Download FreeBSD | + | ==Download FreeBSD== |
<br> | <br> | ||
Download a Freebsd 8.1 install iso and burn it to a disc.<br> | Download a Freebsd 8.1 install iso and burn it to a disc.<br> | ||
Line 30: | Line 30: | ||
ia64: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-ia64/8.1/FreeBSD-8.1-RELEASE-ia64-disc1.iso<br> | ia64: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-ia64/8.1/FreeBSD-8.1-RELEASE-ia64-disc1.iso<br> | ||
<br> | <br> | ||
− | Install | + | ==Install== |
<br> | <br> | ||
Boot the iso and when you get the install menu select Custom Install.<br> | Boot the iso and when you get the install menu select Custom Install.<br> | ||
Line 50: | Line 50: | ||
the os will now install<br> | the os will now install<br> | ||
− | stage 1 config | + | ==stage 1 config== |
After the os installs it will ask if you want to configure the base system select yes. <br> | After the os installs it will ask if you want to configure the base system select yes. <br> | ||
Line 64: | Line 64: | ||
You now have a base/minimal install. <br> | You now have a base/minimal install. <br> | ||
− | Installing The Ports Tree | + | ==Installing The Ports Tree== |
Execute the following command:<br> | Execute the following command:<br> | ||
Line 78: | Line 78: | ||
/usr/ports/ports-mgmt/portmanager | /usr/ports/ports-mgmt/portmanager | ||
make install clean | make install clean | ||
− | When every you want to update your system after a portsnap update | + | When every you want to update your system after a portsnap update<br> |
portmanager -u | portmanager -u | ||
− | Installing FreeBSD Base Source | + | Installing FreeBSD Base Source<br> |
(Needed only if you're going to need Zaptel, tdm, or OpenZap Support.) | (Needed only if you're going to need Zaptel, tdm, or OpenZap Support.) | ||
Line 98: | Line 98: | ||
make install clean | make install clean | ||
− | Installing Freeswitch via GIT | + | ==Installing Freeswitch via GIT== |
Revision as of 16:32, 11 September 2010
Installing Freeswitch 1.0.6_2 on FreeBSD 8.1
Contents
1 Support
2 Download FreeBSD
3 Install
4 stage 1 config
5 Installing The Ports Tree
6 Installing FreeBSD Base Source
7 Install FreeSwitch Via Ports
8 Installing Freeswitch via GIT
9 Edit /etc/rc.conf
10 FusionPBX Install and Configuration
Contents
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
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
/usr/ports/ports-mgmt/portmanager make install clean
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
(PORT IS BEING UPDATED) Now install FreeSWITCH from ports. cd /usr/ports/net/freeswitch-core make install clean MOH and Sounds cd /usr/ports/audio/freeswitch-sounds make install clean cd ../freeswitch-music make install clean
Installing Freeswitch via GIT
You will have to install each dep port by hand.
cd /usr/ports/devel/git && make install clean mkdir -p /usr/local/work cd /usr/local/work git clone git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh configure --prefix=/usr/local/freeswitch --with-libgnutls-prefix=${LOCALBASE} --with-ogg=${LOCALBASE} --with-ogg-libraries=${LOCALBASE}/lib --with-ogg-includes=${LOCALBASE}/include make make install and then follow the listed commands for installing sounds Then chown -R freeswitch:freeswitch /usr/local/freeswitch cd into the scripts directory and cp freeswitch.sh /usr/local/etc/rc.d
Edit /etc/rc.conf
add the following line to the end of your /etc/rc.conf
freeswitch_enable="YES"