【角色茶桌】—— 我的Asterisk 1.8安装历程 —— make menuselect 选项是否有更改呢?
| 本帖最後由 角色 於 2011-9-18 01:23 編輯 
 1)下载CentOS 5.6 ISO,然后安装,选Server Mode
 - Firewall要disabled, SELINUX=disabled
 
 2)下载asterisk tar ball,我用的asterisk-1.8.6.0.tar.gz
 - save asterisk-1.8.6.0.tar.gz in /usr/src/asterisk
 - 用tar xvf askterisk-1.8.6.0.tar.gz
 
 3) Install the following packages
 yum install gcc \
 gcc-c++ \
 libxml2-devel \
 libtermcap-devel \
 ncurses-devel \
 newt-devel \
 
 4) ./configure
 (needs gcc, gcc-c++, limxml2-devel, libtermcap-devel)
 
 5) make menuselect
 (needs ncurses-devel and newt-devel. We need to re-run ./configure again in order to make "make menuselect" work)
 
 6) make
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+
 
 7) make install
 +---- Asterisk Installation Complete -------+
 +                                           +
 +    YOU MUST READ THE SECURITY DOCUMENT    +
 +                                           +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any      +
 + existing config files), run:              +
 +                                           +
 +                make samples               +
 +                                           +
 +-----------------  or ---------------------+
 +                                           +
 + You can go ahead and install the asterisk +
 + program documentation now or later run:   +
 +                                           +
 +               make progdocs               +
 +                                           +
 + **Note** This requires that you have      +
 + doxygen installed on your local system    +
 +-------------------------------------------+
 
 8) make samples
 
 9) yum install doxygen and then followed by make progdocs
 
 10) make install
 
 11)make config
 
 12) make install-logrotate
 
 13) chkconfig asterisk on
 
 14) service asterisk start
 
 15) asterisk -rv
 Asterisk 1.8.6.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
 Created by Mark Spencer <markster@digium.com>
 Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
 This is free software, with components licensed under the GNU General Public
 License version 2 and other licenses; you are welcome to redistribute it under
 certain conditions. Type 'core show license' for details.
 =========================================================================
 Connected to Asterisk 1.8.6.0 currently running on shirley (pid = 14639)
 Verbosity is at least 3
 s
 
 
 下面的网站可以提供参考:
 
 https://wiki.asterisk.org/wiki/display/AST/Home
 
 
 
 现在有D515和D525的电脑(其实感谢bubblestar兄让出他的D525MB),所以基本上设备都齐全,现在可以慢慢安装Asterisk 1.8了。
 
 我特意另开这幅帖子,主要记录我安装Asterisk的历程,可以让大家参考。
 
 角色
 |