Difference between revisions of "OpenBTS: Ubuntu 11.10 Install"

From OnnoWiki
Jump to navigation Jump to search
Line 90: Line 90:
 
  make  
 
  make  
 
  make install
 
  make install
 +
 +
Selanjutnya, inisialisasi konfigurasi database OpenBTS
 +
 +
cd /usr/local/src/smqueue-2.8.0Opelousas
 +
sudo sqlite3 -init  smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db
 +
 +
==
 +
 +
 +
  
 
==Referensi==
 
==Referensi==

Revision as of 16:48, 10 February 2012

Instalasi Paket Pendukung dan Asterisk

Instalasi paket / library pendukung tambahan

sudo apt-get install autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang \
asterisk asterisk-mysql

Install OpenBTS

Download source code dari

http://www.openbts.org
http://sourceforge.net/projects/openbts/

Sebagai root Lakukan

cp openbts-P2.8.0Opelousas.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf openbts-P2.8.0Opelousas.tar.gz
cd /usr/local/src/openbts-P2.8.0Opelousas

Lakukan sedikit debugging untuk sqlite3

vi /usr/local/src/openbts-P2.8.0Opelousas/sqlite3/Makefile.am

kira-kira di line 24 di Makefile.am ubah

AM_CXXFLAGS = -Wall -lpthread

menjadi

AM_CXXFLAGS = -Wall -lpthread -ldl


Save file, lanjutkan proses compile

cd /usr/local/src/openbts-P2.8.0Opelousas
autoreconf -i
./configure --with-usrp1
make clean
make all
make 
make install

Selanjutnya, inisialisasi konfigurasi database OpenBTS

sudo su
cd /usr/local/src/openbts-P2.8.0Opelousas
sudo mkdir /etc/OpenBTS
sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db
.exit

Instalasi Smqueue

Download source code dari

http://www.openbts.org
http://sourceforge.net/projects/openbts/

Sebagai root Lakukan

cp smqueue-2.8.0Opelousas.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf smqueue-2.8.0Opelousas.tar.gz 
cd /usr/local/src/smqueue-2.8.0Opelousas

Edit

vi /usr/local/src/smqueue-2.8.0Opelousas/sqlite3/Makefile.am 

Tampahkan -ldl di line berikut

AM_CXXFLAGS = -Wall -O3 -g -lpthread

menjadi

AM_CXXFLAGS = -Wall -O3 -g -lpthread -ldl

Save, dan lanjutkan proses compile

cd /usr/local/src/smqueue-2.8.0Opelousas
autoreconf -i
./configure 
make clean
make all
make 
make install

Selanjutnya, inisialisasi konfigurasi database OpenBTS

cd /usr/local/src/smqueue-2.8.0Opelousas
sudo sqlite3 -init  smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db

==



Referensi

Pranala Menarik

Persiapan Hardware

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah