Install open IMS core

Source: Internet
Author: User
Tags in domain

3rd and 4th operating systems were installed yesterday, and the file system was successfully mounted...

Only Ubuntu-desktop 10.04 can be reinstalled.

Many people have written the installation steps of openimscore.

Reference http://www.vpsee.com/2009/07/install-configure-openimscore/

The original text is as follows (with cut ):

The following is the installation process on Ubuntu 9.04 desktop. Other versions of ubuntu should also work. To reduce the pain, we recommend that you install openimscore on Ubuntu. The configuration files/documents are all written for Ubuntu. UCT is a hardcore fan of ubuntu. The founder of ubuntu graduated from uct. <Br/> download and install <br/> download the source code on the official website. I was too lazy to install the configuration. I want to download a VMware image and run it directly. The result is that the image is too large, an error occurred while downloading. Our group has a workshop in uct, so when we pass by, we ask uct people for a hard copy, but they only need the source code. They don't use the image version themselves, the software development industry has a saying: "eat your own dog food". Since neither of them is eat, then I won't eat them either :) <br/> mkdir/opt/openimscore <br/> Cd/opt/openimscore <br/> mkdir ser_ims <br/> SVN checkout http://svn.berlios.de/svnroot/repos/openimscore/ <br/> ser_ims/trunk ser_ims <br/> mkdir fhoss <br/> SVN checkout http://svn.berlios.de/svnroot/repos/openimscore/ <B R/> fhoss/trunk fhoss <br/> install necessary software packages <br/> sudo apt-Get install bison flex libxml2 libxml2-dev bind9 <br/> sudo apt-Get install mysql- server libmysqlclient15-dev <br/> sudo apt-Get install sun-java5-jdk ant <br/> compile <br/> Cd/opt/openimscore <br/> Cd fhoss <br/> ant compile deploy <br/> Cd .. <br/> Cd ser_ims <br/> make install-libs all <br/> Cd .. <br/> Configure DNS <br/> copy the DNS configuration file and edit named. conf. local: <br/> sudo C P/opt/openimscore/ser_ims/CFG/open-ims.dnszone/etc/bind/<br/> VI/etc/bind/named. conf. local <br/> zone "open-ims.test" {<br/> type master; <br/> file "/etc/bind/open-ims.dnszone"; <br/> }; <br/> restart the DNS service and run Ping test: <br/> sudo/etc/init. d/bind9 restart <br/> Ping open-ims.test (127.0.0.1) 56 (84) bytes of data. <br/> 64 bytes from localhost (127.0.0.1): icmp_seq = 1 TTL = 64 time = 0.020 Ms <br/> 64 bytes from localhost (127.0.0.1): icmp_seq = 2 TTL = 64 time = 0.027 Ms <br/>... <br/> Configure openimscore <br/> Cd/opt/openimscore <br/> mysql-u root-P <fhoss/scripts/hss_db. SQL <br/> mysql-u root- P <fhoss/scripts/userdata. SQL <br/> mysql-u root-P <ser_ims/CFG/icscf. SQL <br/> CP ser_ims/CFG /*. cfg. <br/> CP ser_ims/CFG /*. XML. <br/> CP ser_ims/CFG /*. sh. <br/> RUN openims core <br/>/opt/OP Enimscore/pcscf. sh <br/>/opt/openimscore/icscf. sh <br/>/opt/openimscore/scscf. sh <br/>/opt/openimscore/fhoss/deploy/startup. sh <br/> if you start startup. SH: startup. SH: Line 15:/bin/Java: no such file or directory indicates that java_home is not set. First, locate where Java is installed and modify it. bashrc sets the environment variable and adds the Java path to java_home. <Br/> locate/RT. jar <br/> Cd <br/> VI. bashrc <br/> export java_home =/usr/lib/JVM/Java-1.5.0-sun <br/> source. bashrc <br/> restart startup. sh. Open the browser and enter http: // localhost: 8080. the user name and password are: hss/HSS. An error will be reported after logon because you need to start Tomcat with root, and fhoss runs on Tomcat: <br/> sudo. /startup. sh <br/> If you cannot find/bin/Java at this time, you need to establish a connection: <br/> sudo ln-S/usr/bin/Java <br/> restart startup. sh, log on to http: // localhost: 8080 in the browser and you will be able to see the welcome page. <Br/> test with uctimsclient <br/> to http://uctimsclient.berlios.de/download the client uctimsclient of openims core, first install the necessary software package, and then install uctimsclient: <br/> sudo apt-Get install libavcodec52 libosip2-dev libexosip2-dev <br/> sudo apt-Get install libgtk2.0-dev libxml2-dev libcurl4-dev libvlc-dev VLC <br/> sudo apt-Get install libgstreamer0.10 -Dev libgstreamer-plugins-base0.10-dev <br/> sudo apt-Get install libavcodec-unstripped- 52 <br/> sudo dpkg-I uctimsclient1.0.13.deb <br/> An error is reported when dpkg-I uctimsclient1.0.13.deb. Here are several dependency problems to be solved: libavcodec51 is required instead of libavcodec52, so to delete libavcodec52, manually download and install libavcodec51; need libavcodec-unstripped-51 instead of libavcodec-unstripped-52, manually download libavcodec-unstripped-51, install libavcodec-unstripped-51 first before installing the libx264-59. <Br/> RUN uctimsclient. If an error is reported at this time, install libcurl and run it again: <br/> uctimsclient: Error while loading shared libraries: libcurl. so.4: cannot open shared object file: no such file or directory <br/> apt-Get install libcurl3 <br/> uctimsclient <br/>

 

Here I will only talk about the problems I encountered.

1. java5, he said it was necessary to install java5, but I found that after the installation, an error will be reported during compile. I went to the Internet and read some articles about installing openimscore on Ubuntu 8.04 and found that they all use java6, replace. next, we found that the dual-terminal operation was changed by one party. after bashrc, the other side cannot be synchronized... I didn't think of this problem at the beginning, and it had been bothering me for a long time.

2. DNS configuration problems are all done according to the steps. Unfortunately, no. Later I found that I needed to change the DHCP settings. The steps are as follows:

(1) execute ser_ims/CFG/configurator. Sh, enter open-ims.test in domain, IP adress input 127.0.0.1

(2). # cp/etc/resolv. CONF/etc/resolvbak. conf

# Write the following information to gedit/etc/resolv. conf:

Nameserver 127.0.0.1

Search open-ims.test

Domain open-ims.test

#/Etc/init. d/bind9 restart

# Ping open-ims.test

(3). Get it done...

3. Run Ctrl + Shift + T on multiple terminals, and run startup. Sh on the.../deploy/directory first.

4. uctimsclient installation also encountered many problems... many of the software packages it depends on are very old, and many update sources cannot be used. In the end, only dpkg-I-force-all...

Then, find the prompt when running, create a shared link with the new Lib file, and then complete the operation.

5. Currently, only local machines can be used. How can I use it in a lan? In addition, you can only use database management. What if you want to set up dialing rules? This is really a problem...

 

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.