Difference between revisions of "Instalasi CDRTool"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  RUN_ratingEngine=yes
 
  RUN_ratingEngine=yes
 
  START_MEMCACHE=yes
 
  START_MEMCACHE=yes
 +
 +
 +
Edit konfigurasi
 +
 +
# cd /var/www/CDRTool
 +
# cp setup/global.inc.new.installation global.inc
 +
 +
Edit global.inc
 +
 +
# vi global.inc
 +
 +
Pastikan
 +
 +
----
 +
 +
$RatingEngine=array("socketIP"  => "127.0.0.1",
 +
                    "socketPort" => "9024",
 +
                    "CDRS_class" => "ser_radius",
 +
                    "prepaid_lock" => true,
 +
                    "log_delay"  => 0.05
 +
                    );
 +
 +
 +
----
 +
 +
$CDRTool['normalize']['defaultCountryCode']      = "62";
 +
 +
 +
----
 +
 +
 +
  
  

Revision as of 18:11, 12 March 2008

Siapkan software pendukung

# apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysql php5-curl php-pear
# apt-get install php-soap mrtg php5-memcache memcached monit smarty

Download Source Code CDRTool dari situs

http://cdrtool.ag-projects.com/
http://download.dns-hosting.info/CDRTool/


Instalasi yang mudah mungkin

# cp -Rf cdrtool_6.2.3_all.deb /usr/local/src/
# cd /usr/local/src/
# dpkg -i cdrtool_6.2.3_all.deb

Edit /etc/default/cdrtool

# vi /etc/default/cdrtool

Pastikan

RUN_ratingEngine=yes
START_MEMCACHE=yes


Edit konfigurasi

# cd /var/www/CDRTool
# cp setup/global.inc.new.installation global.inc

Edit global.inc

# vi global.inc

Pastikan


$RatingEngine=array("socketIP"   => "127.0.0.1",
                   "socketPort" => "9024",
                   "CDRS_class" => "ser_radius",
                   "prepaid_lock" => true,
                   "log_delay"   => 0.05
                   );



$CDRTool['normalize']['defaultCountryCode']      = "62";





Restart

# /etc/init.d/cdrtool restart
# /etc/init.d/apache2 restart


Mencoba akses ke

http://localhost/CDRTool/



Pranala Menarik