找回密码
 注册

QQ登录

只需一步,快速开始

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

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

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

Add password protection to the FreePBX splash page /var/www/html

Unfortunately this sort of defeats the purpose of using the 'Admin' module in FreePBX as it adds an additional log in step beforehand.  If you use the same username/password you don't need to log into the admin section again.  This is probably the best solution until the FreePBX team adds this security to their Admin module.

htpasswd /usr/local/apache/passwd/wwwpasswd NewUserName
Apache will prompt you for a new password for the user name you've just indicated
New password:
Apache will prompt you to retype your new password
Re-type new password:
Apache will then confirm the new user
Adding password for user NewUserName

Now you have to add the user name you've just created to the "httpd.conf" file. To edit that file in "nano" type:
nano /etc/httpd/conf/httpd.conf
Now do a CTRL-W to search for "AuthUser" and you'll find the area where all the users are listed (for example: "maint", your AMP user).  If you don't find any try around line 587 right after the cgi-bin "<Directory....."  entry.

Now add the following lines:
#Password protect the FreePBX Splash Page /var/www/html
<Directory /var/www/html>
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user NewUserName1 NewUserName2 NewUserName3 yaddayaddayadda
</Directory>

To delete an Apache user, type in the following and then remove the user from the "httpd.conf" file.
htpasswd -D /usr/local/apache/passwd/wwwpasswd NewUserName

Then restart apache.
/etc/init.d/httpd restart


Optional installation of Octasic Softecho

cd /usr/src
wget
ftp://ftp.octware.net/pub/octvqe8/32-bits/latest/octvqe8-01.0x.00-pr-<arch>.tgz
wg
et ftp://ftp.octware.net/pub/octvqe8/32-bits/latest/octvqe8-01.0x.00-pr-base.tgz
tar zxvf octvqe8-01.0x.00-pr-<arch>.tgz
tar zxvf octvqe8-01.0x.00-pr-base.tgz
cd octvqe8-01.0x.00-pr
cp -rf octvqe /usr/src/zaptel/kernel
cd /usr/src/zaptel/kernel/octvqe
amportal stop
make; make install
killall octvqed
wanrouter stop
rmmod zttranscode
rmmod zaptel
rmmod octvqe
depmod
modprobe octvqe

cd /usr/src/octvqe8-01.0x.00-pr
cp octwareec.h /usr/src/zaptel/kernel
cd /usr/src/zaptel/kernel

nano zconfig.h

Look for the line that starts with "#define ECHO_CAN" and edit it to read
#define ECHO_CAN_OCTWARE
(Cntl-x, y, ENTER)

nano zaptel-base.c
search for the section that starts with "/* Echo cancellation */"
There will be several similar lines defining the various echo cancellors.  Add these lines
.
#elif defined(ECHO_CAN_OCTWARE)
#include "octwareec.h"
(Cntl-x, y, ENTER)

cd /usr/src/zaptel
make clean; make; make install
modprobe zaptel

cd /usr/src/octvqe8-01.0x.00-pr
wget
ftp://ftp.octware.net/pub/register/32-bits/latest/register32
chmod 500 register32
chown root.root register32

If using a sangoma A200 with included softecho licenses run "wanrouter start"

./register32

Follow activation instructions

cd /usr/src/zaptel/kernel/octvqe
cp octvqed /usr/sbin/
cp octvqed.init /etc/rc.d/init.d/octvqed
chown root.root /etc/rc.d/init.d/octvqed
chmod 755 /etc/rc.d/init.d/octvqed
chkconfig --add octvqed
chkconfig octvqed on
cp octvqed.conf /etc

Edit octvqed.conf to configure the echo canceller.

reboot and verify the echo canceller is working
cat /proc/octvqe


Install 3DM2 software for 3WARE SATA RAID card

Download and untar the 3DM2 software.
cd /usr/src/
tar zxvf 3DM2-Linux-9.3.0.7.tgz

Install 3DM 2:
./install.3dm install

Select Option 0 for web GUI
All defaults except do NOT limit connections to localhost 127.0.0.1

cd /tmp/3ware
Copy file 3dm2.redhat to /etc/rc.d/init.d/3dm2
cp 3dm2.redhat /etc/rc.d/init.d/3dm2

Type:
chkconfig --add 3dm2

Type:
chkconfig --add --level 345 3dm2

Change the operating mode by typing:
chmod +x /etc/rc.d/init.d/3dm2

Change the permissions on the 3dm2 configuration file:
chmod 600 /etc/3dm2/3dm2.conf

Start the 3DM 2 daemon by typing:
/etc/rc.d/init.d/3dm2 start

Open the web browser and go to https://localhost:888
Default user and administrator password is: 3ware

Disable write cache on the controller once all the software is installed.  This improves reliability in the event there is a power interruption while data is being written to the hard drive.



鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

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

GMT-8, 2026-4-11 09:49 , Processed in 0.018960 second(s), 18 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

返回顶部