This post details a "howto" and "my experience" installing Trixbox 2.2.3 into a Centos 4.5 VM under XenSource 3.2.
I've created this because I fell into a few "d'oh!" holes along the way and I thought somebody else might find this info useful. There are also some problems (bugs?) with the trixbox install script that you need to get around.
It's aimed at somebody who knows what they're doing and I make no apologies for this not being detailed enough for induhviduals to follow.
Method:
- Install XenSource XenServer 3.2
- Buy the XenSource Centos 4.4 template from http://shop.tygerteam.com/ and install as per the instructions
- Install a new VM based on the Centos 4.4 template. I used 512MB RAM but the default hard disk size. At the end of the install it's 50% used.
- (optional) update the repository to point to your ISP's centos mirror (iinet in my case)
- Run "yum update" to upgrade it to Centos 4.5
- Delete /etc/localtime and create a proper symlink from /usr/share/zoneinfo
- Update the root password
- Reboot and make sure it starts up as Centos 4.5. If you like you can switch it off and then clone it or export it from here so you have a Centos 4.5 image that you can use it again later without having to redo the other steps
- Boot it up again and run netconfig to configure networking, then restart the network service
- Edit /etc/sysconfig/network and fix the hostname
- Extract the trixbox.tar.gz from trixbox-2.2.3-1.iso and scp it up to your VM
- Untar trixbox.tar.gz to /var/trixbox_load (make the directory)
- Copy rpms/*.repo to /etc/yum.repos.d (trixbox's install script will do this later but it seems that it omits to install asterisk so you need to do this manually first)
- Install asterisk and asterisk-addons (yum install asterisk asterisk-addons)
- run install.sh from /var/trixbox_load
- Edit /etc/php.ini and turn 'display_errors' off (trixbox's install script changes this for some stupid reason)
- Edit /etc/hosts and add your hostname and IP in
- Edit /etc/httpd/conf/httpd.conf and set the hostname (you may not need to do this depending on your dns configuration)
- Reboot and trixbox should now be working properly
I will follow up with more details of my experience later... in particular I'm keen to see if Trixbox under Xen has the same high-res timer issues that Trixbox under VMWare has (which is the cause of garbled asterisk-generated messages that has been widely reported)
Member Since:
2007-03-01