topleft
topright



Valid XHTML 1.0 Transitional

INSTALLATION OF UBUNTU 6.0.6 TLS Server for Dokeos Print E-mail

 

INSTALLATION DE OPENSSH
sudo apt-get install openssh-server
sudo /etc/init.d/ssh restart

UPDATE SYSTEM
sudo apt-get update
sudo apt-get upgrade
sudo aptitude dist-upgrade

sudo lsb_release -a (check the version)

UPDATE SOURCES (FASTER)
sudo mv /etc/apt/sources.list /etc/apt/sources.list.ORIG
sudo touch /etc/apt/sources.list
sudo nano /etc/apt/sources.list


COPY/PASTE

deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

sudo apt-get update

TIME SERVER
sudo ntpdate pool.ntp.org
sudo apt-get install ntp-simple
sudo nano /etc/ntp.conf
server pool.ntp.org

INSTALLATION IPTRAF
sudo apt-get install iptraf

INSTALLATION FAIL2BAN

sudo apt-get install fail2ban

NETWORK CONFIG

sudo nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.2.104
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1

auto eth1
iface eth1 inet static
address 192.168.2.110
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1

sudo /etc/init.d/networking restart
sudo ifconfig -a

INSTALLATION BIND
sudo apt-get install bind9 bind9-doc

sudo nano /etc/resolv.conf

nameserver 127.0.0.1
search recitfp.qc.ca

sudo /etc/init.d/bind9 restart

INSTALLATION DOKEOS

Installation Apache2, Mysql et PHP
sudo apt-get install apache2-mpm-prefork
sudo apt-get install mysql-server-5.0
sudo apt-get install libapache2-mod-php5 php5-mysql
cd /var/www
sudo touch index.php
sudo nano index.php
<php>
sudo apt-get install php-pear php5-gd php5-xsl php5-mcrypt php5-ldap

In php.ini

max_execution_time = 300
max_input_time = 600
memory_limit = 256M
post_max_size = 16M
upload_max_filesize = 100M

sudo /etc/init.d/apache2 reload
sudo mysql_secure_installation
sudo apt-get install phpmyadmin

Installation JAVA, OPENOFFICE

sudo apt-get install sun-java5-jdk
java -version
sudo update-alternatives --config java
sudo nano /etc/profile
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export PATH=${JAVA_HOME}/bin:${PATH}
sudo reboot
sudo echo $JAVA_HOME
sudo apt-get install openoffice.org
sudo nano /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu

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

sudo apt-get install msttcorefonts
sudo apt-get install xvfb


Installation Oogie
sudo xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore &

Installation de dokeos

cd /var/www
sudo wget http://www.dokeos.com/download/dokeos-1.8.4.tar.gz
sudo tar xvf dokeos-1.8.4.tar.gz
sudo chmod -R 0777 dokeos/

get it and install http://192.168.2.104

sudo chmod 444 /var/www/dokeos/main/inc/conf/configuration.php
sudo chmod 444 /var/www/dokeos/main/install/index.php

Hôte: localhost
Nom d'utilisateur:
Mot de passe FTP :
LZX /dokeos/main/webrooms/recorder.swf


Installation RED5

cd /usr/src
sudo wget http://dl.fancycode.com/red5/0.6.3/debian/red5_0.6.3-1_all.deb
sudo dpkg -i red5_0.6.3-1_all.deb
sudo wget http://www.dokeos.com/download/dokeos-red5APP-1_8.tar.gz
sudo tar zfvx dokeos-red5APP-1_8.tar.gz
sudo cp -R dokeos-red5APP-1.8/* /usr/lib/red5/webapps

Configuration de RED5

sudo mv /usr/lib/red5/conf/red5.properties /usr/lib/red5/conf/red5.properties.ORIG
sudo touch nano /usr/lib/red5/conf/red5.properties
sudo nano /usr/lib/red5/conf/red5.properties

# HTTP
http.host=192.168.2.104
http.port=5080
# RTMP
rtmp.host=192.168.2.104
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=-1
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
# RTMPT
rtmpt.host=192.168.2.104
rtmpt.port=8088
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
# Debug proxy (needs to be activated in red5-core.xml)
#debug_proxy.host_port = 192.168.2.104:1936
proxy.source_host=127.0.0.1
proxy.source_port=1936
proxy.destination_host=127.0.0.1
proxy.destination_port=1935


Installation de OpenLaszlo (not needed but installed to configured mod_jk correctly)

cd /home/michel
sudo wget http://www.dokeos.com/download/dokeos-openlaszlo-1_8.tar.gz
sudo tar -xzvf dokeos-openlaszlo-1_8.tar.gz
sudo nano /home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24/bin/startup.sh
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
sudo nano /home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24/bin/shutdown.sh
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun

sudo nano /home/michel/dokeos-openlaszlo-1.8/Server/lps-latest/dokeos/videoconference/host.lzx
Modifier " value="your-hostname" " par " value="192.168.2.104"
Modifier " name="rmptTunnelport" value="80" " par " name="rmptTunnelport" value="8088"
sudo sh /home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24/bin/shutdown.sh
sudo sh /home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24/bin/startup.sh
sudo sh /home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24/bin/shutdown.sh

Installation de mod_jk pour apache2

sudo apt-get install libapache2-mod-jk
sudo nano /etc/libapache2-mod-jk/workers.properties
workers.tomcat_home=/home/michel/dokeos-openlaszlo-1.8/Server/tomcat-5.0.24
workers.java_home=/usr/lib/jvm/j2sdk1.5-sun
sudo nano /etc/apache2/mods-available/jk.load

JkShmFile /var/log/apache2/jk-runtime-status
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkMount /lps-latest ajp13
JkMount /lps-latest/dokeos/* ajp13

sudo /etc/init.d/apache2 reload

Chemin vers la visioconférence :
/dokeos/main/webrooms/videoconference.html

Chemin vers la visio conférence de classe :
/dokeos/main/webrooms/videoconference2.html

Hôte pour la vidéoconférence : 192.168.2.104

Port du protocole RTMPT pour la vidéoconférence : 1935

Port tunnel du protocole RTMPT pour la vidéoconférence : 8088

the path for OOgie is in my configuration, it indicates where are the LZX files:

Configurer les services > Oogie
Hôte: localhost
Nom d'utilisateur:
Mot de passe FTP :
Chemin vers les fichiers LZX :/lpslatest/dokeos/videoconference/ppt2lprecorder.lzx

In the new version on Dokeos 1.8.4 i don't used the functionality of audiorecorder, the templates are sufficient.

Use Red5 0.6.2.
I was banging my head against a wall for over a week until I back-rev'd 0.6.3 to 0.6.2. Now everything works great

 

Newsflash

During "Loi Kratong" ceremonies, Alkia will proceed to a PC donation to the Sakaew school. These computer are not some old reclycled PC but genuinly brand new machines designed for education. We wish all the best to the children of this area. Their fulture is bright and will be IT centered!
 
   IT maintenance, computer security & web site design or development in Bangkok - Thailand