Here is a how-to I found for a TrixBox VOIP System
Basic Steps
Here are the basic steps with details later:
install all the packages at the same time. I am not sure what's up here.
Detailed Steps
--Note You may need to download and install (rpm -Uvh) dependencies before you can get Yum to work. The dependencies will be listed in the error messages if the install doesnt complete correctly. Wget dependencies from here: http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/
-Note You may need to download and install (rpm -Uvh) dependencies before you can get Speex to work (Mainly LibOOG and LibOOG-devel). The dependencies will be listed in the error messages if the install doesnt complete correctly. Wget dependencies from here: http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/
Basic Steps
Here are the basic steps with details later:
- Create VE from CentOS Template.
- Add character device /dev/tty9 to VE
- Install rpmforge & apt
- Add DAG repository
- Install yum
- Install speex and libspeex-devel
- Download Trixbox 2.0 tar.gz file (not ISO) and extract to /var/trixbox_load
- Change to /var/trixbox_load and run install.sh script
install all the packages at the same time. I am not sure what's up here.
Detailed Steps
- Create VE from CentOS Template.
- Add character device /dev/tty9 to VE
- eg.
Code:
vzctl set 204 --devices c:4:9:rw --save
- NOTE: If you are using zaptel or capi, then you will need to add those devices to the VE. .
- Install rpmforge & apt
- You may check for the most recent release of rpmforge and apt.
- Install RPMFORGE
Code:
SITE="[URL]http://dag.wieers.com/packages/rpmforge-release/[/URL]"
rpm -Uvh ${SITE}/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
- Install APT
Code:
SITE="[URL]http://dag.wieers.com/packages/apt/[/URL]"
rpm -Uvh ${SITE}/apt-0.5.15lorg3.2-1.el4.rf.i386.rpm
- Add DAG repository for yum
Code:
wget [URL]http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt[/URL]
rpm --import RPM-GPG-KEY.dag.txt
mkdir -p /etc/yum.repos.d
- Create a file /etc/yum.repos.d/dag.repo, with:
Code:
[dag]
name=Dag RPM Repository for Red ht Enterprise Linux
baseurl=[URL]http://apt.sw.be/redhat/el$releasever/en/$basearch/dag[/URL]
gpgcheck=1
enabled=1
- Install yum
- Try installing yum via apt-get
Code:
apt-get update
apt-get install yum
- If that failed, then try doing the easy way. Install a newer rpm (rpm-4.3.3-18_nonptl.i386.rpm) which you can find in Google.
Code:
rpm -Uvh rpm-4.3.3-18_nonptl.i386.rpm
rpm --import [URL]http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4[/URL]
SITE=[URL]http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS[/URL]
rpm -Uvh ${SITE}/yum-2.4.3-1.c4.noarch.rpm ${SITE}/libxml2-python-2.6.16-6.i386.rpm \
${SITE}/python-elementtree-1.2.6-4.2.1.i386.rpm ${SITE}/python-sqlite-1.1.7-1.2.i386.rpm \
${SITE}/rpm-python-4.3.3-18_nonptl.i386.rpm ${SITE}/python-urlgrabber-2.9.8-2.noarch.rpm \
${SITE}/centos-release-4-4.2.i386.rpm ${SITE}/sqlite-3.3.3-1.2.i386.rpm
- Install speex and libspeex-devel
Code:
rpm -Uvh ${SITE}/speex-1.0.4-4.i386.rpm ${SITE}/speex-devel-1.0.4-4.i386.rpm
- Download Trixbox 2.0 tar.gz file (not ISO) and extract to /var/trixbox_load
- Change to /var/trixbox_load
Code:
mkdir /var/trixbox_load
tar zxf trixbox-2.0.tar.gz -C /var/trixbox_load/
- Run install.sh script
- I find that I need to run this script several time, 2 or 3, and that it is best to reboot before running the first time.
Code:
cd /var/trixbox_load/
./install.sh