Tuesday, November 9, 2010

Open Source Software Cyber Cafe

Perbincangan Lache Cafe Con Pada Forum Ubuntu

This posting originally from Ubuntu Forum member " Script Warlock " it is a nice tutorial/howto to be followed if you choose CCL as your internet cafe/cyber cafe billing system. Posting ini berasal dari ahli Forum Ubuntu " Script Warlock "itu bagus tutorial / howto yang harus diikuti jika anda memilih CCL sebagai warnet anda / cyber cafe billing system. But currently this project has been unmantained for a while, please take a look at mkahawa for an improved and actively mantained version of CCL Tapi saat ini projek ini telah unmantained untuk sementara, sila lihat di mkahawa untuk dan aktif mantained versi perbaikan dari CCL

mkahawa builds on the sharp and slick Cafe Con Leche (CCL) - the light, ultra-fast C++ Internet Cafe Management Software for Linux and Windows. mkahawa dibina pada Cafe Con tajam dan licin Leche (CCL) - cahaya, ultra-cepat C + + Internet Cafe Management Software untuk Linux dan Windows. This is a continuation of CCL development in another form. Ini merupakan kelanjutan pembangunan CCL dalam bentuk lain.
http://mkahawa.sourceforge.net http://mkahawa.sourceforge.net


cafe con leche: Internet cafe management software cafe con Leche: warnet perisian pengurusan

http://ccl.sourceforge.net/ http://ccl.sourceforge.net/

Screenshots Screenshots


Server Server


Client Pelanggan

Common Installation Common Pemasangan

Both side of the application (server and client) has to meet their dependencies, since this is not a debian package, we have to install the dependencies manually. Kedua-dua sisi aplikasi (pelayan dan pelanggan) harus memenuhi kebergantungan mereka, kerana ini bukan pakej debian, kita harus memasang kebergantungan secara manual. CCL dependencies are kebergantungan CCL adalah
  • sqlite3 sqlite3
  • glib2.0 glib2.0
  • libfox1.4(server), libfox1.6(client) libfox1.4 (pelayan), libfox1.6 (pelanggan)
  • openssl OpenSSL
For the ccl server run these commands : Untuk pelayan CCL menjalankan perintah-perintah:
$ sudo apt-get install sqlite3 libsqlite3-dev $ Sudo apt-get install sqlite3-dev libsqlite3
$ sudo apt-get install libfox1.4 libfox1.4-dev (server) $ Sudo apt-get install libfox1.4 libfox1.4-dev (pelayan)
$ sudo apt-get install libglib2.0-dev $ Sudo apt-get install libglib2.0-dev
$ sudo apt-get install libssl-dev $ Sudo apt-get install libssl-dev
For the ccl client replace the libfox1.4 run these command : Untuk menggantikan CCL pelanggan menjalankan perintah libfox1.4 ini:
$ sudo apt-get install libfox-1.6-0 libfox-1.6-dev $ Sudo apt-get install libfox-1 ,6-0 libfox-1.6-dev

Don't forget the build essentials for compiling from source : Jangan lupa membina penting untuk mengkompilasi dari sumber:
$sudo apt-get install build-essential $ Sudo apt-get install build-essential
Then edit your /etc/ld.so.conf file with : Kemudian edit etc / / file ld.so.conf dengan:
$sudo gedit /etc/ld.so.conf $ Sudo gedit / etc / ld.so.conf
And add these lines : Dan tambah baris-baris:
/usr/lib / Usr / lib
/usr/local/lib …..and save the changes when done / Usr / local / lib ... .. dan menyimpan perubahan ketika dilakukan
it may look like this : mungkin kelihatan seperti ini:

include /etc/ld.so.conf.d/*.conf termasuk / etc / ld.so.conf.d / *. conf
/usr/lib / Usr / lib
/usr/local/lib / Usr / local / lib

Then execute this : Kemudian jalankan ini:
$sudo ldconfig $ Sudo ldconfig

CCL Server Installation CCL Server Pemasangan
for the server side you'll need these 2 files : untuk sisi server anda perlu 2 gambar ini:
cclfox-0.7.1.tar.bz2 here cclfox-0.7.1.tar.bz2 sini
libccls-0.7.1.tar.bz2 here libccls-0.7.1.tar.bz2 sini

Put these files on your home folder and do these steps : Letakkan gambar-gambar di dalam folder rumah anda dan lakukan langkah berikut:
$tar -xjvf libccls-0.7.1.tar.bz2 $ Tar-xjvf libccls-0.7.1.tar.bz2
$cd libccls-0.7.1 $ Cd libccls-0.7.1
$./configure $. / Configure
$make $ Make
$sudo make install $ Sudo make install
$cd .. $ Cd ..
$tar -xjvf cclfox-0.7.1.tar.bz2 $ Tar-xjvf cclfox-0.7.1.tar.bz2
$cd cclfox-0.7.1 $ Cd cclfox-0.7.1
$./configure $. / Configure
$make $ Make
$sudo make install $ Sudo make install

create a folder in the home directory : membuat folder di direktori home:
$mkdir .cclfox $ Mkdir. Cclfox

put this file to the .cclfox folder right click and choose the properties and select permission then tick the box and close. menempatkan ini fail ke folder cclfox. klik kanan dan pilih hotel dan izin pilih kemudian tandakan kotak dan dekat. generate the pem by double clicking it and if being prompted just run it. menghasilkan pem dengan mengklik ganda dan jika ditanya hanya menjalankannya.




Then create a launcher on your desktop and add : Kemudian buat sebuah pelancar pada desktop anda dan tambah:
cclfox -nossl cclfox-nossl
on the “command” text box pada kotak teks "perintah"

CCL Client Installation CCL Client Instalasi
for the client side you'll need these 2 files : untuk sisi pelanggan anda perlu ini 2 jumlah gambar:
cclcfox-0.7.1-FOX-1.6.tar.bz2 here cclcfox-0.7.1-FOX-1.6.tar.bz2 sini
libcclc-0.7.1.tar.bz2 here libcclc-0.7.1.tar.bz2 sini

put these files on your home folder and do these steps : meletakkan fail-fail ini dalam folder rumah anda dan lakukan langkah berikut:
$tar -xjvf libcclc-0.7.1.tar.bz2 $ Tar-xjvf libcclc-0.7.1.tar.bz2
$cd libcclc-0.7.1 $ Cd libcclc-0.7.1
$./configure $. / Configure
$make $ Make
$sudo make install $ Sudo make install
$cd .. $ Cd ..
$tar -xjvf cclcfox-0.7.1-FOX-1.6.tar.bz2 $ Tar-xjvf cclcfox-0.7.1-FOX-1.6.tar.bz2
$cd cclcfox-0.7.1 $ Cd cclcfox-0.7.1
$./configure $. / Configure
$make $ Make
$sudo make install $ Sudo make install
create a folder in the home directory : membuat folder di direktori home:
$mkdir .cclcfox $ Mkdir. Cclcfox

put this file to the .cclfox folder right click and choose the properties and select permission then tick the box and close. menempatkan ini fail ke folder cclfox. klik kanan dan pilih hotel dan izin pilih kemudian tandakan kotak dan dekat. generate the pem by double clicking it and if being prompted just run it. menghasilkan pem dengan mengklik ganda dan jika ditanya hanya menjalankannya.




then create a launcher on your home folder and add : (Alt+f2 will do) kemudian membuat sebuah pelancar di dalam folder rumah anda dan menambah: (Alt + f2 akan melakukan)

cclcfox -host serverip -name anynameor(clienthostname) -nossl cclcfox-host serverip-nama anynameor (clienthostname)-nossl
on the “command” text box pada kotak teks "perintah"
to check the client hostname simply type in the terminal: untuk menyemak nama host pelanggan cukup menaip di terminal:
$ hostname $ Hostname
Setting the tariff : Setting tarif:

  1. launch the ccl server and choose the tariff tab melancarkan pelayan CCL dan pilih tab kadar
  2. select the days(highlighted) before modifying or nothing will change. pilih hari (diserlahkan) sebelum mengubahsuai atau tidak akan berubah. after the desired values are filled accordingly to your likes click the apply..... setelah nilai-nilai yang dikehendaki diisi sesuai untuk menyukai anda klik berlaku .....




Autorun the ccl client : Autorun pelanggan CCL:

to run this on startup in ubuntu/gnome untuk menjalankan ini dalam startup di ubuntu / gnome
add the above in System menu -> preferences -> sessions(8.04) | startup applications(9.04) tambah di atas menu System - keutamaan> -> sesi (8.04) | aplikasi startup (9.04)
Name: any name Name: nama apapun
Command: cclcfox -host serverip -name anynameor(clienthostname) -nossl Perintah: cclcfox-host serverip-nama anynameor (clienthostname)-nossl
Comment: whatever Komen: apapun

Remote shutdown and reboot : Remote shutdown dan reboot:

$sudo chmod 7755 /sbin/shutdown $ Sudo chmod 7755 / sbin / shutdown
$sudo chmod 7755 /sbin/reboot $ Sudo chmod 7755 / sbin / reboot

Replacing the desktop lockscreen(client workstation) : Mengganti lockscreen desktop (komputer pelanggan):

1 . 1. kill the cclcfox running >>> sudo kill -9 (pid of cclcfox) membunuh cclcfox berjalan>>> sudo kill -9 (pid dari cclcfox)
2 . 2. create or choose the desired photo, trim down according to the desktop's resolution and save as lockpix.gif in the .cclcfox folder located in the home folder. membuat atau memilih imej yang diingini, trim turun sesuai resolusi desktop dan save as lockpix.gif dalam folder cclcfox. terletak di folder rumah. Note that .cclcfox is a hidden folder so in order to display open the home folder and select the view then tick/select the box “show hidden files”. Perhatikan bahawa. Cclcfox adalah folder tersembunyi sehingga dalam rangka untuk memaparkan membuka folder rumah dan memilih view kemudian tandakan / pilih tempat "show hidden file". close when done dekat bila dilakukan
3 . 3. relaunch the client timer and “end the session”. melancarkan pemasa pelanggan dan "menamatkan sesi".

Common functions : Common fungsi:



Green – start session Hijau - sesi mulai
Yellow – pause and resume session Kuning - pause dan meneruskan sesi
Red – stop session Merah - sesi berhenti
Blue – continue session Blue - meneruskan sesi
Purple – swap session Ungu - sesi swap
Turquoise – set timeout (countdown) Turquoise - timeout set (hitungan mundur)

to start the pre-paid session: untuk memulakan sesi pra-bayar:
press the green and the turquoise and set the time... tekan butang hijau dan pirus dan menetapkan masa ...

to start the opentime session: untuk memulakan sesi opentime:
press the green button.... tekan butang hijau ....

to pause the session: untuk menghentikan sebentar sesi ini:
press the yellow and to resume press again the yellow... tekan butang kuning dan untuk meneruskan tekan lagi kuning ...

to continue the session untuk meneruskan sesi
if the customer accidentally stops the session it can be continued by pressing the blue button jika pelanggan sengaja berhenti sesi dapat dilanjutkan dengan menekan butang biru

to swap the session: untuk swap sesi ini:
if the customer of ubuntu1(workstation) wants to transfer to ubuntu8 for some reason simply choose the ubuntu1 icon and press the purple button and choose the ubuntu8 pc. jika pelanggan ubuntu1 (workstation) ingin transfer ke ubuntu8 untuk beberapa alasan hanya memilih icon ubuntu1 dan tekan butang ungu dan memilih pc ubuntu8. The time consumed, left or account is also transferred... Waktu dikonsumsi, kiri atau ke akaun ini juga dipindahkan ...


Remote functions: (right click the icon) Remote fungsi: (klik kanan pada ikon)




Turn off: Matikan:
remotely shutdown the workstation … remote shutdown workstation ...

Reboot: Reboot:
remotely restart the workstation …. restart remote workstation ....

Turn off screen: Matikan skrin:
remotely turn off the client workstation monitor jarak jauh mematikan monitor workstation pelanggan

Allow users to start the session: Membolehkan pengguna untuk memulakan sesi:
if selected user can start the session by clicking the pop-up tab on the workstation lockscreen marked as "click here to start" jika pengguna yang dipilih boleh memulakan sesi tersebut dengan mengklik tab pop-up pada workstation lockscreen ditandakan sebagai "klik di sini untuk memulakan"

Allow members to start the session: Membolehkan ahli untuk memulakan sesi:
it allows the member to start the session by pressing the enter and log-in with members id and password(default password is the members id) membolehkan ahli untuk memulakan sesi dengan menekan masuk dan log-in dengan ahli id dan password (password default adalah ahli id)

Set member: Set ahli:



Server: Server:
1. 1. choose the member tab pilih tab ahli
2. 2. set a new member by clicking the new button menetapkan ahli baru dengan menekan butang baru
3. 3. select (highlighted) the newly created member and fill in the blanks with members info if necessary pilih (diserlahkan) ahli baru dibuat dan mengisi kekosongan dengan info ahli jika perlu
4. 4. press the reset password tekan reset password
5. 5. if done click apply changes jika klik dilakukan melaksanakan perubahan
6. 6. right click the workstation icon and set to allow members start the session klik kanan pada ikon workstation dan diatur untuk membolehkan ahli memulakan sesi

Workstation: Workstation:
1. 1. press enter and log the members id tekan enter dan log ahli id
2. 2. the default password is the members id password default adalah ahli id

to change the members password in the workstation: untuk menukar password ahli di workstation:
1. 1. click the "set password" below the timer klik butang "set password" di bawah timer
2. 2. fill in the blanks, if done press ok mengisi kekosongan, jika tekan dilakukan ok

To uninstall the cclfox (client and server): Untuk memadam cclfox (client dan server):
open the terminal buka terminal
$ cd libccls-0.7.1cd cclfox-0.7.1 $ Cd libccls-0.7.1 ... cd cclfox-0.7.1
$make uninstall $ Make uninstall

No comments:

Post a Comment