Editing Installing Trixbox 2.0 in CentOS VE
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
− | Here | + | Here what I did to installed Trixbox 2.0 in a CentOS VE. I found quite a bit of information scattered over the web and even one in the OpenVZ Forum. Note, my installation don't use any hardware such as Zaptel. I still see a warning about can't load zaptel, but I have still been able to use my VEs. Yes, I have installed several of these. |
− | |||
− | |||
== Basic Steps == | == Basic Steps == | ||
Line 14: | Line 12: | ||
# Download Trixbox 2.0 tar.gz file (not ISO) and extract to /var/trixbox_load | # 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 | # Change to /var/trixbox_load and run install.sh script | ||
− | NOTE: You may need to run the script several times. Just seems like YUM | + | NOTE: You may need to run the script several times. Just seems like YUM don't |
− | install all the packages at the same time. I am | + | install all the packages at the same time. I am no sure what sup here. |
− | == | + | == Details Steps == |
# Create VE from CentOS Template. | # Create VE from CentOS Template. | ||
− | #* eg. | + | #* eg. vzctl create 204 --ostemplate centos-4-i386-default --config vps-basic |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
# Add character device /dev/tty9 to VE | # Add character device /dev/tty9 to VE | ||
− | #* eg. | + | #* eg. 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 | |
− | #* NOTE: If you are using zaptel or capi, then you will need to add those devices to the VE | ||
# Install rpmforge & apt | # Install rpmforge & apt | ||
− | #* You may check for the most recent release of rpmforge and apt. | + | #* You may check for the most recent release of rpmforge and apt. If you encounter error running rpm, you may need a newer rpm (rpm-4.3.3-18_nonptl.i386.rpm) which u can find in Google. |
− | ## | + | ## Intall RPMFORGE |
− | + | #* SITE="http://dag.wieers.com/packages/rpmforge-release/" | |
− | + | #* rpm -Uvh ${SITE}/rpmforge-release-0.3.6-1.el4.rf.i386.rpm | |
## Install APT | ## Install APT | ||
− | + | ##* STIE="http://dag.wieers.com/packages/apt/" | |
− | + | ##* rpm -Uvh ${SITE}/apt-0.5.15lorg3.2-1.el4.rf.i386.rpm | |
# Add DAG repository for yum | # Add DAG repository for yum | ||
− | + | #* rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt | |
− | + | #* mkdir -p /etc/yum.repos.d | |
− | |||
#* Create a file /etc/yum.repos.d/dag.repo, with: | #* Create a file /etc/yum.repos.d/dag.repo, with: | ||
+ | #** <blockquote> | ||
[dag] | [dag] | ||
name=Dag RPM Repository for Red ht Enterprise Linux | name=Dag RPM Repository for Red ht Enterprise Linux | ||
Line 51: | Line 39: | ||
gpgcheck=1 | gpgcheck=1 | ||
enabled=1 | enabled=1 | ||
+ | </blockquote> | ||
# Install yum | # Install yum | ||
## Try installing yum via apt-get | ## Try installing yum via apt-get | ||
− | + | ##* apt-get update | |
− | + | ##* apt-get install yum | |
## If that failed, then try doing the easy way. :) | ## If that failed, then try doing the easy way. :) | ||
− | ## | + | ##* rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 |
− | + | ##* SITE=http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS | |
− | + | ##* <blockquote> | |
− | + | 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 | |
− | + | </blockquote> | |
− | |||
− | ${SITE}/rpm-python-4.3.3-18_nonptl.i386.rpm ${SITE}/python-urlgrabber-2.9.8-2.noarch.rpm | ||
− | |||
− | |||
− | |||
− | |||
− | |||
# Install speex and libspeex-devel | # Install speex and libspeex-devel | ||
− | + | #* rpm -Uvh ${SITE}/speex-1.0.4-4.i386.rpm ${SITE}/speex-devel-1.0.4-4.i386.rpm | |
− | |||
− | |||
# Download [http://www.trixbox.org Trixbox 2.0] tar.gz file (not ISO) and extract to /var/trixbox_load | # Download [http://www.trixbox.org Trixbox 2.0] tar.gz file (not ISO) and extract to /var/trixbox_load | ||
# Change to /var/trixbox_load | # Change to /var/trixbox_load | ||
− | + | #* mkdir /var/trixbox_load | |
− | + | #* tar zxf trixbox-2.0.tar.gz -C /var/trixbox_load/ | |
# Run install.sh script | # 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. | ## 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. | ||
− | + | ##* cd /var/trixbox_load/ | |
− | + | ##* ./install.sh | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Resources - Links where I got my info. == | |
− | + | # http://www.eukhost.com/forums/archive/index.php/t-839.html | |
− | + | # http://www.trixbox.org/modules/newbb/viewtopic.php?topic_id=7992&forum=1 | |
− | + | # http://www.trixbox.org/modules/newbb/viewtopic.php?viewmode=thread&topic_id=4622&forum=2&post_id=33831#33831 | |
− | + | # http://helpdesk.peoplehost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=45&nav=0,6 | |
− | + | # http://wiki.garylaw.net/doku.php?id=technical:unix:linux:yum | |
− | + | # http://rudyegenias.wordpress.com/2006/12/19/installing-yum-in-bayanihan-linux-server-2006/ | |
+ | # http://rpm.pbone.net/index.php3 (use this to find any rpm) | ||
+ | # http://www.trixbox.org/modules/newbb/viewtopic.php?topic_id=8352&forum=1&viewmode=flat&order=ASC&start=10& | ||
[[Category:HOWTO]] | [[Category:HOWTO]] |