Sudah buanyak banget yang bahas dan nulis, cuma tetep aja beberapa kali install mesti browsing dulu cari settingan, jadi mending tulis disini aja, gampang buat gw cari😀

kelengkapan yg dipake :

– Modem Huawei E173 (yang pasti support di ubuntu/linux)

– Ubuntu 12.04

– Kalkun 0.6
1. Install paket buat di ubuntu

$ sudo apt-get install gammu gammu-smsd apache2 php5 php-cli php5-mysql mysql-server

2. cek port modem, biasanya sich di /dev/ttyUSB0 atau /dev/ttyUSB1

$ dmesg | grep usb

3. Setting konfigurasi gammu

$ gammu-config

Sesuaikan setting berikut :

port = /dev/ttyUSB0

connection = at115200

4. Setting parameter di smsd

$ sudo gedit /etc/gammu-smsdrc

port = /dev/ttyUSB0
connection = at115200
DeliveryReport = sms
# Debugging
#logformat = textall

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = sql
driver = native_mysql
logfile = syslog
# Increase for debugging information
debuglevel = 1
runreceive = /var/www/kalkun/scripts/daemon.sh

# Paths where messages are stored
# inboxpath = /var/spool/gammu/inbox/
# outboxpath = /var/spool/gammu/outbox/
# sentsmspath = /var/spool/gammu/sent/
# errorsmspath = /var/spool/gammu/error/

# Konfigurasi MySQL
user = root
password = *sesuaikan passwordnya*
pc = localhost
database = kalkun

5. buat folder kalkun di /var/www

$ sudo mkdir /var/www/kalkun

6. Copy dan extract file instalasi kalkun

$ cp kalkun_0.6.zip /var/www/kalkun

$ unzip kalkun_0.6.zip

7. Buat database mysql kalkun

$ mysql -uroot -p<password>

mysql > create database kalkun;

exit

8. Restore schema gammu ke database kalkun

$ cp /usr/share/doc/gammu/examples/sql/mysql.sql.gz /home/xxx/

*/home/xxx/ ini folder tujuan, sesuaikan dengan folder target

$ gunzip /home/xxx/mysql.sql.gz

$ mysql -uroot -p<password> kalkun < /home/xxx/mysql.sql

9. Setting parameter database kalkun

$ sudo gedit /var/www/kalkun/application/config/database.php

edit bagian ini :

// MySQL
$db[‘default’][‘username’] = “root”;
$db[‘default’][‘password’] = “<password>”;
$db[‘default’][‘database’] = “kalkun”;
$db[‘default’][‘dbdriver’] = “mysql”;

10. restart gammu-smsd

$ sudo service gammu-smsd restart

11. Instalasi kalkun via browser di alamat http://localhost/kalkun

12. Terkahir setelah beres instalasi, hapus folder install di /var/www/kalkun. Beres buka lagu ke browser dan kemudian akses kalkun nya

User : kalkun

Password : kalkun

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s