Difference between revisions of "Talk:Installing Trixbox 2.0 in CentOS VE"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(New page: In attempting to follow these instructions I've found the following: I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template. Between the "Add ...)
 
m (Protected "Talk:Installing Trixbox 2.0 in CentOS VE" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(26 intermediate revisions by 16 users not shown)
Line 11: Line 11:
 
<pre>
 
<pre>
 
SITE="http://dag.wieers.com/packages/rpmforge-release/"
 
SITE="http://dag.wieers.com/packages/rpmforge-release/"
wget ${SITE}/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
+
wget ${SITE}/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm  
+
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm  
 
</pre>
 
</pre>
  
Apt has unresolved dependencies, so rpm wouldn't install.  I used:
+
Install apt:
 
<pre>
 
<pre>
 
SITE="http://dag.wieers.com/packages/apt/"
 
SITE="http://dag.wieers.com/packages/apt/"
wget ${SITE}/apt-0.5.15lorg3.2-1.el4.rf.i386.rpm  
+
wget ${SITE}/apt-0.5.15lorg3.2-1.el5.rf.i386.rpm  
yum localinstall apt-0.5.15lorg3.2-1.el4.rf.i386.rpm  
+
rpm -ivh apt-0.5.15lorg3.2-1.el5.rf.i386.rpm  
 
</pre>
 
</pre>
 +
Also note that I am using the el5 versions of these rpms.
 +
 +
Yum is available in the el5 template that I used so I didn't have to install it.
 +
 +
In the step, "Install speex and libspeex-devel" I found it easier to use yum.
 +
<pre>
 +
yum install speex speex-devel
 +
</pre>
 +
 +
It appears that the folks that brought us Trixbox would rather us download and install an ISO.  You have to dig pretty deep to find an RPM file.  I finally found one:
 +
<pre>
 +
wget http://yum.trixbox.org/centos/5/RPMS-2.6.0.7/trixbox-2.6.0.0-3.i386.rpm
 +
</pre>
 +
 +
I found that there were a great number of dependencies that were not found by yum.  It appears that you must use a large number of the files at ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/RPMS/.  I wrote a simple perl script to download all the files and built a yum repository containing them.
 +
 +
 +
I used the following yum command to install:
 +
<pre>
 +
yum --nogpgcheck --enablerepo=trixbox localinstall trixbox-2.6.0.0-3.i386.rpm
 +
</pre>
 +
 +
=== There's a Trixbox Yum repo ===
 +
 +
Rather than downloading the Trixbox RPM and building a local repo, do this:
 +
<pre>
 +
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
 +
</pre>
 +
 +
And then do:
 +
 +
<pre>
 +
yum install trixbox
 +
</pre>
 +
 +
None of the trixbox references at the end of the article are still valid URLs.

Latest revision as of 21:19, 30 September 2011

In attempting to follow these instructions I've found the following:

I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.

Between the "Add character device" and the "Install rpmforge & apt" steps you'll probably want to do

vzctl enter <VEID>

I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:

SITE="http://dag.wieers.com/packages/rpmforge-release/"
wget ${SITE}/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 

Install apt:

SITE="http://dag.wieers.com/packages/apt/"
wget ${SITE}/apt-0.5.15lorg3.2-1.el5.rf.i386.rpm 
rpm -ivh apt-0.5.15lorg3.2-1.el5.rf.i386.rpm 

Also note that I am using the el5 versions of these rpms.

Yum is available in the el5 template that I used so I didn't have to install it.

In the step, "Install speex and libspeex-devel" I found it easier to use yum.

yum install speex speex-devel

It appears that the folks that brought us Trixbox would rather us download and install an ISO. You have to dig pretty deep to find an RPM file. I finally found one:

wget http://yum.trixbox.org/centos/5/RPMS-2.6.0.7/trixbox-2.6.0.0-3.i386.rpm

I found that there were a great number of dependencies that were not found by yum. It appears that you must use a large number of the files at ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/RPMS/. I wrote a simple perl script to download all the files and built a yum repository containing them.


I used the following yum command to install:

yum --nogpgcheck --enablerepo=trixbox localinstall trixbox-2.6.0.0-3.i386.rpm

There's a Trixbox Yum repo

Rather than downloading the Trixbox RPM and building a local repo, do this:

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 

And then do:

yum install trixbox

None of the trixbox references at the end of the article are still valid URLs.