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

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(There's a Trix Yum repo =)
(Инфо о заработке+проги!)
Line 1: Line 1:
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.  
+
Кто уже понял, что действительно хорошие деньги можно зарабатывать только если ЭТОМУ учиться и желательно у ПРАКТИКОВ - ПРОФЕССИОНАЛОВ x-strange.ru
 
 
Between the "Add character device" and the "Install rpmforge & apt" steps you'll probably want to do
 
<pre>
 
vzctl enter <VEID>
 
</pre>
 
 
 
I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:
 
<pre>
 
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
 
</pre>
 
 
 
Install apt:
 
<pre>
 
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
 
</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 ===
 
=== There's a Trixbox Yum repo ===

Revision as of 21:14, 10 August 2011

Для тех кого уже порядком достал лохотрон в Интернете. Кто уже понял, что действительно хорошие деньги можно зарабатывать только если ЭТОМУ учиться и желательно у ПРАКТИКОВ - ПРОФЕССИОНАЛОВ x-strange.ru

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.