Difference between revisions of "RoIP: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
 
  sudo apt-get install kernel-package libncurses5-dev fakeroot wget \
 
  sudo apt-get install kernel-package libncurses5-dev fakeroot wget \
 
  bzip2 g++ libssl-dev libxml2-dev doxygen
 
  bzip2 g++ libssl-dev libxml2-dev doxygen
 +
 +
* Perbaiki locale
 +
 +
sudo locale-gen id_ID.UTF-8
  
 
* Download source code
 
* Download source code

Revision as of 18:46, 9 June 2014

Instalasi

  • Instalasi Ubuntu 13.04 64bit
  • Siapkan aplikasi pendukung
sudo apt-get install kernel-package libncurses5-dev fakeroot wget \
bzip2 g++ libssl-dev libxml2-dev doxygen
  • Perbaiki locale
sudo locale-gen id_ID.UTF-8
  • Download source code
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
  • Copy ke /usr/local/src
cp asterisk-11-current.tar.gz /usr/local/src/
cp dahdi-linux-complete-current.tar.gz /usr/local/src/
cp libpri-1.4-current.tar.gz /usr/local/src/
  • Buka source code
cd /usr/local/src/
tar zxvf asterisk-11-current.tar.gz
tar zxvf dahdi-linux-complete-current.tar.gz 
tar zxvf libpri-1.4-current.tar.gz
  • Compile dahdi. Pastikan PC kita tersambung ke Internet karena membutuhkan akses untuk download firmware.
cd /usr/local/src/dahdi-linux-complete-2.9.1.1+2.9.1
make 
make install
make config
  • Compile libpri
cd /usr/local/src/libpri-1.4.14/
make all
make install


  • Compile Asterisk. Pastikan tersambung ke Internet untuk download sound
apt-get install sqlite3 libsqlite3-dev
cd /usr/local/src/asterisk-11.10.0/
./configure
make menuselect
make all
make
make install
make samples

Cara yang tidak di sarankan

Instalasi dengan apt-get

Instalasi Asterisk

apt-get i