ImageVerifierCode 换一换
格式:DOCX , 页数:15 ,大小:19.86KB ,
资源ID:10875019      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/10875019.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(How to install Asterisk 14 and FreePBX 231 in Ubuntu Linux.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

How to install Asterisk 14 and FreePBX 231 in Ubuntu Linux.docx

1、How to install Asterisk 14 and FreePBX 231 in Ubuntu LinuxHow to install Asterisk 1.4 and FreePBX 2.3.1 in Ubuntu Linux1. How To Install step by step Asterisk in Ubuntu Server 1. Linux Version : Ubuntu Server 2. Linux Kernel : 2.6.22 3. Asterisk Version : Asterisk V.1.4.13 4. FreePBX Version : FreeP

2、BX 2.3.1 1. Linux filesystem partition example 1. /boot 100 MB 2. /var 4 GB 3. /home 6 GB 4. /usr 12 GB 5. / 6 GB 6. Swap 600 MB 1. RAM Memory: 512 MB 2. CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz 3. Ethernet: 10/100 VT6102 Rhine-II 4. FXO Card: 1 FXO Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

3、 5. FXS card: 6. Sound: VT8233/A/8235/8237 AC97 Audio Controller 7. Bluetooth: 8. WiFi: 1. Other Devices: 1. * 2. * 3. * Packages Install 4. * 5. * 1. After of install Ubuntu Linux the first thing that we need to do is change the root password sudo passwd root password 1. Edit the next file /etc/apt

4、/sources.list and uncomment the next packages repositories sudo editor /etc/apt/sources.list 1. uncomment and after save the edited file deb dapper universe deb-src dapper universe 1. First we need to install OpenSSH to communicate from other PC using SSH. sudo apt-get install openssl libssl-dev ssh

5、 1. After we need to install compilation library sudo apt-get install gcc make g+ 1. View what kernel version has installed our Ubuntu Linux uname -a 1. after of run the command uname I can see something like that LinuxMexRom2.6.22-14-generic#1SMPSunOct1423:05:12GMT2007i686GNU/Linux 1. Then I need t

6、o search the headers, images and sources for kernel apt-cache search 2.6.22 1. we need to install the headers, image and sources for the kernel sudo apt-get install linux-headers-2.6.22-14-generic linux-image-2.6.22-14-generic linux-source-2.6.22 1. too we need install the next applications nmap is

7、practice to view what porst have open our linux systmen, lynx to see any web site from CLI and emacs to files edit sudo apt-get install nmap lynx emacs21 1. We will install festival beacuse is very important for make AGIs with asterisk and any programming language sudo apt-get install festival festi

8、val-dev 1. We need the next library to Asterisk sudo apt-get install ncurses-base ncurses-bin ncurses-term libncurses5 libncursesw5 libncurses5-dev libncursesw5-dev 1. Too is necessary to install the next library sudo apt-get install zlib1g zlib1g-dev 1. This library are required by FreePBX sudo apt

9、-get install bison bison-doc 1. library required for FreePBX sudo apt-get install libxml2 libxml2-dev 1. library required for FreePBX sudo apt-get install libtiff4 libtiff4-dev 1. library required for FreePBX for audio processing sudo apt-get install libasound2 libgsm1 libltdl3 libpq4 libspeex1 libs

10、qlite0 libtonezone1 libaudiofile0 libaudiofile-dev 1. if you will install a Sangoma Card then you will need install the next sudo apt-get install flex 1. This library are necessary to Asterisk Documentation and install new versions of Asterisk and FreePBX sudo apt-get install subversion curl doxygen

11、 1. library required for FreePBX sudo apt-get install libnet-telnet-perl mime-construct libipc-signal-perl libmime-types-perl libproc-waitstat-perl 1. Install Apache web server to acces from any computer to FreePBX GUI sudo apt-get install apache2 1. PHP Librarys required for FreePBX sudo apt-get in

12、stall php5 php5-cli php5-mysql php-pear libapache2-mod-php5 php5-curl php5-gd php-db 1. We need install MySQL Database server to manage the cdr information and asterisk configuration from FreePBX. sudo apt-get install mysql-client-5.0 mysql-server-5.0 libmysqlclient15-dev 1. After of Install MySQL m

13、aybe we need make any changes these We need enter the root password to MySQL Server Change the information of Internet Site and select of type like this localhost.localdomain 1. * 2. * 3. * Asterisk Package Compilations * 4. * 5. * 1. in this second step we need create a new folder to put the asteri

14、sk packages downloaded mkdir /asterisk cd asterisk 1. Download the next files and save in the new folder created 1. Download asterisk-perl this module will allow us process the Asterisk Configuration wget http:/www.cpan.org/modules/by-category/25_Bundles/Asterisk/asterisk-perl-0.10.tar.gz 1. These f

15、iles are requires to control the mp3 and other audio files such as GSM, Ulaw, alaw files etc. wget http:/superb- wget 1. Download FreePBX Package that is the main application to configure asterisk from a web navigator wget 1. Asterisk Packages wget 1. If we have a digium card to connect the pstn to

16、our voip network then we need download and install the next package wget wget wget 1. voices in english for Asterisk wget wget wget 1. we go the following directory cd /usr/src/ 1. we decompress the lame package and we compile and to install sudo tar -xvzf /asterisk/lame-3.97.tar.gz cd lame-3.97 sud

17、o ./configure -prefix=/usr -sysconfdir=/etc sudo make & sudo make install 1. we decompress sox package and we install this library to process multimedia files cd /usr/src/ sudo tar -xzvf /asterisk/sox-14.0.0.tar.gz cd sox-14.0.0 sudo./configure sudomake sudomakeinstall 1. We need to install Asterisk

18、-Perl to process the Asterisk File Configuration cd /usr/src/ sudo tar -xzvf /asterisk/asterisk-perl-0.10.tar.gz cd asterisk-perl-0.10 sudo perl Makefile.PL sudo make all sudo make install 1. To descompress FreePBX cd /usr/src sudo tar -xzvf /asterisk/freepbx-2.3.1.tar.gz cd /usr/src/freepbx-2.3.1 1

19、. Begin to install the database for Asterisk in MySQL 2. First We need to access to MySQL CLI, enter the password root, if you dont have configure the password root for mysql then is very important that yo make this step. mysql -u root -p ENTER showdatabases; usemysql; 1. Change the root password if

20、 you dont have make it updateusersetpassword=password(PaSsWoRd)whereuser=root; 1. Create the asterisk user for mysql grantallprivilegeson*.*toasterisklocalhostidentifiedby4st3r1sk; flushprivileges; exit 1. Entet to mysql using the asterisk user created mysql-uasterisk-p 1. create the database for As

21、terisk Configuration and CDR information createdatabaseasteriskcdrdb; createdatabaseasterisk; exit 1. dump the database schema that is in SQL Folder of FreePBX installation directory mysql-uasterisk-pasterisk/usr/src/freepbx-2.3.1/SQL/newinstall.sql mysql-uasterisk-pasteriskcdrdb/usr/src/freepbx-2.3

22、.1/SQL/cdr_mysql_table.sql 1. Finish the MySQL Configuration 1. Create the user for Asterisk and change him password sudo groupadd asterisk sudo useradd -c PBX asterisk -d /var/lib/asterisk -g asterisk asterisk sudo passwd asterisk 1. Create the next directory where Asterisk will put the PID Asteris

23、k Run sudo mkdir /var/run/asterisk sudo chown asterisk:asterisk /var/run/asterisk 1. Add the Asterisk user for Apache sudo emacs /etc/group www-data:x:33:asterisk 1. press ctrl+x ctrl+s, para salir ctr+x, ctr+cto save and quit 1. Search the apache configuration using the find command find /etc/apach

24、e2/ -type f | xargs grep Group 1. Edit the next file sudo emacs /etc/apache2/apache2.conf 1. to search en Emacs press Ctrl+s and enter the text to search 2. Change default user for Apache by asterisk user Userwww-data Groupwww-data 1. change by Userasterisk Groupasterisk 1. saver and quit (to save c

25、trl+x ctrl+s, to quit ctr+x, ctr+c ) 1. execute the next command to change the permissions of php lib sessions sudo chown -R asterisk /var/lib/php5 1. Edit the php file configuration and modify the following php properties sudoemacs/etc/php5/apache2/php.ini upload_max_filesize = 32M max_execution_time = 120 max_input_time = 120 1. create the Asterisk directrory in /usr/src sudomkdir/usr/src/asterisk cd/usr/src/asterisk 1. decompress the libpri library sudo tar zvxf /asterisk/libpri-1.4.1.tar.gz 1. decompress the zaptel library sudo tar zvxf /asteri

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1