Installing Kalkun from PPA
Good news for Ubuntu or Debian based linux distribution user, i’ve just create debian package for Kalkun, so it’s easier for you to install/upgrade from repository on my PPA at Launchpad, but actually it’s very simple package, it’s just copy the Kalkun source code to the /var/www as the default web root for Ubuntu, you still have to create database and do some manual configuration. But it’s the best i can do right now, later we should create automatic configuration script, so you don’t have to do config it manually.
So, here it is.
First, you have to add my PPA (Personal Packages Archive) to your repository list (/etc/apt/source.list).
deb http://ppa.launchpad.net/back2arie/ppa/ubuntu lucid main deb-src http://ppa.launchpad.net/back2arie/ppa/ubuntu lucid main
Next, add my key to verify the packages and then, update your repository:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3830FF1 $ sudo apt-get update
Last, install Kalkun.
$ sudo apt-get install kalkun
This will install kalkun will all required packages, like apache2, php5, mysql-client, and gammu-smsd. mysql-server is not installed by default, because you might want to use external database, but if you want to use local database, you must install mysql-server package.
$ sudo apt-get install mysql-server
Now, we have kalkun and all required packages installed.
Next is configuration.
=========================================
Database configuration
=========================================
Connect to mysql server and create database named kalkun
$ mysql -u root -p mysql> CREATE DATABASE kalkun;
It’s highly recommended to create specific database user for kalkun database, so other user will not get interrupted, it’s security issue.
mysql > GRANT ALL PRIVILEGES ON kalkun.* TO 'username'@'localhost' IDENTIFIED BY 'password';
Change username and password as you want.
Then, flush privileges to activate your changes
mysql> FLUSH PRIVILEGES;
==========================================
Gammu-SMSD
==========================================
Connect your phone, and see where it’s attached to.
$ tail -f /var/log/messages
Create log file
$ sudo touch /etc/smsdlog
Edit /etc/gammu-smsdrc.
[gammu] port = /dev/ttyACM0 # change this connection = at115200 #chage this
[smsd] PIN = 1234 service = mysql DeliveryReport = sms logfile = /etc/smsdlog debuglevel = 1 # change to 255 if you want to debug User = username # change this Password = password # change this PC = localhost Database = kalkun
==========================================
Install Kalkun
==========================================
Edit kalkun database settings on /var/www/kalkun/system/application/config/database.php
$db['default']['hostname'] = "localhost"; $db['default']['username'] = "username"; // change this $db['default']['password'] = "password"; // change this $db['default']['database'] = "kalkun"; $db['default']['dbdriver'] = "mysql";
Finally, launch up your browser and go to http://localhost/kalkun, you will see installation wizard there. That should be easy from here.
That’s it
Note: Kalkun version is 0.2.1 and available for Ubuntu 10.04 Lucid Lynx.

Recent Comments