Steps To Install Openimscore in Ubuntu (Tried in Kubuntu 12.04)
Steps To Install Openimscore in Ubuntu (Tried in Kubuntu 12.04)
04):
/etc/network/interfaces
/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
Configuring Bind:
Edit /etc/bind/named.conf similar to the following screenshot:
Contents of "open-ims.dnszone":
Contents of "open-ims-rev.dnszone":
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