Satria Online

Peace, Friend ‘n Love

Arsip untuk November 18th, 2008

Mengakses NTFS di Debian Etch

Ditulis oleh Naruto di/pada 18 November 2008

Untuk mengakses partisi NTFS di Debian Etch ternyata tidak semudah di Ubuntu Linux, Mandriva atau OpenSUSE. Berikut adalah panduan instalasi package NTFS-3g yang memungkinkan kamu mengakses filesystem NTFS. Pertama, download 2 package yakni ntfs-3g dan libntfs-3g. Kamu bisa menggunakan aplikasi wget untuk mengunduh / mendownload kedua package tadi.

wget http://snapshot.debian.net/archive/2007/03/01/debian/pool/main/n/ntfs-3g/libntfs-3g0_0.0.0+20061031-6_i386.deb
wget http://snapshot.debian.net/archive/2007/03/01/debian/pool/main/n/ntfs-3g/ntfs-3g_0.0.0+20061031-6_i386.deb

Selanjutnya, kita menginstal dependensi dengan perintah berikut.

debian:/home/debian# apt-get install fuse-utils libfuse2
Readung package lists … DOne
Building dependency there … Done
The following NEW packages will be istalled : fuse-utils libfuse2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get OB/108kB of archives.
After unpacking 295kB of additional disk space will be used.
Selecting previously deselected package fuse-utils.
(Reading database … 84862 files and directories currently installed)
Unpacking fuse-utils (from …/use-utils_2.5.3-4.4_i386.deb) …
Selecting previously deselected package libfuse2.
Unpacking libfuse2 (from …/libfuse2_2.5.3-4.4_i386.deb) …
Setting up fuse-utils (2.5.3-4.4) …
creating fuse device node …
udev active, devices will be created in /dev/.static/dev/
creating fuse group …
Adding group ‘fuse’(GID 112) …
Done.
Setting up libfuse2 (2.5.3-4.4) …

Kini, kita menginstall package ntfs-3g (menggunakan 2 package Debian yang telah di unduh sebelum nya).

debian:/home/debian# dpkg -1 libntfs-3g0_0.0.0+20061031-6_i386.deb
Selecting previously deselcted package libntfs-390.
(Reading database … 84884 files and directories currently installed.)
Unpacking libntfs-3g0 (from libntfs-3g0_0.0.0+20061031-6_i386.deb) …
Setting up libntfs-3g0 (0.0.0+20061031-6) …

debian :/home/debian# dpkg -i ntfs-3g_0.0.0+2–61031-6_i386.deb
Selecting previosly deselected package ntfs-3g.
(Reading database … 84893 files and directories currently installed.)
Unpacking ntfs-3g (from ntfs-39_0.0.0+20061031-6_i386.deb)…
Setting up ntfs-3g (0.0.0+20061031-6) …
Setting ntfs-3g suid root with group fuse … done Users from ‘fuse’ group can now mount NTFS volume.

Sejenak kemudian muncul window configuring ntfs.3g . Pilih OK dan tekan Enter. Bagi pengguna Debian Sid, Ubuntu Edgy atau Ubuntu Feisty, kamu tidak perlu mendownload apapun, atau menginstall dependensi. Selanjutnya kita menginstall package ntfs-3g.

# apt-get install ntfs-3g

Mount Partisi NTFS
# mount -t ntfs-39 / dev/sda1 / mnt/windows -o
umask=0,nls=utl8

Perintah di atas akan meng-mount partisi (/dev/sda1, sesuaikan dengan setting komputer kamu) di direktori /mnt/windows, menggunakan character set utf8 (untuk memaksimalkan kompatibilitas) dan menghadirkan permission read/write/execute ke setiap orang.  Jika perintah tadi sudah berjalan di komputer, kamu bisa menambahkan entry ini ke dile /etc/fstab dengan baris perintah sebagai berikut.

/dev/sda1 /mnt/windows ntfs-39
umask=0,nls=utf8 0 0

Untuk meng-umount, perintahnya # umount /dev/sda1 dan perintah fdisk -|| grep -i ntfs akan memberi tahu lokasi partisi Windows.

Ditulis dalam Linux | Bertanda: , | 1 Komentar »

Installing Videoconference 2.0

Ditulis oleh Naruto di/pada 18 November 2008

Requirements

  • Dokeos 1.8.4 or better 1.8.5 (and their requirements)
  • Red5 0.6.x (0.7 is not yet supported as, when first testing this release, it was not available).
  • Optional: if you want to use the command-line script, you will need the CLI version of PHP5

Installing Red 5

You can find all the documentation on the Red5 website : http://osflash.org/red5/063final

If you are using Ubuntu or Debian (which we recommend), you can install it opening a terminal and using (as root or using sudo):

# wget http://dl.fancycode.com/red5/0.6.3/debian/red5_0.6.3-1_all.deb
# dpkg -i red5_0.6.3-1_all.deb

The latter will probably ask you to install java-5-bin and java-5-jre in case you didn’t have these installed. These are official Java packages and you can install them without a doubt:

# sudo apt-get install sun-java5-bin sun-java5-jre

then re-execute the dpkg -i line above (if it failed the first time)

Under Ubuntu, gcj might be installed by default, which we do not recommend (Red5 doesn’t work with it). To update this setting, after installing Red5 and Java 5 as above:

# update-alternatives --set java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Installing the Dokeos application for Red5

First, download our conferencing application inside the Red5 installation directory.

On Debian & Ubuntu:

# cd /usr/lib/red5/webapps
# wget http://www.dokeos.com/maven/repository/com/dokeos/dokeos-recorder/2.0.0-SNAPSHOT/dokeos-recorder-2.0.0-SNAPSHOT.war -O dokeos-recorder.war

Then configure it as follows:

Create the Dokeos Red5 configuration directory:

# mkdir /etc/dokeos

In this folder, create the configuration file:

# vi /etc/dokeos/videoconference-config.xml

Then insert the configuration as follows:

  <?xml version="1.0" encoding="UTF-8"?>
  <videoconference-config>
    <server-keys>
      <server-key host="dokeos.domaine.com_" key="PaSSw0rd" />
      <server-key host="www.domaine.com_dokeos_" key="p4ssWoRD" />
    </server-keys>
    <moderator-check-on-whiteboard>false</moderator-check-on-whiteboard>
    <video-streams-dir>/opt/dokeos/recorded-streams</video-streams-dir>
    <vod-streams-dir>/opt/dokeos/vod-streams</vod-streams-dir>
  </videoconference-config>

In this file, you will have to put at least one server-key line per portal. In this above example we authorize portals installed at the URLs:

The “_” at the end of each URL really matters, don’t forget it.

Reloading Red5

Restart Red5 to reload the configuration file and the new application using, on Ubuntu or Debian:

# /etc/init.d/red5 stop
# /etc/init.d/red5 start

Patch Dokeos 1.8.4

From a browser

- Download the patch here: http://www.dokeos.com/download/dokeos-1.8.4-patch-videoconference-2.0.tar.gz

- Uncompress it and send the files to your Dokeos web root directory (directly inside the “dokeos” directory)

- Change the permissions to writeable by the web browser on, or edit the main/inc/lib/add_course.lib.inc.php file to remove the conditions (but not the api_sql_query lines) under if(api_get_setting(’service_visio’,'active’)==’true’). You should end up with something like this:

 if(api_get_setting('service_visio','active')=='true'){
                       api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (, '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
                       api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (, '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
 }

- Get on your portal’s homepage (e.g. http://my.dokeos.com/ or http://whatever.com/dokeos/)

- Update the URL to load the videosetweb.php script: http://my.dokeos.com/videosetweb.php

- A set of instructions will appear. Update your URL accordingly, to add the three required parameters: host, port and pass, then query that URL (press enter). For example (these are not real parameters):

 http://my.dokeos.com/videosetweb.php?host=streaming.dokeos.com&port=1935&pass=password

- Don’t execute this script twice! If it failed, try to locate the problem and restore the backup before trying again.

- Once the script is done (it should give you an “Operation succeeded” message), delete the videoset.php and videosetweb.php scripts from your Dokeos directory.

- You can always ask for help on the forums: http://www.dokeos.com/forum/

From the command line

Go inside your dokeos installation portal. Beware that you should be root or a user allowed to overwrite files inside your Dokeos web root. Under Ubuntu, use sudo before any command.

On Debian/Ubuntu:

# cd /var/www/dokeos/

Download the patch:

# wget http://www.dokeos.com/download/dokeos-1.8.4-patch-videoconference-2.0.tar.gz

Uncompress the patch:

# tar zfvx dokeos-1.8.4-patch-videoconference-2.0.tar.gz

And finaly active the videoconferencing using either :

# php videoset.php  .  {host}  {port}  {pass}  

(Where {host} must be replaced by the ip/hostname of your red5 server, {port} will be 1935 in most case, {pass} must be the key linked with the current domain in the configuration of RED5 (see above))

Delete the videoset.php and videosetweb.php scripts.

You should now be able to further edit these settings from the Dokeos administration panel.

Patch Dokeos 1.8.5

The 1.8.5 is a bit different. It already had part of the upgrade process ready, which means you have to disable one part of the script. This is done automatically by an additional parameter to the script.

From a browser

- Download the patch here: http://www.dokeos.com/download/dokeos-1.8.4-patch-videoconference-2.0.tar.gz

- Uncompress it and send the files to your Dokeos web root directory (directly inside the “dokeos” directory)

- Change the permissions to writeable by the web browser on, or edit the main/inc/lib/add_course.lib.inc.php file to remove the conditions (but not the api_sql_query lines) under if(api_get_setting(’service_visio’,'active’)==’true’). You should end up with something like this:

 if(api_get_setting('service_visio','active')=='true'){
                       api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (, '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
                       api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES (, '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
 }

- Get on your portal’s homepage (e.g. http://my.dokeos.com/ or http://whatever.com/dokeos/)

- Update the URL to load the videosetweb.php script: http://my.dokeos.com/videosetweb.php

- A set of instructions will appear. Update your URL accordingly, to add the five required parameters: host, port, pass, active and complete, then query that URL (press enter). For example (these are not real parameters):

 http://my.dokeos.com/videosetweb.php?host=streaming.dokeos.com&port=1935&pass=password&active=1&complete=0

- active tells the script whether to add the links to the videoconference tool as visible (1) or invisible (0) to the users. complete tells the script to start from a 1.8.5 alpha architecture (0) or from a 1.8.4 architecture (1).

- Don’t execute this script twice! If it failed, try to locate the problem and restore the backup before trying again.

- Once the script is done (it should give you an “Operation succeeded” message), delete the videoset.php and videosetweb.php scripts from your Dokeos directory.

- You can always ask for help on the forums: http://www.dokeos.com/forum/

From the command line

Go inside your dokeos installation portal. Beware that you should be root or a user allowed to overwrite files inside your Dokeos web root. Under Ubuntu, use sudo before any command.

On Debian/Ubuntu:

# cd /var/www/dokeos/

Download the patch:

# wget http://www.dokeos.com/download/dokeos-1.8.4-patch-videoconference-2.0.tar.gz

Uncompress the patch:

# tar zfvx dokeos-1.8.4-patch-videoconference-2.0.tar.gz

And finaly active the videoconferencing using either :

# php videoset.php  .  {host}  {port}  {pass}  {active}  {complete}

(Where {host} must be replaced by the ip/hostname of your red5 server, {port} will be 1935 in most case, {pass} must be the key linked with the current domain in the configuration of RED5 (see above), {active} must be 1 or 0 depending on whether you want the links to the videoconference tool to be added as visible or invisible, and finally {complete} must be set to 0 for a 1.8.5 alpha version of Dokeos)

Delete the videoset.php and videosetweb.php scripts.

You should now be able to further edit these settings from the Dokeos administration panel.

Testing

If you have set everything up correctly and don’t have a firewall or whatever network problem, you should be able to: – enter a course – follow the “virtual classroom” link or the “virtual meeting” link

Known limitations

At present, the tool still has the following limitations – translations in english, spanish, french, german and dutch only – in virtual meeting, only one person at a time can write on the whiteboard (otherwise the drawings get messy) – conversion of PowerPoint presentations only work if Oogie is enabled on your server

Ditulis dalam Linux | Bertanda: , , | Leave a Comment »

Dokeos, Course Manajement System

Ditulis oleh Naruto di/pada 18 November 2008

Pengertian Dokeos


Dokeos adalah elearning tools untuk aplikasi berbasis web.Ia merupakan free software yang direlease oleh GNU GPL dan pengembangannya didukung oleh dunia internasional.Sistem operasinya bersertifikasi yang bisa digunakan sebagai konten dari sistem managemen untuk pendidikan.Contennya meliputi distribusi bahan pelajaran , kalender , progres pembelajaran, percakapan melalui text/audio maupun vidio , administrasi test , dan menyimpan catatan.Pada tahun 2004 dokeos sudah ditranslate ke dalam 31 bahasa dan digunakan oleh lebih dari ratusan organisasi.Tujuan utama dari dokeos adalah menjadi sistem yang userfriendly dan flexibel serta mudah dipakai.Selain itu juga menjadi tool yang bagus untuk pembelajaran sehingga user puas terhadap aplikasi ini.

Dokeos ditulis dalam bahasa PHP dan menggunakan database MySQL.Versinya yang paling stabil adalah Dokeos 1.6.5.Saat ini para developer sedang merelease versi 2.0.Komunitas untuk mereleasenya sangat terbuka.Untuk situs resminya adalah Dokeos.com


Tool-tool yang ada di Dokeos

  1. Agenda/kalender
  2. Pengumuman: info penting yang juga mencakup fungsionalitas mail service
  3. Deskripsi arahan: penjelasan objektif, metodologi, materi kursus, metode taksiran untuk siswa
  4. Dokumen : manajemen file untuk menyimpan berbagai dokumen
  5. Learning path: menetapkan bagaimana siswa melakukan browsing. menjelaskan kepada siswa-siswa langkah mana yang harus diambil. menunjukkan siswa menuju kursus e-learning yang kita tawarkan. misal : pretest, view document 1, post text, visit site X,.. Dengan tool ini kita juga dapat mengatur prasyarat. misalnya: situs tidak dapat dikunjungi sebelum test diselesaikan. learning path adalah SCORM compatible dan dapat mengimpor serta ekspor SCORM packages
  6. Link : link ke situs lain
  7. Forum : diskusi asynchronous
  8. Drop box : siswa dapat mengumpulkan tugas ke gurunya (sebagai pengganti mengisi mailbox gurunya dengan mail yang memiliki attachment sanagt besar )
  9. Group : mengelompokkan beberapa user menjadi satu (untuk tugas spesifik)
  10. Modul untuk chat : diskusi instant
  11. Publikasi : siswa dapat membagi (share) tugas mereka dengan siswa yang lain
  12. Tracking : informasi tentang siapa yang telah mengerjakan, kapan, dan masih banyak lagi.

semua tool yang berbeda ini dapat dikombinasikan:
-tiap grup dapat memiliki ruang dokumen pribadi
-tiap grup dapat memiliki forum pribadi
-guru dapat memosting item agenda atau pengumuman untuk satu atau lebih grup atau user untuk seluruh siswa
-resources (dokumen, link, message forum) dapat dikombinasikan dengan resource yang akan bertugas me-link-kan: kita menambahkan attachment ke resource kursus lain dalam message forum, pengumuman, dan agenda dll.

Standar Dokeos

Dokeos code ditulis dengan PHP dan menggunakan database MYSQL. Dokeos juga bisa digunakan untuk support SCROM import, dan SCROM export dalam tahap percobaan.Data user dapat diimport ke dalam system engan menggunakan CSV atau file XML. Dokeos dapat menambahkan user info dan autentifikasi melalui LDAP. Untuk release selanjutnya (1.6) tim Developer juga berusaha untuk melengkapinya dengan W3C xhtml dan css standart. Beberapa Javascript masih dibutuhkan dan penggunaan SCROM lebih banyak digunakan untuk frame pada learning path module.

Pengembangan Dokeos

Pengembangan Dokeos adalah sebuah project Internasional untuk beberapa universitas, sekolah dan organisasi lain dan perorangan bisa berkontribusi.

Metodology pengembangan dokeos mengambil elemen dari ekstreme programming, usability teori dan metodologi pengembangan kolaborasi open source, seperti ide pada cathedrak dan bazaar.

Secara spesifik dokeos sangat terbuka. Ada forum yang digunakan oleh para pengguna dokeos di seluruh dunia untk saling berdiskusi dan memberi feed back.
Agenda dan waktu para developer juga terpublish, dan roadmapnya juga bisa diketahui publik. Usser dapar menayakan tentang fitur atau bugs pada form tersebut. Semua desain dan dokumentasi dari developer tersedia dan bisa diakses oleh publik. Setiap orang bisa mendaftar dan dapat berkontribusi

Ditulis dalam Internet | Bertanda: | 1 Komentar »

Installing Red5 on Debian

Ditulis oleh Naruto di/pada 18 November 2008

The following are steps used to get Red5 running on a Debian machine. This is the development version of Red5.

Before beginning this make sure you are running these commands as root.

  1. Install Subversion:

    apt-get install subversion
  2. Install tools to build your own Debian packages:

      apt-get install dpkg-dev
      apt-get install debhelper
      apt-get install dh-make
      apt-get install devscripts
      apt-get install fakeroot
  3. Install Java (see this tutorial for more info):

    apt-get install java-package
  4. Install Apache Ant 1.7:

      wget http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
      gzip -d xf apache-ant-1.7.0-bin.tar.gz
      tar -xf apache-ant-1.7.0-bin.tar
      cd apache-ant-1.7.0
      mv apache-ant-1.7.0 /usr/local/ant
      export ANT_HOME=/usr/local/ant
  5. Once Java and Ant are all set up you simply download the latest development version of Red5 to your box.

      svn co http://red5.googlecode.com/svn/java/server/trunk red5-trunk

    That will create a folder in your current directory called red5-trunk.

  6. Navigate to the red5-trunk directory and run

    /usr/local/ant/bin/ant

    That will build the project on your machine.

  7. At this point you will need to create a red5 directory in the /usr/local/red5 directory.

    mkdir /usr/local/red5
  8. Then you will want to copy the contents of the dist(distribution) folder to /usr/local/red5 like so

    cp -R red5-trunk/dist/* /usr/local/red5/
  9. We need need to fix the permissions on the red5.sh file:

    cd /usr/local/red5
    chmod 755 red5.sh
  10. To run the server you have a few options using the red5.sh file. Run the server by either running

    sh red5.sh &

    or

    ./red5.sh &

    This will start the Red5 service manually.

  11. Verify the correct ports are being bound to:

    netstat -ant

    You may need to edit the red5.properties file in the /usr/local/red5/conf directory if you can’t connect to your server from an external location. Try to connect to the server before you modify the properties file because you may be able to connect to it with no problems.

Ditulis dalam Linux | Bertanda: , | Leave a Comment »