简体   繁体   English

如何在Amazon EC2上安装AsteriskNOW?

[英]How I can install AsteriskNOW on Amazon EC2?

I have a question about asterisk, I know that I can install asterisk on EC2, but my questions is: 我有一个关于星号的问题,我知道可以在EC2上安装星号,但是我的问题是:

Its possible install AsteriskNOW on Amazon EC2? 是否可以在Amazon EC2上安装AsteriskNOW if not, why? 如果没有,为什么? and where its the best possible server or solution for install this 以及最佳安装位置的最佳服务器或解决方案

thanks 谢谢

AsteriskNow is a complete distribution based on CentOS available as an ISO file. AsteriskNow是一个基于CentOS的完整发行版,可以作为ISO文件使用。 There doesn't appear to be an EC2 AMI available for it so you would have to build an image yourself. 似乎没有可用的EC2 AMI,因此您必须自己构建映像。

Here's an overview of the process for Oracle Linux which boils down to: 这是Oracle Linux流程的概述,可归纳为:

  • Install AsteriskNow onto a VirtualBox or VMWare instance locally. 在本地将AsteriskNow安装到VirtualBox或VMWare实例上。
  • Configure all the EC2 specifics (This is the fiddly bit) 配置所有EC2细节(这是个好地方)
  • Export that virtual machine as a VMDK. 将该虚拟机导出为VMDK。
  • Copy the VMDK to S3 将VMDK复制到S3
  • Import the VMDK to an EBS volume and launch on Amazon EC2. 将VMDK导入到EBS卷,然后在Amazon EC2上启动。

Before you export you will have to make sure AsteriskNow has a kernel that supports EC2 . 在导出之前,您必须确保AsteriskNow具有支持EC2内核 In CentOS this would be the Xen kernel but I don't know if Asterisk would supply one, which means compiling. 在CentOS中,这将是Xen内核,但我不知道Asterisk是否会提供Xen内核,这意味着需要进行编译。 The PV-GRUB docco also covers a lot of what can and can't be used on EC2. PV-GRUB docco还涵盖了EC2上可以使用和不能使用的许多内容。 If it doesn't work out of the box it will take some Linux smarts to figure it all out. 如果无法立即使用,将需要一些Linux专家来解决。

It will probably take a number of exports/imports to get it running. 要使其运行,可能需要大量出口/进口。 Once you have it up on EC2 you can turn that instance into an AMI to quickly create clones in the future without going through the whole export/import process. 一旦在EC2上启用它,就可以将该实例转换为AMI,以在将来快速创建克隆,而无需完成整个导出/导入过程。

can you not just download the ISO directly? 您不仅可以直接下载ISO吗?

ubuntu@ip-172-31-14-19:~/iso$ 
ubuntu@ip-172-31-14-19:~/iso$ wget -v https://downloads.asterisk.org/pub/telephony/asterisk-now/AsteriskNow-1013-current-64.iso
--2017-11-17 05:52:53--  https://downloads.asterisk.org/pub/telephony/asterisk-now/AsteriskNow-1013-current-64.iso
Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1343909888 (1.3G) [application/x-iso9660-image]
Saving to: ‘AsteriskNow-1013-current-64.iso’

AsteriskNow-1013-curr 100%[======================>]   1.25G  1.79MB/s    in 9m 54s  

2017-11-17 06:02:48 (2.16 MB/s) - ‘AsteriskNow-1013-current-64.iso’ saved [1343909888/1343909888]

ubuntu@ip-172-31-14-19:~/iso$ 

https://downloads.asterisk.org/pub/telephony/asterisk-now/ https://downloads.asterisk.org/pub/telephony/asterisk-now/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM