Difference between revisions of "User:Sarujih"
Line 8: | Line 8: | ||
sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get dist-upgrade -y; sudo apt-get install -y build-essential git-core pkg-config subversion libjansson-dev sqlite autoconf automake libtool libxml2-dev libncurses5-dev unixodbc unixodbc-dev libasound2-dev libogg-dev libvorbis-dev libneon27-dev libsrtp0-dev libspandsp-dev libmyodbc uuid uuid-dev sqlite3 libsqlite3-dev libgnutls-dev;sudo shutdown -r now | sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get dist-upgrade -y; sudo apt-get install -y build-essential git-core pkg-config subversion libjansson-dev sqlite autoconf automake libtool libxml2-dev libncurses5-dev unixodbc unixodbc-dev libasound2-dev libogg-dev libvorbis-dev libneon27-dev libsrtp0-dev libspandsp-dev libmyodbc uuid uuid-dev sqlite3 libsqlite3-dev libgnutls-dev;sudo shutdown -r now | ||
+ | |||
+ | Jangan lupa password root system Anda. | ||
+ | |||
+ | Selesai restart, login sebagai root pada system Anda, sehingga sudo tidak perlu dijalankan setiap kali; | ||
+ | |||
+ | sudo -i | ||
+ | |||
+ | Opsional syarat install Asterisk | ||
+ | |||
+ | Google Voice; | ||
+ | |||
+ | Membuat file libgnutls bekerja : | ||
+ | |||
+ | vi /usr/bin/libgnutls-config | ||
+ | |||
+ | Masukan file berikut; | ||
+ | |||
+ | #!/bin/bash | ||
+ | if [ "$1" == "--version" ]; then | ||
+ | pkg-config --modversion gnutls | ||
+ | else | ||
+ | pkg-config $1 gnutls | ||
+ | fi | ||
+ | |||
+ | Simpan dan keluar, buat file tersebut executable: | ||
+ | |||
+ | chmod +x /usr/bin/libgnutls-config | ||
+ | |||
+ | Download,ekstrak,bangun dan install iksemel: | ||
+ | |||
+ | cd /usr/src | ||
+ | wget https://iksemel.googlecode.com/files/iksemel-1.4.tar.gz | ||
+ | tar xvf iksemel-1.4.tar.gz | ||
+ | cd iksemel-* | ||
+ | ./configure | ||
+ | make && make install | ||
+ | |||
+ | '''DAHDI''' (Jika Anda memiliki/akan mememiliki hardware fisik) | ||
+ | |||
+ | Download,ekstrak,bangun dan install: | ||
+ | |||
+ | cd /usr/src | ||
+ | wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz | ||
+ | tar xvfz dahdi-linux-complete-current.tar.gz | ||
+ | cd dahdi-linux-complete-* | ||
+ | make all && make install && make config | ||
+ | |||
+ | Anda akan melihat pesan seperti “Can’t read private key”. Ini dapat diabaikan. | ||
+ | |||
+ | Reboot system Anda dan login kembali sebagai root. | ||
+ | |||
+ | '''LIBPRI''' (Jika Anda memiliki/akan memiliki hardware fisik kartu E1/T1/J1/ISDN) |
Revision as of 11:48, 30 July 2015
Installasi asterisk
Pastikan DNS server bekerja dan terhubung ke internet.
Update apt, upgrade system, instalasi dependesi dan reboot system, dengan perintah sebagai berikut:
sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get dist-upgrade -y; sudo apt-get install -y build-essential git-core pkg-config subversion libjansson-dev sqlite autoconf automake libtool libxml2-dev libncurses5-dev unixodbc unixodbc-dev libasound2-dev libogg-dev libvorbis-dev libneon27-dev libsrtp0-dev libspandsp-dev libmyodbc uuid uuid-dev sqlite3 libsqlite3-dev libgnutls-dev;sudo shutdown -r now
Jangan lupa password root system Anda.
Selesai restart, login sebagai root pada system Anda, sehingga sudo tidak perlu dijalankan setiap kali;
sudo -i
Opsional syarat install Asterisk
Google Voice;
Membuat file libgnutls bekerja :
vi /usr/bin/libgnutls-config
Masukan file berikut;
- !/bin/bash
if [ "$1" == "--version" ]; then pkg-config --modversion gnutls else pkg-config $1 gnutls fi
Simpan dan keluar, buat file tersebut executable:
chmod +x /usr/bin/libgnutls-config
Download,ekstrak,bangun dan install iksemel:
cd /usr/src wget https://iksemel.googlecode.com/files/iksemel-1.4.tar.gz tar xvf iksemel-1.4.tar.gz cd iksemel-* ./configure make && make install
DAHDI (Jika Anda memiliki/akan mememiliki hardware fisik)
Download,ekstrak,bangun dan install:
cd /usr/src wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz tar xvfz dahdi-linux-complete-current.tar.gz cd dahdi-linux-complete-* make all && make install && make config
Anda akan melihat pesan seperti “Can’t read private key”. Ini dapat diabaikan.
Reboot system Anda dan login kembali sebagai root.
LIBPRI (Jika Anda memiliki/akan memiliki hardware fisik kartu E1/T1/J1/ISDN)