Difference between revisions of "Kalkun: Instalasi Kalkun Web Interface SMS Gateway"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
Asumsi | Asumsi | ||
− | Nama Database kalkun | + | Nama Database kalkun |
− | User Database root | + | User Database root |
− | Password | + | Password 123456 |
+ | IP SMS gateway 192.168.0.1 | ||
Langkah untuk menginstalasi Kalkun Web Internet untuk SMS Gateway adalah sebagai berikut | Langkah untuk menginstalasi Kalkun Web Internet untuk SMS Gateway adalah sebagai berikut | ||
Line 108: | Line 109: | ||
http://localhost/kalkun/ | http://localhost/kalkun/ | ||
+ | http://192.168.0.1/kalkun | ||
username kalkun | username kalkun | ||
password kalkun | password kalkun | ||
− | |||
− | |||
Revision as of 16:29, 26 April 2010
Kalkun adalah CMS untuk SMS Gateway buatan anak bangsa :) ..
Asumsi
Nama Database kalkun User Database root Password 123456 IP SMS gateway 192.168.0.1
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
- Pastikan Apache Web Server di Instalasi
- Ambil kalkun versi terakhir dari http://sourceforge.net/projects/kalkun/files/
- Ekstrak 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/ http://192.168.0.1/kalkun
username kalkun password kalkun