Difference between revisions of "Kalkun: Instalasi Kalkun Web Interface SMS Gateway"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | 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 | Langkah untuk menginstalasi Kalkun Web Internet untuk SMS Gateway adalah sebagai berikut | ||
+ | |||
+ | ==Instalasi Gammu SMS Server== | ||
* [[Instalasi Gammu SMS Server | Siapkan Server Gammu]] | * [[Instalasi Gammu SMS Server | Siapkan Server Gammu]] | ||
Line 17: | Line 28: | ||
* Edit /etc/gammu-smsd (asumsi menggunakan Huawei) | * Edit /etc/gammu-smsd (asumsi menggunakan Huawei) | ||
+ | |||
+ | vi /etc/gammu-smsd | ||
[gammu] | [gammu] | ||
Line 30: | Line 43: | ||
# Change this to your mysql config | # Change this to your mysql config | ||
− | User = | + | User = root |
− | Password = | + | Password = 123456 |
PC = localhost | PC = localhost | ||
− | Database = | + | Database = kalkun |
Line 59: | Line 72: | ||
sudo /etc/init.d/gammu-smsd restart | sudo /etc/init.d/gammu-smsd restart | ||
− | |||
− | + | ==Instalasi Kalkun== | |
− | + | ||
− | + | * [[Instalasi Apache | Pastikan Apache Web Server di Instalasi]] | |
− | + | * Naga-naganya butuh [[Instalasi PHP Codeigniter]] atau XAMPP supaya aman. | |
− | + | * 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 | |
− | + | * Install tabel database | |
− | + | mysql -u root -p123456 kalkun < /var/www/kalkun/media/db/install.sql | |
− | |||
− | |||
− | |||
− | + | * Install | |
− | |||
− | |||
− | |||
− | |||
− | + | http://localhost/kalkun/index.php/install | |
+ | http://192.168.0.1/kalkun/index.php/install | ||
− | + | * Buka browser | |
− | + | http://localhost/kalkun/ | |
− | + | http://192.168.0.1/kalkun | |
− | + | username kalkun | |
+ | password kalkun | ||
+ | ==Referensi== | ||
+ | * http://milisdad.blogspot.com/2009/12/mesin-sms-untuk-kalkun.html | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[Membuat SMS Gateway]] | * [[Membuat SMS Gateway]] |
Latest revision as of 20:17, 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
- Naga-naganya butuh Instalasi PHP Codeigniter atau XAMPP supaya aman.
- 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
- Install tabel database
mysql -u root -p123456 kalkun < /var/www/kalkun/media/db/install.sql
- Install
http://localhost/kalkun/index.php/install http://192.168.0.1/kalkun/index.php/install
- Buka browser
http://localhost/kalkun/ http://192.168.0.1/kalkun
username kalkun password kalkun