This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voice:pbx:freepbx_yum [2012/08/26 14:00] gcooper |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Build a PBX with YUM Using CentOS, Asterisk and FreePBX ====== | ||
- | |||
- | * CentOS 5 (x64, latest) | ||
- | * Asterisk 10 | ||
- | * FreePBX 2.10 | ||
- | |||
- | ===== Documentation ===== | ||
- | |||
- | https:// | ||
- | |||
- | https:// | ||
- | |||
- | ===== Hosted VPS ===== | ||
- | |||
- | http:// | ||
- | |||
- | If you are starting from a preinstalled CentOS server: | ||
- | |||
- | < | ||
- | yum groupremove 'DNS Name Server' | ||
- | yum groupremove ' | ||
- | yum groupremove ' | ||
- | yum groupremove 'Mail Server' | ||
- | yum groupremove ' | ||
- | yum groupremove ' | ||
- | yum groupremove ' | ||
- | yum groupremove 'Web Server' | ||
- | yum groupremove ' | ||
- | |||
- | yum remove yum-updatesd cups cups-lpd redhat-lsb autofs pcsc-lite smartmontools cpuspeed avahi | ||
- | |||
- | ln -sf / | ||
- | </ | ||
- | |||
- | Now skip to Install Asterisk... | ||
- | |||
- | ===== Minimal CentOS 5 Install ===== | ||
- | |||
- | Do a [[computing: | ||
- | |||
- | I generally disable IPv6 since I've never used it on a PBX. | ||
- | |||
- | After the reboot: | ||
- | |||
- | < | ||
- | yum update -y | ||
- | </ | ||
- | |||
- | then reboot again. | ||
- | |||
- | ===== RepoForge Repository ===== | ||
- | |||
- | Here we add the RepoForge Repository (x64) needed to install '' | ||
- | |||
- | < | ||
- | wget http:// | ||
- | rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm | ||
- | rm -f rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm | ||
- | </ | ||
- | |||
- | Now e disable the repo so it doesn' | ||
- | |||
- | < | ||
- | vim / | ||
- | |||
- | enabled=0 | ||
- | </ | ||
- | |||
- | ===== Install Asterisk ===== | ||
- | |||
- | :!: Digium now provides separate repositories for different Asterisk versions (1.4, 1.6, 1.8 and 10). | ||
- | |||
- | :!: Once you install an Asterisk version, its repo will be enabled permanently. | ||
- | |||
- | Check for updates and additional (64-bit) packages [[http:// | ||
- | |||
- | < | ||
- | yum install --enablerepo=rpmforge dnsmasq mpg123 | ||
- | |||
- | rpm -Uvh http:// | ||
- | |||
- | yum install --enablerepo=asterisk-10 asterisk asterisk-configs asterisk-addons | ||
- | </ | ||
- | |||
- | :!: Once installed, you can search for asterisk-related packages using a web browser to the repo URLs or at the command line with YUM: | ||
- | |||
- | < | ||
- | yum search asterisk | ||
- | </ | ||
- | |||
- | ===== Install DAHDI ===== | ||
- | |||
- | < | ||
- | yum install dahdi-linux dahdi-tools libpri | ||
- | </ | ||
- | |||
- | ===== Upgrading ===== | ||
- | |||
- | < | ||
- | yum update | ||
- | </ | ||
- | |||
- | ===== Management ===== | ||
- | |||
- | < | ||
- | yum install asterisk-gui | ||
- | </ | ||
- | |||