找回密码
 注册

QQ登录

只需一步,快速开始

BCM 门户 IT世界 系统管理 查看内容

FreePBX Install Guide (CentOS v5.x, Asterisk v1.6.x, FreePBX)

2011-11-6 17:50| 发布者: Test| 查看: 4710| 评论: 0|来自: PowerPBX.org

摘要: UPDATED for Asterisk v1.6.2 and FreePBX v2.8 Includes every detail in the form of step by step instructions from bare metal to a running VoIP PBX in about 2 hours. When installing Linux, do NOT inst ...

Default (non-software RAID1) CentOS install

Close ALL port forwards in the firewall  to the server IP we are about to install
Install CentOS from DVD by booting from it.  Set system time to UTC.
Partition /dev/sda1 as “boot” 100Meg ext3
Partition /dev/sda2 as “/ “ 74000Meg ext3
Partition /dev/sda3 as “swap” 1900Meg
Set static IP, netmask, gateway, DNS server
Set hostname to something like "asterisk.local".  If you have multiple installs it is important to make this hostname unique for each install so when you get email notifications you will know which PBX is sending it.

Make eth0 and eth1 identical except eth0 is active on boot and eth1 is NOT!  That way if eth0 ever fails you can easily switch over the cable and activate eth1.

Ensure that all package groups and modules in default and custom install packages are DE-selected for install (including "base system") so that only a bare minimal install is done:

For performance and security reasons it is important to update the system immediately after install.
yum -y update

The following packages also need to be installed with yum:

yum groupinstall core
yum groupinstall base

yum install gcc gcc-c++ wget bison mysql-devel mysql-server php php-mysql php-pear php-pear-DB php-mbstring nano ntp tftp-server httpd make ncurses-devel libtermcap-devel sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel php-gd audiofile-devel gtk2-devel


Disable Firewall and SELinux
setup agent

Go to firewall configuration and ensure SELinux and Firewall are disabled

Reboot
reboot


CentOS Post Install Configuration

Enable the tftp server
nano /etc/xinetd.d/tftp
change “disable=yes” to “disable=no”
(Ctrl-X>y>ENTER)

Ensure Hard Drive SMART monitoring is enabled (if using SATA hardware RAID then disable)
chkconfig smartd on

Configure the network time server for managing the time displayed on the server and the phones.
nano +21 /etc/ntp.conf

restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
server 0.rhel.pool.ntp.org
server 1.rhel.pool.ntp.org
server 2.rhel.pool.ntp.org

Leave everything else at defaults.  Any other lines that start with “restrict” should be commented out “#”

Configure time server to start at boot
/sbin/chkconfig --level 345 ntpd on


Download and untar source files

Install lame mp3 encoder (not recommended) if you plan to make use of mp3's for MOH.  This is now a legacy feature as the default behaviour of Asterisk/Freepbx is to NOT use mp3's for anything.  Freepbx by default now automatically converts uploaded mp3's to wav.
rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/lame-3.98.2-1.el5.rf.i386.rpm

Install FreePBX.  Check if this is the latest released version.
cd /usr/src
wget http://mirror.freepbx.org/freepbx-2.8.0.tar.gz
tar zxvf freepbx-2.8.0.tar.gz

Install Asterisk and addons.  Check if this is the latest released version of Asterisk and Asterisk addons
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.13.tar.gz
tar zxvf asterisk-1.6.2.13.tar.gz

wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.2.2.tar.gz
tar zxvf asterisk-addons-1.6.2.2.tar.gz

wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz
tar zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz

wget

http://downloads.digium.com/pub/libpri/libpri-1.4.11.4.tar.gz

tar zxvf libpri-1.4.11.4.tar.gz

鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )

GMT-8, 2026-4-10 21:55 , Processed in 0.035454 second(s), 18 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

返回顶部