找回密码
 注册

QQ登录

只需一步,快速开始

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

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

2011-11-6 17:50| 发布者: Test| 查看: 4718| 评论: 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 ...

My Hardware

I have used this install guide on various other hardware without any problems.

Qty 1 Supermicro SC823T-R500LP, 2U, redundant 500W ps w/ PFC, 6x1" SATA hot swap bays, DVD-RW/Floppy
Qty 1 Supermicro PDSME, Intel E7230 chipset, Dual LAN, 2x 64-bit 133MHz PCI-X, 2x 64-bit 100MHz PCI-X
Qty 1 Intel Pentium D805 2.66Ghz CPU
Qty 2 Kingston KVR667D2N5/512, 512MB 667MHz DDR2 Non-ECC CL5 DIMM
Qty 2 Seagate ST380811AS Barracuda 80GB 7200rpm SATA-II 8MB Cache Harddrive
Qty 1 Samgoma Remora A200D PCI Card 0 FXS / 8 FXO Ports + Echo Cancellation Low Profile
Qty 1 Aastra 57i SIP executive phone
Qty 1 Aastra 480iCT SIP executive phone with cordless handset
Qty 1 Aastra 55i SIP manager phone
Qty 7 Aastra 9133i SIP business phone


Conventions

Comments are Arial Italic
Linux command line entries are in courier


Software RAID1 CentOS Install

For default (non-software RAID) CentOS install skip to the next section.

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.

 
This procedure assumes your using the GUI install method.  For "linux text" based install it is a bit different and less intuitive.  I recommend using the GUI (default) method.
At the drive setup menu select "Remove all partitions from select drives"
Check the "create custom layout" box>select "next"
At the next menu it will show you the current default configuration.  If it shows ANYTHING beside 2 or more 100% free space drives click on the LVM and/or partitions and press "delete".  All you want right now is 2 or more drives showing 100% free space, no partitions or LVM volumes.

1) At the next menu select RAID>create software RAID partition>ok
Select one of the 2 RAID disks and create boot partition of 100MB check "force to be primary partition"
Repeat and again select the same drive and create size equal to twice the amount of RAM
Repeat and again select the same drive and select "fill to maximum allowable size"

Now you should see one of your two drives with three partitions labelled as type "Software RAID"

2) Now repeat the above procedure EXACTLY the same for your second drive.
Now you should see both drives with 3 equivalent partitions all labelled as type "Software RAID"
Go back to the first drive "root" partition and click "edit" and change from "fill to maximum allowable size" to "fixed size" and use the same size as it was before.  This is done so that the ordering of the partitions on both drives (boot=md0, swap=md1, root=md2) are exactly the same.

3) Now repeat but this time select "create RAID device"
Check the 100MB partition on each drive so you have 2 check marks and select RAID 1, boot, ext3
Now Repeat and select the partition equal to twice the size of your RAM on each of the two drives and select RAID 1, swap
Repeat again and select the root partition on each of the two drives and select RAID 1, /, ext3

We could also create LVM volumes but that is not required for an Asterisk installation so in my humble opinion it is not recommended and beyond the scope of this installation procedure.

So now the main menu should show 3 RAID 1 devices corresponding to the 3 identical pairs of Software RAID partitions on the two drives.  It sounds a bit confusing when in writing but when you go through the GUI and actually do everything it should make a lot more sense.
 

Now select "Next" twice (using default GRUB bootloader options).

 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.

NOTE: If you have 2 ethernet adapters/ports you can make eth0 and eth1 identical except eth0 is active on boot and eth1 is NOT!  That way if one ethernet port ever fails you can quickly make the other port active.

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
reboot

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

Skip the next section (non-RAID CentOS install) and proceed to the section after that.


鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

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

GMT-8, 2026-4-11 10:37 , Processed in 0.024708 second(s), 18 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

返回顶部