Install and configure OpenIMSCore in Ubuntu11.10

Source: Internet
Author: User
Operating System Ubuntu11.10 download source code mkdir/opt/OpenIMSCorecd/opt/OpenIMSCoremkdirser_imssvncheckouthttp: // svn.berlios.de/svnroot/repos/openimscor Operating System
 
 
  1. Ubuntu 11.10 
Download source code
 
 
  1. mkdir /opt/OpenIMSCore 
  2. cd /opt/OpenIMSCore 
  3.  
  4. mkdir ser_ims 
  5. svn checkout http://svn.berlios.de/svnroot/repos/openimscore/ser_ims/trunk ser_ims 
  6.  
  7. mkdir FHoSS 
  8. svn checkout http://svn.berlios.de/svnroot/repos/openimscore/FHoSS/trunk FHoSS 

Install necessary software packages
 
 
  1. Sudo apt-get install bison flex libxml2 libxml2-dev bind9
  2. Sudo apt-get install mysql-server libmysqlclient15-dev
  3. Sudo apt-get install ant libcurl4-nss-dev
  4. Sun-java5-jdk Installation Reference http://www.linuxidc.com/Linux/2011-04/34075.htm
Compile
 
 
  1. Compile JavaDiameterPeer to generate jdp. jar. The jdp. jar downloaded by svn has a problem.
  2. Cd JavaDiameterPeer/trunk
  3. Ant compile
  4. Ant jar // generate jdp. jar in the class directory
  5. Overwrite the compiled jdp. jar file in OpenIMSCore/FHoSS/lib.
  6.  
  7. Compile OpenIMSCore
  8. Cd/opt/OpenIMSCore
  9. Cd FHoSS
  10. Ant compile deploy
  11. Cd ..
  12. Cd ser_ims
  13. Make install-libsAll 
  14. Cd ..
Configure DNS
 
 
  1. sudo cp /opt/OpenIMSCore/ser_ims/cfg/open-ims.dnszone /etc/bind/ 
  2. vi /etc/bind/named.conf.local 
  3. zone “open-ims.test” { 
  4. type master; 
  5. file “/etc/bind/open-ims.dnszone”; 
  6. }; 
  7. sudo /etc/init.d/bind9 restart 
Configure OpenIMSCore
 
 
  1. cd /opt/OpenIMSCore 
  2. mysql -u root -p < FHoSS/scripts/hss_db.sql 
  3. mysql -u root -p < FHoSS/scripts/userdata.sql 
  4. mysql -u root -p < ser_ims/cfg/icscf.sql 
  5. cp ser_ims/cfg/*.cfg . 
  6. cp ser_ims/cfg/*.xml . 
  7. cp ser_ims/cfg/*.sh . 
Run OpenIMS Core
 
 
  1. Modify the domain name and IP address. Otherwise, the default listening IP address of the service is 127.0.0.1.
  2. Root @ www.linuxidc.comOpen-Ims:/opt/OpenIMSCore # locate aggregator. sh
  3. Root @ www.linuxidc.comOpen-Ims:/opt/OpenIMSCore #./aggregator. sh
  4. DomainName:Open-Ims. test
  5. IP Adress: 192.168.1.202
  6. FileToChange ["All"ForEverything, "exit"ToQuit]:All 
  7. Root @ www.linuxidc.comOpen-Ims:/opt/OpenIMSCore # cd FHoSS/
  8. Root @ www.linuxidc.comOpen-Ims:/opt/OpenIMSCore/FHoSS # ../aggregator. sh
  9. DomainName:Open-Ims. test
  10. IP Adress: 192.168.1.202
  11. FileToChange ["All"ForEverything, "exit"ToQuit]:All 
Run scripts
  1. /Opt/OpenIMSCore/pcscf. sh
  2. /Opt/OpenIMSCore/icscf. sh
  3. /Opt/OpenIMSCore/scscf. sh
  4. /Opt/OpenIMSCore/FHoSS/deploy/startup. sh
  5. Open the browser and enter http: // 192.168.1.202: 8080. the user name and password are: hss/hss.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.