OpenIMS installation diary-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Install the linux operating system, preferably at least 2.6 kernel;
2. To install jdk, see java installation log.
3. Install mysql, libxml2, and libmysql (this is not installed and may also be compiled ). Start mysql after installation:
Under fedora:
Chkconfig -- level 5 mysqld on
Service mysqld start
4. Install bind and start it again:
Under fedora:
Chkconfig -- level 5 named on
Service named start
5. Complete the preparation and download the openims code.
If you use svn to download windows and copy it to linux for compilation, an error occurs during compilation in linux.
The solution is to report Errors Based on the prompt files, such:
Sip. h: 1: error: expected '=', ';', 'asm 'or' _ attribute _ 'before '.'
Token
Delete the corresponding sip. h of the file and add the symbolic link as follows:
Ln-s ../scscf/sip. h./sip. h
There are about six or seven files that need to be processed as follows: icscf directory under modules, ims_pm.h (c), bin. h (c), and sip. h (c) directory.
It is best to automatically generate the symbolic links of these files through svn download in linux.
6. Enter ser_ims and enter make install-libs all. Everything should be OK () except for the problem mentioned above.
7. Enter FHoss and enter
# Java-version
Java version "1.5.0 _ 07"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0 _ 07-b03)
Java HotSpot (TM) Client VM (build 1.5.0 _ 07-b03, mixed mode)
Make sure that the java version is later than 1.5
8. ant compile
Ant deploy
Cd ..
Start the compilation:
9. The default domain is: open-ims.test
Edit ser_ims/cfg/configurator. sh to change the settings.
10. DNS Configuration:
Add the following in/etc/named. conf:
Zone "open-ims.test" IN {
Type master;
File "open-ims.dnszone ";
}
Copy the open-ims.dnszone to/var/named/chroot/var/named and do the symbolic link to/var/named
You should also configure reverse resolution:
Modify/etc/resolv. conf to direct the DNSserver to itself.
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