`

如果linux不能用yum安装asterisk时,可以参照以下办法添加asterisk仓库

阅读更多

Installing a binary distribution of Asterisk makes it easier to maintain your system. Using the package management tools that are included with your Linux distribution, you can install and update software without manually managing dependencies (libraries and utilities on which applications rely). Currently Asterisk is available for automated binary installation using the 'yum' utility on CentOS 5 Linux and for RedHat Enterprise Linux 5.

The first step is to add the Asterisk yum repositories to your CentOS or RedHat system. This is done by creating an entry in the yum configuration directory (/etc/yum.repos.d by default).

Use the text editor of your choice to create a new file named "centos-asterisk.repo" in the "/etc/yum.repos.d" folder. Add the following text to the file:

[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

Save the new file and create another named "centos-digium.repo" and insert the following text:

[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

At this point your system has been updated to use the Asterisk and Digium repositories in addition to the base CentOS repositories. You are now ready to install Asterisk. To start the installation, execute the following at the Linux command line:

分享到:
评论

相关推荐

    Centos5.8安装asterisk并配置mysql用户表

    如果这些软件包没有安装,需要使用yum命令安装它们。 安装Asterisk 安装Asterisk的步骤包括下载Asterisk源代码、编译和安装。可以使用SVN或wget命令下载Asterisk源代码。然后,使用./configure、make和make ...

    asterisk 安装教程

    你可以通过命令行接口(CLI)测试它,使用`asterisk -rv`登录。为了进一步了解Asterisk的功能,建议阅读官方文档,学习如何配置拨号计划、IVR(Interactive Voice Response)、录音、会议和其它高级特性。 总结,...

    centos下的Asterisk安装_1

    如果你还没有安装 CentOS,可以从官方网站下载相应的ISO镜像,然后通过DVD或者USB驱动器进行安装。 2. **基本的系统更新** 在安装 Asterisk 之前,你需要确保你的 CentOS 系统是最新的,以避免兼容性问题和安全...

    asterisk1.8安装参考录像

    或者,如果你的Linux发行版有Asterisk 1.8的官方仓库,可以使用包管理器安装。例如,在Ubuntu上,`sudo apt-get install asterisk`可能已经包含1.8版本,但在CentOS中,可能需要手动编译。 4. **编译与安装** 解压...

    Asterisk11.12.0安装在Centos6.3

    《Asterisk11.12.0在Centos6.3上的安装指南》 Asterisk是一款开源的电话交换机软件,它提供了丰富的通信功能,包括VoIP、语音会议、传真、IVR等。本文将详细介绍如何在CentOS 6.3操作系统上安装Asterisk11.12.0版本...

    Asterisk安装和测试[归类].pdf

    在本文中,我们将深入探讨如何在Linux CentOS 5.0环境下安装和测试Asterisk。 首先,为了安装Asterisk,你需要确保系统已经安装了必要的开发工具和库。这些通常包括编译器、头文件和链接库,如GCC、make、curl开发...

    asterisk部署文档

    安装完CenterOS5.4 系统登陆后进到#号下,一般我们选择/usr/src目录进行下载及安装: cd /usr/src //安装开发环境及编绎环境: yum -y groupinstall 'Development Tools' yum -y install libtool* yum -y install ...

    centos下的Asterisk安装_2

    为了测试 Asterisk 是否成功安装,可以使用以下命令启动它: ```bash sudo /etc/init.d/asterisk start ``` 然后,你可以使用 `asterisk -r` 登录到 CLI,进一步检查和调试系统。 总结来说,安装 Asterisk 在 ...

    Asterisk安装指南[文].pdf

    在本指南中,我们将详细讲解如何在Linux环境下安装Asterisk。安装过程分为多个步骤,包括环境准备、安装依赖软件、下载并解压Asterisk安装包以及执行安装和配置。 1. **环境准备**: 在开始安装Asterisk之前,确保...

    asterisk,mysql,freepbx_完整安装手册.doc

    asterisk,mysql,freepbx_完整安装手册.doc

    asterisk安装与配置.pdf

    Asterisk 安装与配置指南 Asterisk 是一个开源的、基于 Unix 的PBX 电话系统,具有强大的呼叫处理能力和灵活的配置能力。本文档将指导您安装和配置 Asterisk,以便您快速上手使用这个强大的通信系统。 安装所需...

    asterist 安装配置 linux下 linphone 安装配置linux 下和移植到qq2440

    在本文中,我们将深入探讨如何在Linux环境下安装和配置Asterisk以及Linphone,并讨论将Linphone移植到QQ2440平台的过程。Asterisk是一款开源的IP电话系统,而Linphone则是一款流行的VoIP(Voice over IP)客户端。在...

    ASTERISK介绍

    压缩包中的“Asterisk,电话未来之路CHN2.pdf”和“Asterisk.pdf”很可能是这两本书的电子版,包含了关于ASTERISK的详细教程和案例分析,可以帮助读者深入理解并掌握ASTERISK的使用技巧。 总之,ASTERISK是构建...

    sip server搭建(VMware player+CentOS5.5+asterisk)

    1. 安装 Asterisk 需要 root 权限,使用以下命令安装 Asterisk:yum install asterisk; 2. 配置 Asterisk 的配置文件,包括 sip.conf、extensions.conf 等。 六、常用 SIP 命令 SIP 是一种基于文本的协议,读者...

    20120411_用Sqlserver存储Asterisk的呼叫记录1

    标题 "20120411_用Sqlserver存储Asterisk的呼叫记录1" 描述了一个关于如何使用Microsoft SQL Server存储Asterisk呼叫记录的教程,版本为1.0.0。这个过程涉及到在Linux系统上安装必要的软件包,配置数据库连接,并在...

    dahdi-linux

    在大多数基于Linux的发行版中,可以使用包管理器(如 apt 或 yum)来安装 dahdi-linux 和相关依赖。首先,确保系统已经安装了编译工具和开发库,然后按照以下步骤进行: 1. 更新包列表:`sudo apt-get update` 或 `...

    20120315_asterisk事件监控1

    为了顺利安装,还需要安装一些依赖库,如`libxml2-devel`和`ncurses-devel`,可以通过`yum install`命令进行安装。 安装完成后,我们需要开启Asterisk的AMI(Asterisk Management Interface),这是一个管理...

    chen20130504

    在Linux系统上安装Asterisk 1.8是一个关键的过程,因为Asterisk是一个开源的IP电话系统,它提供了PBX的功能以及VoIP服务。以下是一个详细的步骤指南,以帮助您成功安装Asterisk 1.8。 首先,确保您的系统满足...

    asterisk-flite-开源

    1. 下载并安装 Asterisk:根据您的操作系统,这可能涉及从官方网站获取源代码,或者使用包管理器(如 apt-get 或 yum)来安装。 2. 获取 Asterisk Flite 源码包,如提供的 "asterisk-flite-0.5"。 3. 编译并安装 ...

    asterisk-ami-pgsql:这是将Asterisk的AMI接口命令包装到PostgresSQL函数中的中间件

    您可以将Asterisk用作ETL流程的数据源。 例如,收集一些统计信息。 要求 已安装plpython的Postgresql服务器 具有启用和配置的AMI的Asterisk服务器 Python和pip包管理器 Pyst python模块( ) 在CentOS 6.3上 从...

Global site tag (gtag.js) - Google Analytics