Resources.DocsTutCentos History

Hide minor edits - Show changes to markup

April 24, 2013, at 06:46 PM by 213.233.101.41 -
Changed lines 1-39 from:

Tutorial: Installing OpenSIPS 1.6.3 on CentOS 5.5 with mi-xmlrpc


Recently, I heard from some people that is difficult to install OpenSIPS on CentOS, mainly the mi_xmlrpc module. Some servers do not support Debian or Ubuntu, where the compilation process is quite simple, but in most cases they support RedHat and CentOS. The instructions below are valid for both. Using the preinstalled operating system is sometimes valuable because of the tech support and improved drivers. The objective of this tutorial is to show you how to compile successfully OpenSIPS on CentOS. This configuration was tested with CentOS 5.5.

The installation process is described step by step below:

Step 1: install the dependencies.

 yum install gcc gcc-c++ bison flex zlib-devel openssl-devel mysql-devel subversion pcre-devel

Step 2: Download the OpenSIPS source from the svn repository.

 cd /usr/src
 svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6 opensips_1_6

Step 3: Compile the library xmlrpc-c. If you forget to use --disable-abyss-threads, the system will eventually dump the core because OpenSIPS is multiprocess but not multithreaded. The newest versions of xmlrpc compile by default with threads enabled. This problem do not occur with Debian or Ubuntu because they use an old version of xml-rpc (0.9.1) that does not support threads.

 wget http://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/1.06.41/xmlrpc-c-1.06.41.tgz
 tar -xzvf xmlrpc-c-1.06.41.tgz
 ./configure --disable-abyss-threads
 make
 make install

By default xmlrpc is installed at /usr/local/lib. If your system can only find libraries at /usr/lib, please create a symbolic link pointing to the correct library or change the library path.

Step 4: Use your favorite Linux editor to edit the Makefile

Remove from the “Exclude=” (line 52) the modules db_mysql and mi_xmlrpc. This will make the compilation process include the modules db_mysql and mi_xmlrpc.

 cd /usr/src/opensips_1_6
 vi Makefile

Step 5: Compile and install the core and modules.

 cd opensips_1_6
 make prefix=/ all
 make prefix=/ install
to:

(:redirect Documentation.Tutorials-InstallOnCentos quiet=1 :)

December 10, 2010, at 05:54 PM by flaviogoncalves -
Changed lines 25-26 from:

You are going to receive a warning about the version of xmlrpc-c. Ignore-it, in the newer versions is safe to compile the stable version with threads disabled.

to:

By default xmlrpc is installed at /usr/local/lib. If your system can only find libraries at /usr/lib, please create a symbolic link pointing to the correct library or change the library path.

December 10, 2010, at 05:45 PM by flaviogoncalves -
Changed lines 4-5 from:

Recently, I heard from some people that is difficult to install OpenSIPS, mainly the mi_xmlrpc module on CentOS. Some servers do not support Debian or Ubuntu,where the compilation process is quite simple, but in most cases they support RedHat and CentOS. The instructions below are valid for both. Using the preinstalled operating system is sometimes valuable because of the tech support and improved drivers. The objective of this tutorial is to show how to compile successfully OpenSIPS on CentOS. This configuration was tested with CentOS 5.5.

to:

Recently, I heard from some people that is difficult to install OpenSIPS on CentOS, mainly the mi_xmlrpc module. Some servers do not support Debian or Ubuntu, where the compilation process is quite simple, but in most cases they support RedHat and CentOS. The instructions below are valid for both. Using the preinstalled operating system is sometimes valuable because of the tech support and improved drivers. The objective of this tutorial is to show you how to compile successfully OpenSIPS on CentOS. This configuration was tested with CentOS 5.5.

Changed lines 8-9 from:

Step 1: install the dependencies.

to:

Step 1: install the dependencies.

Changed lines 12-13 from:

Step 2: Download the OpenSIPS source from the svn repository.

to:

Step 2: Download the OpenSIPS source from the svn repository.

Changed lines 17-18 from:

Step 3: Compile the library xmlrpc-c. If you forget to use --disable-abyss-threads, the system will eventually dump the core because OpenSIPS is multiprocess but not multithreaded. The newest versions of xmlrpc compile by default with threads enabled. This problem do not occur with Debian or Ubuntu because they use an old version of xml-rpc (0.9.1) that does not support threads.

to:

Step 3: Compile the library xmlrpc-c. If you forget to use --disable-abyss-threads, the system will eventually dump the core because OpenSIPS is multiprocess but not multithreaded. The newest versions of xmlrpc compile by default with threads enabled. This problem do not occur with Debian or Ubuntu because they use an old version of xml-rpc (0.9.1) that does not support threads.

Changed lines 27-28 from:

Step 5: Use your favorite Linux editor to edit the Makefile

to:

Step 4: Use your favorite Linux editor to edit the Makefile

Changed line 34 from:

Step 6: Compile and install the core and modules.

to:

Step 5: Compile and install the core and modules.

December 10, 2010, at 05:43 PM by flaviogoncalves -
Added lines 1-38:

Tutorial: Installing OpenSIPS 1.6.3 on CentOS 5.5 with mi-xmlrpc


Recently, I heard from some people that is difficult to install OpenSIPS, mainly the mi_xmlrpc module on CentOS. Some servers do not support Debian or Ubuntu,where the compilation process is quite simple, but in most cases they support RedHat and CentOS. The instructions below are valid for both. Using the preinstalled operating system is sometimes valuable because of the tech support and improved drivers. The objective of this tutorial is to show how to compile successfully OpenSIPS on CentOS. This configuration was tested with CentOS 5.5.

The installation process is described step by step below:

Step 1: install the dependencies.

 yum install gcc gcc-c++ bison flex zlib-devel openssl-devel mysql-devel subversion pcre-devel

Step 2: Download the OpenSIPS source from the svn repository.

 cd /usr/src
 svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6 opensips_1_6

Step 3: Compile the library xmlrpc-c. If you forget to use --disable-abyss-threads, the system will eventually dump the core because OpenSIPS is multiprocess but not multithreaded. The newest versions of xmlrpc compile by default with threads enabled. This problem do not occur with Debian or Ubuntu because they use an old version of xml-rpc (0.9.1) that does not support threads.

 wget http://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/1.06.41/xmlrpc-c-1.06.41.tgz
 tar -xzvf xmlrpc-c-1.06.41.tgz
 ./configure --disable-abyss-threads
 make
 make install

You are going to receive a warning about the version of xmlrpc-c. Ignore-it, in the newer versions is safe to compile the stable version with threads disabled.

Step 5: Use your favorite Linux editor to edit the Makefile

Remove from the “Exclude=” (line 52) the modules db_mysql and mi_xmlrpc. This will make the compilation process include the modules db_mysql and mi_xmlrpc.

 cd /usr/src/opensips_1_6
 vi Makefile

Step 6: Compile and install the core and modules.

 cd opensips_1_6
 make prefix=/ all
 make prefix=/ install

Page last modified on April 24, 2013, at 06:46 PM