Professional Documents
Culture Documents
OpenImsCorePracticeGuideV1 0debian8 5
OpenImsCorePracticeGuideV1 0debian8 5
net/publication/325931179
CITATIONS READS
0 1,246
1 author:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Yanko Antonio Marín Muro on 22 June 2018.
1.1. Abstract
- Use D:\_\SW\debian-8.5.0-i386-CD-1.iso
#############
# Jessie 8 #
#############
deb http://X.Y.Z.J/repositorio/debian/ jessie contrib main non-free
#Security-Updates#
deb http://X.Y.Z.J/repositorio/debian-security/ jessie/updates contrib
main non-free
#Multimedia#
deb http://X.Y.Z.J/repositorio/debian-multimedia/ jessie main non-free
# Cargas en ram esta configuracion
apt-get update
# Actualizas tu sistema instalado con los paquetes nuevos del
repositorio
apt-get upgrade
restart network:
- /etc/init.d/networking restart
--> due to changed interface data eth0 is dead (unknown)
- ifup eth0
Instalar mysql:
sudo apt-get install mysql-server-5.5
sudo apt-get install mysql-client-5.5
sudo apt-get install libmysqlclient-dev
Dominio: imscuba.test
IP:10.10.10.1
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
export
CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
//Compilar ser_ims:
cd ser_ims
make install-libs all
cd ..
Compilar FHoSS:
Make sure, that the JDK version that you are using is >= 1.5!!!
cd FHoSS
ant compile
ant deploy
cd ..
- directory: /opt/OpenIMSCore/FHoSS/scripts
root@lab:/opt/OpenIMSCore/ser_ims/cfg#./configurator.sh
/opt/OpenIMSCore/FHoSS/scripts/hss_db_migrate_dsai.sql
/opt/OpenIMSCore/FHoSS/scripts/hss_db.sql
/opt/OpenIMSCore/FHoSS/scripts/userdata.sql
Dominio: imscuba.test
IP:10.10.10.1
mysql -u root -p
# see last line in hss_db.sql:
grant delete,insert,select,update on hss_db.* to hss@imscore.imscuba.test identified
by 'hss';
grant delete,insert,select,update on icscf.* to icscf@imscore.imscuba.test identified by
'heslo';
grant delete,insert,select,update on icscf.* to provisioning@imscore.imscuba.test
identified by 'provi';
quit
grant delete,insert,select,update on hss_db.* to hss@10.10.10.1 identified by 'hss';
grant delete,insert,select,update on icscf.* to icscf@10.10.10.1 identified by 'heslo';
grant delete,insert,select,update on icscf.* to provisioning@10.10.10.1 identified by
'provi';
cd /opt/OpenIMSCore
sudo cp ser_ims/cfg/*.cfg ./
sudo cp ser_ims/cfg/*.xml ./
sudo cp ser_ims/cfg/*.sh ./
cd /opt/OpenIMSCore/
9
sudo ./pcscf.sh
sudo ./scscf.sh
sudo ./icscf.sh
start HSS from /root: ./hss.sh
//Otra variante para el HSS
cd FHoSS/deploy
sudo sh startup.sh
El procedimiento es el siguiente:
By default, FHoSS comes provisioned with a couple of sample users:
alice@open-ims.test
bob@open-ims.test
Use these or insert new ones.
Create a Subscription
Create a Private Identity
Create a Public Identity
Link them
Recopilando los datos necesarios para la creación de usuarios
cd /opt/OpenIMSCore/ser_ims/cfg
1.6. TRAZAS
//Funciona correctamente
sip or diameter.applicationId == 16777216 or dns
diameter.Acct-Application-Id == 0