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

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(rest sufficiently: new section)
Line 36: Line 36:
  
 
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 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:  
 
I used the following yum command to install:  
Line 42: Line 43:
 
</pre>
 
</pre>
  
None of the trixbox references at the end of the article are still valid URLs.
+
=== There's a Trix 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:
  
== rest sufficiently ==
+
<pre>
 +
yum install trixbox
 +
</pre>
  
hello world
+
None of the trixbox references at the end of the article are still valid URLs.

Revision as of 08:41, 20 May 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 Trix 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.