Difference between revisions of "OpenSIPS: Instalasi Minimal di Ubuntu 16.04"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://www.opensips.org/Documentation/Install ==Siapkan aplikasi pendukung== apt-get install flex bison gcc make perl libperl-dev libxmlrpc-core-c3 libxmlrpc-cor...")
 
Line 36: Line 36:
 
   make menuconfig
 
   make menuconfig
  
 +
pilih
 +
 +
Compile And Install OpenSIPS
 +
Generate OpenSIPS Script
 +
Exit & Save All Changes
  
 
==Copy scripts==
 
==Copy scripts==

Revision as of 05:32, 21 October 2016

Sumber: https://www.opensips.org/Documentation/Install


Siapkan aplikasi pendukung

apt-get install flex bison gcc make perl libperl-dev libxmlrpc-core-c3 libxmlrpc-core-c3-dev \
unixodbc unixodbc-dev libfreeradius2 libfreeradius-client-dev libxml2 openssl libsctp1 libsctp-dev \
libexpat1 libexpat1-dev libldap-2.4-2 libldap2-dev libsnmp30 libsnmp-base libsnmp-dev libconfuse0 libconfuse-dev \
libmysqlclient-dev mysql-client mysql-server zlib1g zlib1g-dev  libmysql++ libmysql++-dev libpcre3 \
libpcre3-dbg libpcre3-dev libncurses5-dev libmysqlclient-dev libsctp-dev libssl-dev
apt-get install perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl


Optional untuk DBD::Oracle

Download the .tar.gz archive from: http://search.cpan.org/~pythian/DBD-Oracle-1.22/Oracle.pm	
Decompress and unpack it
cd DBD-Oracle-1.22
perl Makefile.PL
make
make test
make install 


Download Source Code

cd /usr/local/src
wget http://opensips.org/pub/opensips/latest/opensips-2.2.2.tar.gz
tar zxvf opensips-2.2.2.tar.gz 
cd /usr/local/src/opensips-2.2.2

Compile

 make menuconfig

pilih

Compile And Install OpenSIPS 
Generate OpenSIPS Script 
Exit & Save All Changes

Copy scripts

cp -Rf /usr/local/src/opensips-2.2.2/scripts/* /usr/local/lib/opensips/opensipsctl/

Cek Configurasi

opensips -c -f /usr/local/etc/opensips/opensips.cfg



Referensi