CCL is very popular here in Indonesia where Internet Cafes are starting to turn to Free Open Source Operating System since Microsoft and the Police starts sweeping internet cafes for illegal use of Microsoft Windows. But nonetheless it’s hard to find a How to on installing and using libCCL and CCLfox, especially on Ubuntu, I’ve done some googling last night and didn’t find anything satisfying. I’ve found some very good reference tough, like the one one linux.or.id and at Mr.Handri’s Blog.This How To is actually based on Linux Mint 3.0 but i think it’ll work just fine on Fiesty and you can download CCL here.
==Common Installation==
Both side of the application (client & server) has to meet their depdencies, since this is not a debian package, we have to install the dependencies manually. CCL depdencies are
* sqlite3
* glib2.0
* libfox1.4
* openssl
so on both computer (clien & server) run these command :
$ sudo apt-get install sqlite3 libsqlite3-dev
$ sudo apt-get install libfox1.4 libfox1.4-dev
$ sudo apt-get install libglib2.0-dev
$ sudo apt-get install libssl-dev
Don’t forget the build essentials for compiling from source :
$sudo apt-get install build-essential
Then edit your /etc/ld.so.conf file with :
$gksudo gedit /etc/ld.so.conf
and add these lines :
/usr/lib
/usr/local/lib
Then execute this :
$sudo ldconfig
== Billing Server ==
for the server side you’ll need these to files :
cclfox-0.7.0.tar.bz2
libccls-0.7.0.tar.bz2
Put these files on your home folder an do these steps :
$tar -xjvf libccls-0.7.0.tar.bz2
$cd libccls-0.7.0
$./configure
$make
$sudo make install
$cd ..
$tar -xjvf cclfox-0.7.0.tar.bz2
$cd cclfox-0.7.0
$./configure
$make
$sudo make install
Then create a launcher on your desktop and add :
cclfox -nossl
on the “command” text box
== Billing Client ==
for the server side you’ll need these to files :
cclcfox-0.7.0.tar.bz2
libcclc-0.7.0.tar.bz2
Put these files on your home folder an do these steps :
$tar -xjvf libcclc-0.7.0.tar.bz2
$cd libcclc-0.7.0
$./configure
$make
$sudo make install
$cd ..
$tar -xjvf cclcfox-0.7.0.tar.bz2
$cd cclcfox-0.7.0
$./configure
$make
$sudo make install
Then create a launcher on your desktop and add :
cclcfox -host
on the “command” text box
That’s about it! Now my internet cafe is 100% sugar *M$* free!
Trouble Shooting :
this errors bellow usually happens because we have installed the depdencies but we didn’t installed the dev of the library that is used for compiling the CCL from source :
1. configure: error: please install openssl
cure : $sudo apt-get install libssl-dev
2. configure: error: please install sqlite3
cure : $sudo apt-get install libsqlite3-dev
3. configure: error: please install glib
cure : $sudo apt-get install libglib2.0-dev
4. configure: error: please install fox
cure : $sudo apt-get install libfox1.4-dev
5. configure: error: installation or configuration problem: C++ compiler cannot create executables.
cure :$sudo apt-get install build-essential
If you find any error please let me know, and forgive my english, it’s getting rusty :p
Freedom!
Download :
libccls, library di sisi server
libcclc, library di sisi client
cclfox, server menggunakan fox
cclcfox, client menggunakan fox
Tidak ada komentar:
Posting Komentar