Kalkun: Instalasi Kalkun Web Interface SMS Gateway

From OnnoWiki
Revision as of 16:28, 26 April 2010 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Kalkun adalah CMS untuk SMS Gateway buatan anak bangsa :) ..

Asumsi

Nama Database kalkun
User Database root
Password      123456

Langkah untuk menginstalasi Kalkun Web Internet untuk SMS Gateway adalah sebagai berikut

Instalasi Gammu SMS Server

sudo apt-get install gammu gammu-smsd
  • Edit /etc/gammurc (asumsi menggunakan Huawei)
vi /etc/gammurc
[gammu]
port = /dev/ttyUSB0
connection = at115200
logfile = gammulog
logformat = textall
use_locking = yes
  • Edit /etc/gammu-smsd (asumsi menggunakan Huawei)
vi /etc/gammu-smsd
[gammu]
port = /dev/ttyUSB0
connection = at115200

[smsd]
PIN = 
service = mysql
DeliveryReport = sms
logfile = /etc/smsdlog
debuglevel = 255
# Change this to your mysql config
User = root
Password = 123456
PC = localhost
Database = kalkun


  • Pastikan modem terdeteksi
gammu --identify
Manufacturer         : huawei
Model                : unknown (E169)
Firmware             : 11.314.13.51.156
IMEI                 : 3596380188*****
SIM IMSI             : 510************


  • Pastikan gammu dapat beroperasi
$gammu --sendsms text +62812xxxxxxx
Enter message text and press ^D:
ini testing gammu
If you want break, press Ctrl+C...
Sending SMS 1/1....waiting for network answer..OK, message reference=-1
  • Aktifkan SMS Server
sudo /etc/init.d/gammu-smsd restart


Instalasi Kalkun

sudo tar zxvf kalkun_0.1.4beta.tar.gz -C /var/www/
  • Masuk ke direktori Kalkun.
cd /var/www/kalkun/
  • Membuat database Kalkun.
$ mysql -u root -p
CREATE DATABASE kalkun;
quit
  • Edit file
vi /var/www/kalkun/system/application/config/database.php
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "123456";
$db['default']['database'] = "kalkun";
$db['default']['dbdriver'] = "mysql";
  • Jalankan service gammu-smsd, pastikan tidak ada error.
   sudo /etc/init.d/gammu-smsd restart
  • Buka browser
http://localhost/kalkun/
username kalkun
password kalkun


Selesai.... Selamat anda sudah berhasil menginstall Kalkun sebagai manajemen SMS berbasis web. Jika berhasil login tampilannya seperti dibawah ini.


Referensi

Pranala Menarik