How to Install Trixbox 2.6.0.7 on a VPS
Trixbox is a software-based PBX built upon Asterisk. The current version as of this writing is built upon the Asterisk 1.6 base and includes FreePBX/Flash Operator Panel (FOP) for web-based management.
Installation
First begin by deploying a clean install of CentOS 5.x on your VPS, then run through each of the following shell commands in order. Some take longer to complete than others so be patient!
yum -y install yum-fastestmirror yum -y update yum -y upgrade yum -y groupinstall Base yum -y install mod_perl perl-Net-SSLeay bison-devel openssl-perl openssl097a iptraf echo '[trixbox] name=trixbox RPM Repository for CentOS and RHEL baseurl=http://yum.trixbox.org/centos/$releasever/RPMS/ gpgcheck=0 enabled=1' > /etc/yum.repos.d/trixbox.repo yum -y install tb-config yum -y install trixbox OpenIPMI OpenIPMI-libs alsa-lib alsa-utils app_flite \ asterisk asterisk-addons asterisk-perl asterisk-sounds atftp atftp-server audiofile \ audiofile-devel bind bison curl ez-ipupdate flite freepbx gnutls-devel httpd hwdata \ iksemel ircd-hybrid isdn4k-utils keyutils keyutils-libs krb5-devel lame lha \ libc-client libgcrypt-devel libgpg-error-devel libibverbs libidn-devel libmthca \ libpri librdmacm libsdp libstdc++-devel libtermcap-devel libtiff-devel libtool-ltdl \ libtool-ltdl-devel libwvstreams libxslt lksctp-tools mysql mysql-server netconfig nmap \ openssh openssh-clients openssh-server openssl openssl-devel perl-Crypt-DES perl-Curses \ perl-DateManip perl-Digest-HMAC perl-Digest-SHA1 perl-HTML-Parser perl-HTML-Tagset \ perl-Net-DNS perl-Net-IP perl-POE perl-POE-Component-Client-DNS perl-Socket6 \ perl-Term-ReadKey perl-Time-HiRes-Value perl-Tk perl-XML-Parser perl-XML-Simple \ perl-libwww-perl perl-suidperl php-gd php-imap php-mbstring php-mysql php-pear \ php-pear-DB php-snmp readline-devel samba samba-common screen sendmail-cf sipsak sox \ tb-config tb-scripts tb-tftpboot tbm-GUIcore wvdial xmlsec1 xmlsec1-openssl c-ares \ zaptel zaptel-modules-* oslec web-meetme vsftpd ngrep \ ncurses-devel dhcp gd echo "NETWORKING=yes" > /etc/sysconfig/network echo "HOSTNAME=trixbox1.localdomain" >> /etc/sysconfig/network echo "# Do not remove the following line, or various programs" > /etc/hosts echo "# that require network functionality will fail." >> /etc/hosts echo "127.0.0.1 trixbox1.localdomain trixbox1 localhost.localdomain localhost" >> /etc/hosts
Issue a reboot and when the server comes back up it will automatically finish the install. It may take a few minutes to complete, and you can watch the progress in the console!