Tuesday, March 22, 2011

Installing sipXecs / openUC from USB Memory Stick

Jim Canfield of EMStar Solutions posted this in the sipx-users mailing list and I thought I'd share it...

1. Download<>the Fedora *liveusb-creator-x-x.zip* and extract to your PC
2. Download<>the *sipxecs-4.2.1-100820-x86_64.iso*
3. Navigate to the *liveusb-creator-x-x* folder and click * liveusb-creator.exe* to launch the tool


1. Under *Use existing Live CD*, browse to where you saved the *
sipxecs-4.2.1-100820-x86_64.iso* and select it
2. Set the *Target Device* to point to your USB flash drive
3. Click *Create Live USB* to begin the creation process

ISSUES:

- SEE COMMENTS BELOW - sipxecs setup script is looking specifically for device CDROM during the install. I suggest using the CentOS netinstall method described in the comments section if you don't have a CDROM (or DVD for new 4.4 install).

- Depending on your bios, you may have to edit you grub.conf after install because the install will assume the USB drive is (hd0,0) and the primary hard drive is (hd1,0). To fix, simply edit on boot fail the first time, then edit grub.conf manually once booted. Press ENTER on the fail message, at the menu screen press 'e' and then 'e' again to edit the 'root(hd1,0)' line and change to 'root (hd0,0)', Press ENTER and then press 'b' to boot. After you boot, to edit grub.conf 'nano -w /etc/grub.conf' and change all references to 'root (hd1,0)' to 'root (hd0,0)'.

- Windows 7 users must "run as administrator"

4 comments:

vadim said...

I try this method.
But I get error durind install - cannot find kickstart file.
This file is in the root directory of my usb from where i am booting.
ks.cfg

Michael Picher said...

Yes, I started running into this problem as well. I think the sipXecs installation script is looking specifically for CDROM and not the boot device.

My suggestion now is to use the netinstall of CentOS 5.5 (information found here: http://www.if-not-true-then-false.com/2010/centos-netinstall-network-installation/)

Uncheck any canned packages during the CentOS install (I think workstation is selected by default).

After centOS boot, use yum to install ntp, dhcpd and bind. (yum install ntp dhcpd bind) (ps, it might be ntpd and dhcpd, I can't quite remember off the top of my head)

Then use the RPM method of installing sipXecs. (information found here: http://wiki.sipfoundry.org/display/sipXecs/Installing+on+Fedora+and+CentOS)

Bascially this can be done with the following method:

1. login as root and 'cd /etc/yum.repos.d'
2. wget http://download.sipfoundry.org/pub/sipXecs/sipxecs-4.2.1-centos.repo

or
wget http://download.sipfoundry.org/pub/sipXecs/sipxecs-4.4.0-centos.repo
3. yum install sipxecs
4. yum update
5. reboot
6. login again as root.
7. sipxecs-setup-system
8. reboot

Michael Picher said...

Sorry, forgot to mention in that post that for the netinstall, you can burn the netinstall ISO to a USB stick with the method I published above...

Michael Picher said...

Sorry, one more comment... maybe I should just make another post...

Disable firewall and selinux after installation of CentOS.

I do this by running 'setup' logged in as root and selecting security.