Dokeos Tutorial Sritrusta Sukaridhoto Politeknik Elektronika Negeri Surabaya.

23
Dokeos Tutorial Sritrusta Sukaridhoto Politeknik Elektronika Negeri Surabaya QuickTime™ and a TIFF (LZW) decompressor are needed to see this picture.

Transcript of Dokeos Tutorial Sritrusta Sukaridhoto Politeknik Elektronika Negeri Surabaya.

Dokeos Tutorial

Sritrusta SukaridhotoPoliteknik Elektronika Negeri Surabaya

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Struktur Dokeos

Fungsi Dokeos

• Oogie• VideoConference• LMS• ReportingQuickTime™ and a

TIFF (LZW) decompressorare needed to see this picture.

Requirement

• High Spec Server• Dual Processor• 80GB HD • High Bandwidth• High speed Internet

• Linux OS (Debian GNU/Linux)

• Apache2• MySQL• PHP5• OpenOffice.org• Red5 Server (java + flash)• OpenLaszlo• Tomcat• Mail server (postfix)• Backup (rsync)

Debian GNU/Linux

• Gunakan mirror, daripada CD/DVD• Main, contrib, non-free

• /etc/apt/sources.list• deb

http://kebo.vlsm.org/debian stable main contrib non-free

• # apt-get update• # apt-get upgrade

Java & M$-font

• Install java5, • Java6 belum disupport

oleh dokeos• Jangan gunakan gcj ato

java compiler lainnya

• # apt-get install sun-java5-jdk sun-java5-jre

• # apt-get install msttcorefonts

Apache2, MySQL, PHP5

• # apt-get install apache2-mpm-prefork

• # apt-get install mysql-server-5.0

• # apt-get install libapache2-mod-php5 php5-mysql

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

phpinfo

• Coba webserver dengan phpinfo

• <? phpinfo(); ?>

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

PHP extra

• # apt-get install php-pear php5-gd php5-xsl php5-mcrypt

• Rubah /etc/php5/apache2/php.ini• Max_execution_time = 300• Max_input_time = 600• Memory_limit = 128M• Post_max_size = 64M• Upload_max_filesize = 100M

• Install phpmyadmin• # apt-get install phpmyadmin

Download dokeos• # cd /var/www• # wget http://www.dokeos.com/download/dokeos-1.8.4.zip• # unzip dokeos-1.8.4.zip• # chmod -R 0777 dokeos/• Buka halaman http://localhost/dokeos/, lakukan installasi

sesuai petunjuk

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Menu Dokeos

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Dokeos Oogie Rapid Authoring

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Shell • # apt-get install openoffice.org

• Edit /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu

• Isikan :• <prop oor:name="ooSetupConnectionURL"> <value>

socket,host=localhost,port=2002;urp;StarOffice.ServiceManager </value> </prop>

• Sebelum :

• <prop oor:name="ooSetupInstCompleted"> <value>false</value> </prop>

• # apt-get install xvfb xbase-clients xserver-xorg-core

• xvfb-run -a /usr/lib/openoffice/program/soffice -headless -norestore -nologo -accept="socket,port=2002;urp;StarOffice.ServiceManager" &

Dokeos configuration

• Administration -> Services -> PowerPoint2LearningPath• Host = localhost• Username =• Ftp Password = • Path to LZX Files

= /main/webrooms/recorder.swf

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Video Conferencing

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

• Apache Tomcat• Mod_jk

• OpenLaszlo http://www.openlaszlo.org

• Red5 http://osflash.org/red5

openlaszlo

• # cd /opt• # wget http://www.dokeos.com/download/dokeos-openlaszlo-

1_8.tar.gz• # tar zxvf dokeos-openlaszlog-1_8.tar.gz• # cd dokeos-openlaszlo-1.8• Cek JAVA_HOME di file Server/tomcat-5.0.24/bin/startup.sh

dan Server/tomcat-5.0.24/bin/shutdown.sh pastikan berisi “/usr/lib/jvm/java-1.5.0-sun”

• Cek file Server/lps-latest/dokeos/videoconference/host.lzx, isikan keterangan yang sesuai dengan red5 configuration

• # ./Server/tomcat-5.0.24/bin/startup.sh

Red5

• # 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• # wget http://www.dokeos.com/download/dokeos-red5APP-

1_8.tar.gz• # tar zxvf dokeos-red5APP-1_8.tar.gz• # cp - R dokeos-red5APP-1.8/* /usr/lib/red5/webapps/• Cek /usr/lib/red5/conf/red5.properties (default)

• http.port = 5080• rtmp.port = 1935• rtmpt.port = 8088

• # /etc/init.d/red5 restart

Apache2 Tomcat (1)

• # apt-get install libapache2-mod-jk

• # a2enmod jk

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Apache2 Tomcat (2)

• Edit # vim /etc/libapache2-mod-jk/workers.properties• workers.java_home=/usr/lib/jvm/java-1.5.0-sun/• workers.tomcat_home=/opt/dokeos-openlaszlo-1.8/Server/

tomcat-5.0.24• Tambahkan # vim /etc/apache2/mod-enabled/jk.load

• JkLogLevel info• JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"• JkMount /lps-latest ajp13• JkMount /lps-latest/dokeos/* ajp13

• Restart dengan : # /etc/init.d/apache2 restart

Apache2 Tomcat (3)

• Test akses ke• http://server:8080/lps-latest• http://server/lps-latest/dokeos/

Dokeos Configuration

• Administrator - Services - Visio-Conference URL:• /dokeos/main/webrooms/

videoconference.html • /dokeos/main/webrooms/

videoconference2.html • Ip server = <ip server red5>• RTMP = 5080• RTMP Tunnel = 8088

Troubleshoting

• Bila video conference hanya keluar tombol lingkaran dan tanda x merah, dan hanya loading …• Masuk ke

/Server/lps-latest/dokeos/videoconference/• # grep “_url.indexOf” *• Rubah “/” menjadi “/main”

Selamat Mencoba