Create a local Yum repository for Software Updates

Sometimes, a user wants to update an ISO install with different version of software, other than sipxecs.org repository offers.
Creating a local yum repository is fairly easy. Here are the steps that should be followed ...

NOTES

The following instructions apply to Fedora Core (F10 and later) as well as Red Hat Enterprise Linux 5 (RHEL5) and CentOS 5.

Step 1. Get the latest sources from sipxecs.sipfoundry.org and make a set of new RPM packages

You ca use "Express Development Environment" (steps 2,3 and 4) for that (see http://wiki.sipfoundry.org/display/xecsdev/Express+Development+Environment+%28EDE%29).
Make a "UPDATES" directory to hold the sipXecs RPM packages:
mkdir UPDATES

Step 2. Install "createrepo" program and create a local yum repository

yum install createrepo
createrepo /UPDATES
(where "UPDATES" is the directory made in Step 1 and contains all new sipX RPMs)

Step 3. Change Yum to point to the new repository

In /etc/yum.repos.d/sipxecs.repo file add the following block:

[xecsuser:sipxecs-local]
name=Local Repo
baseurl=file:///UPDATES
gpgcheck=0
enabled=1

Test

yum clean all
yum check-update sipx*

Now, you can use "Software update" page from sipX UI to make a upgrade.