Difference between revisions of "Instalasi FreePBX Asterisk Management Portal"

From OnnoWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  http://www.freepbx.org/download-freepbx
 
  http://www.freepbx.org/download-freepbx
 +
http://mirror.freepbx.org/freepbx-2.7.0.tar.gz
  
 +
Siapkan modul yang dibutuhkan
 +
 +
sudo apt-get install asterisk asterisk-mysql php5-mysql php-db mysql-server libapache2-mod-php5 \
 +
php5-gd php-pear php-pear-DB sox curl
 +
 +
sudo a2enmod php5
 +
 +
Edit untuk lokalisasi agar berjalan dengan baik
 +
 +
vi /etc/php5/apache2/php.ini
 +
 +
; PHP's built-in default is text/html
 +
default_mimetype = "text/html"
 +
;default_charset = "ISO-8859-1"
 +
default_charset = "utf8";
 +
 +
==Install FreePBX
 +
 +
cd /usr/src/freepbx
 +
sudo ./install_amp
 +
 +
Beberapa yang harus diubah
 +
 +
AMPBIN=/var/lib/asterisk/bin
 +
ASTAGIDIR=/usr/share/asterisk/agi-bin
 +
AMPWEBROOT=/var/www/freepbx
 +
FOPWEBROOT=/var/www/freepbx/panel
 +
 +
Pastikan Apache [[Web Server]] dapat mengakses file freepbx
 +
 +
sudo adduser www-data asterisk
 +
sudo apache2ctl graceful
  
 
==Referensi==
 
==Referensi==

Revision as of 08:52, 19 April 2010

Download dari

http://www.freepbx.org/download-freepbx
http://mirror.freepbx.org/freepbx-2.7.0.tar.gz

Siapkan modul yang dibutuhkan

sudo apt-get install asterisk asterisk-mysql php5-mysql php-db mysql-server libapache2-mod-php5 \
php5-gd php-pear php-pear-DB sox curl 
sudo a2enmod php5

Edit untuk lokalisasi agar berjalan dengan baik

vi /etc/php5/apache2/php.ini 
; PHP's built-in default is text/html
default_mimetype = "text/html"
;default_charset = "ISO-8859-1"
default_charset = "utf8";

==Install FreePBX

cd /usr/src/freepbx
sudo ./install_amp

Beberapa yang harus diubah

AMPBIN=/var/lib/asterisk/bin
ASTAGIDIR=/usr/share/asterisk/agi-bin
AMPWEBROOT=/var/www/freepbx
FOPWEBROOT=/var/www/freepbx/panel

Pastikan Apache Web Server dapat mengakses file freepbx

sudo adduser www-data asterisk
sudo apache2ctl graceful

Referensi

Pranala Menarik