0% found this document useful (0 votes)
517 views

Steps To Install Openimscore in Ubuntu (Tried in Kubuntu 12.04)

This document provides steps to install and configure OpenIMSCore on Ubuntu to set up an IMS core network for testing. It involves downloading required packages and software, modifying network configuration files, configuring the DNS server Bind, setting up the database, deploying the IMS components, and starting the services. Finally, the FHoSS web console is accessed to verify that default users were provisioned successfully.

Uploaded by

Amudheesan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
517 views

Steps To Install Openimscore in Ubuntu (Tried in Kubuntu 12.04)

This document provides steps to install and configure OpenIMSCore on Ubuntu to set up an IMS core network for testing. It involves downloading required packages and software, modifying network configuration files, configuring the DNS server Bind, setting up the database, deploying the IMS components, and starting the services. Finally, the FHoSS web console is accessed to verify that default users were provisioned successfully.

Uploaded by

Amudheesan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Steps to install OpenIMSCore in Ubuntu (Tried in Kubuntu 12.

04):

sudo apt-get update


sudo apt-get install ant mysql-server mysql-client mysql-common bison flex libxml2
libxml2-dev libmysqlclient-dev openjdk-6-jdk libcurl4-gnutls-dev build-essential subversion
Download the latest version of bind9 from https://www.isc.org/downloadables/11 (ar tar.gz
archive) OR sudo apt-get install bind9
sudo mkdir /opt/OpenIMSCore
cd /opt/OpenIMSCore
mkdir FHoSS
mkdir ser_ims
sudo svn checkout http://svn.berlios.de/svnroot/repos/openimscore/FHoss FHoss
sudo svn checkout http://svn.berlios.de/svnroot/repos/openimscore/ser_ims ser_ims
Next step is to download X-Lite for Ubuntu. But now it is not free for download. Download
similar software "ekiga" from http://ftp.gnome.org/pub/gnome/sources/ekiga/3.2/ (latest
version is at the bottom) {Later, how to compile and install this is given in the link:
http://wiki.ekiga.org/index.php/Compiling_Ekiga }
Install "nslookup" via apt-get

Settings for the network:


These are examples.
Domain Name: group5imslab12.in
IP address: 192.168.1.100
Subnet: 255.255.0.0
The three files that have to be modified in Ubuntu initially:
1. /etc/network/interfaces
2. /etc/hosts
3. /etc/resolv.conf
The screenshots are below (modify these files in a similar way, according to your network
settings).
Do the following before modifying the above 3 files:
sudo service network-manager stop
sudo ifconfig eth0 192.168.1.100/16 up

/etc/network/interfaces

(Ignore the lines starting with #, they are comments)


/etc/hosts

/etc/resolv.conf
Add the following lines (modified according to your settings):
search group5imslab12.in
domain group5imslab12.in
nameserver 192.168.1.100
nameserver 127.0.0.1

Restart the network by the command:


sudo /etc/init.d/networking restart
You will be able to ping pcscf, icscf, scscf, localhost now

Configuring Bind:
Edit /etc/bind/named.conf similar to the following screenshot:

Now, add open-ims.dnszone and open-ims-rev.dnszone files at /etc/bind. Easeiest way to do is


copy "open-ims.dnszone" file from /opt/OpenIMSCore/ser_ims/cfg to /etc/bind and edit it.
(sudo cp /opt/OpenIMSCore/ser_ims/cfg/open-ims.dnszone /etc/bind)
(Then copy the contents of this new "open-ims.dnszone" file at /etc/bind to another file "openims-rev.dnszone" at same location)

Contents of "open-ims.dnszone":

Contents of "open-ims-rev.dnszone":

Copy open-ims.dnszone to /opt/OpenIMSCore/ser_ims/cfg:


cp /etc/bind/open-ims.dnszone /opt/OpenIMSCore/ser_ims/cfg

Restart bind server:


sudo /etc/init.d/bind9 restart
If the bind server fails to start, it might mean that there is some error in the last two files.

Check whether DNS has been configured with nslookup command:


nslookup group5imslab12.in
nslookup 192.168.1.100
The output will look something like:

Final Steps
Go to /opt/OpenIMSCore/
1. Go inside ser_ims/cfg directory ( cd /ser_ims/cfg/ )
2. Run configurator.sh ( sh configurator.sh )
3. Enter Domain Name: < your domain name>
4. Enter IP Address: < Your IP Address>
(in our case we entered group5imslab12.in and ip 192.168.1.100)
5. Apply changes to all.
(This step will change domain name and ip address in the following files: icscf.cfg,
icscf_pg.sql, icscf.sql, icscf.thig.cfg, icscf.xml, pcscf.cfg, pcscf.xml, persist_my.sql,
persist_pg.sql, scscf.cfg, scscf.xml)
6. Change to the following directory:
( cd /opt/OpenIMSCore/FHoSS/scripts )
7. Change domain name in userdata.sql to your domain. (Replace "open-ims.test" with your
domain, wherever it is present in the file. Replace "127.0.0.1" to "192.168.1.100"
8. Change to the following directory
( cd /opt/OpenIMSCore/FHoSS/config/ )
9. Change Domain name in DiameterPeerHSS.xml to your domain name.
10. Move to the following directory:
Cd /opt/OpenIMSCore/ser_ims
make install-libs all
11. cd /opt/OpenIMSCore/FHoSS
ant compile deploy
12. Now make Database as:
You are at /opt/OpenIMSCore
mysql u root p < ser_ims/cfg/icscf.sql
mysql u root p < FHoSS/scripts/hss_db.sql
mysql u root p < FHoSS/scripts/userdata.sql
13. Copy the following files into /opt/OpenIMSCore
cp ser_ims/cfg/*.cfg
cp ser_ims/cfg/*.xml
cp ser_ims/cfg/*.sh

14. Start OpenIMSCore (in 4 different terminals):


./pcscf.sh
./scscf.sh
./icscf.sh
cd FHoSS/deploy/
./startup.sh
15. Open FHoSS web Console
http://localhost:8080/hss.web.console/
User Name: hssAdmin
password: hss
16. Go to user identities -> Public User Identities -> search
17. Click on search, you will see two default users:
Alice and bob
18. Now you are ready with your IMS Core for the experiments.

You might also like