Compile OpenSER

From OnnoWiki
Revision as of 05:45, 11 March 2008 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Siapkan software pendukung

# apt-get install flex bison gcc make
# apt-get install libperl5.8 libperl-dev
# apt-get install libxmlrpc-c3 libxmlrpc-c3-dev
# apt-get install unixodbc unixodbc-dev
# apt-get install libradiusclient-ng2 libradiusclient-ng-dev
# apt-get install libxml2
# apt-get install openssl libsctp1 libsctp-dev
# apt-get install libexpat1 libexpat1-dev
# apt-get install libldap2 libldap2-dev
# apt-get install libsnmp10 libsnmp-dev
# apt-get install libconfuse0 libconfuse-dev
# apt-get install libmysqlclient15off libmysqlclient15-dev mysql-client-5.0 mysql-server
# apt-get install zlib1g zlib1g-dev

Jika kita ingin menggunakan PostgresQL

# apt-get install libpq5 libpq-dev

Ambil source code dari

http://www.openser.org/pub/openser/latest/src/

Jika anda tidak menggunakan TLS, lakukan

# cp openser-1.3.0-notls_src.tar.gz /usr/local/src/
# cd /usr/local/src/
# tar zxvf openser-1.3.0-notls_src.tar.gz
# cd openser-1.3.0-notls

Jika anda menggunakan TLS, lakukan

# cp openser-1.3.0-tls_src.tar.gz /usr/local/src/
# cd /usr/local/src/
# tar zxvf openser-1.3.0-tls_src.tar.gz
# cd openser-1.3.0-tls

Compile menggunakan perintah

# make
# make modules
# make install

Atau

# make && make modules && make install


Pranala Menarik