Difference between revisions of "VoIP: Instalasi FreePBX"

From OnnoWiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* PHP >= 5.2.3
 
* PHP >= 5.2.3
 
* Apache 2.x (w/ mod_rewrite enabled)
 
* Apache 2.x (w/ mod_rewrite enabled)
 +
* [[Compiling FreeSwitch | Instal FreeSwitch]]
  
Instalasi software pendukung
+
==Instal software pendukung==
  
  sudo apt-get install apache2 php5 php5-xcache php5-xmlrpc php5-mysql php5-gd php5-cli
+
  sudo apt-get install apache2 php5 php5-xcache php5-xmlrpc php5-mysql php5-gd php5-cli subversion php5-curl \
 +
mysql-client mysql-server
 +
sudo a2enmod php5
  
 +
==Download source code==
  
 +
http://mirror.freepbx.org/freepbx-2.6.0RC2.tar.gz
  
 +
mkdir /var/www/freepbx
 +
svn co http://www.freepbx.org/v3/svn/trunk/ /var/www/freepbx/
  
 +
==Instalasi FreePBX==
 +
 +
Ubah permission FreeSWITCH
 +
 +
chgrp -R www-data /usr/local/src/freeswitch-1.0.5pre9/conf/*
 +
chmod -R g+w /usr/local/src/freeswitch-1.0.5pre9/conf/*
 +
 +
Ubah permission Web FreePBX
 +
 +
chown -Rf www-data /var/www/freepbx/
 +
 +
chmod 777 /var/www/freepbx/logs/
 +
chmod 777 /var/www/freepbx/cache/
 +
chgrp -R www-data /var/www/freepbx/config/*
 +
chmod -R g+w /var/www/freepbx/config/*
 +
 +
Setup [[database]]
 +
 +
# mysql -u root -p
 +
Enter password:
 +
create database freepbx;
 +
grant INSERT,SELECT on root.* to freepbx@localhost;
 +
grant ALL on freepbx.* to freepbx@localhost identified by 'freepbx';
 +
grant ALL on freepbx.* to freepbx identified by 'freepbx';
 +
exit
 +
 +
Edit php.ini
 +
 +
vi /etc/php5/apache2/php.ini
 +
 +
upload_max_filesize = 5M
 +
max_execution_time = 60
 +
max_input_time = 120
 +
memory_limit = 32M
 +
 +
/etc/init.d/apache2 restart
 +
 +
Browse ke
 +
 +
http://localhost/freepbx/
 +
 +
 +
==Tampilan Konfigurasi Melalui Web==
 +
 +
[[Image:Freepbx-install-01.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-02.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-03.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-04.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-07.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-08.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-09.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-10.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-11.jpg|center|200px|thumb]]
 +
 +
[[Image:Freepbx-install-12.jpg|center|200px|thumb]]
  
 
==Catatan ISO==
 
==Catatan ISO==
Line 21: Line 91:
  
 
* http://mirror.freepbx.org/FreePBX-3.0-0.0.2-i386.iso
 
* http://mirror.freepbx.org/FreePBX-3.0-0.0.2-i386.iso
 
+
* http://www.freepbx.org/v3/wiki/Installation
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 12:39, 2 January 2010

Software pendukung yang dibutuhkan

Instal software pendukung

sudo apt-get install apache2 php5 php5-xcache php5-xmlrpc php5-mysql php5-gd php5-cli subversion php5-curl \
mysql-client mysql-server
sudo a2enmod php5

Download source code

http://mirror.freepbx.org/freepbx-2.6.0RC2.tar.gz
mkdir /var/www/freepbx
svn co http://www.freepbx.org/v3/svn/trunk/ /var/www/freepbx/

Instalasi FreePBX

Ubah permission FreeSWITCH

chgrp -R www-data /usr/local/src/freeswitch-1.0.5pre9/conf/*
chmod -R g+w /usr/local/src/freeswitch-1.0.5pre9/conf/*

Ubah permission Web FreePBX

chown -Rf www-data /var/www/freepbx/
chmod 777 /var/www/freepbx/logs/
chmod 777 /var/www/freepbx/cache/
chgrp -R www-data /var/www/freepbx/config/*
chmod -R g+w /var/www/freepbx/config/*

Setup database

# mysql -u root -p
Enter password:
create database freepbx;
grant INSERT,SELECT on root.* to freepbx@localhost;
grant ALL on freepbx.* to freepbx@localhost identified by 'freepbx';
grant ALL on freepbx.* to freepbx identified by 'freepbx';
exit

Edit php.ini

vi /etc/php5/apache2/php.ini 
upload_max_filesize = 5M
max_execution_time = 60
max_input_time = 120
memory_limit = 32M
/etc/init.d/apache2 restart

Browse ke

http://localhost/freepbx/


Tampilan Konfigurasi Melalui Web

Freepbx-install-01.jpg
Freepbx-install-02.jpg
Freepbx-install-03.jpg
Freepbx-install-04.jpg
Freepbx-install-07.jpg
Freepbx-install-08.jpg
Freepbx-install-09.jpg
Freepbx-install-10.jpg
Freepbx-install-11.jpg
Freepbx-install-12.jpg

Catatan ISO

Bagi anda yang tidak mau pusing kepala menginstalasi FreePBX ada baiknya melirik file ISO

http://mirror.freepbx.org/FreePBX-3.0-0.0.2-i386.iso

Referensi

Pranala Menarik