Archive

Posts Tagged ‘Videoconference’

Installing BigBlueButton 0.64 on CentOS5.5

October 24, 2010 2 comments

The documentation to install BigBlueButton 0.64 on CentOS (and on most other distributions) is really excellent. However, I found that CentOS 5.5 had not been documented yet, so I tried it and run into a few problems. I explain below how to get it all sorted out. I installed CentOS5.5 from a DVD in “server” mode, so without graphical interface. Once installed, I proceeded with the following.

I followed the first directions from http://code.google.com/p/bigbluebutton/wiki/RPMPackaging#How_to_Install_BigBlueButton_on_CentOS_5.4

However, I ran into my first problem: the epel could not be found by the script, so I had to update the script to change epel-release-5-3.noarch.rpm for epel-release-5.4-noarch.rpm, then launch the script again.

Probably because the script had a problem, I had another problem later during the install: /etc/init.d/asterisk conflicted with asterisk14, so I had to remove Asterisk first: “yum remove asterisk14-core-1.4.36-1_centos5.x86-64”, then launch again “yum -y install bigbluebutton”

At this point, bigbluebutton should work fine from the local machine (if you are doing that on a CentOS5.5 server without graphical interface, try installing lynx and launching lynx localhost. If you see text saying BigBlueButton, you’re OK), but accessing this server from another machine might not work (could not connect, error 500, etc). This is (most probably) because your server has an iptables (default firewall) configuration preventing access on port 80 to your server from another computer. The quick solution to try it is to shut down iptables with “/etc/init.d/iptables stop” and try connecting again. If that works, then you’ll have to setup your firewall properly.

Finally, to install the desktop sharing utility, you will have to launch “yum install bbb-apps-deskshare”.

You might also be interested (as a backup- into a guide that explains how to install BigBlueButton on CentOS5.4 step by step: http://code.google.com/p/bigbluebutton/wiki/InstallingBigBlueButtonCentOS

BBB 0.70 seems to install fine on top of the 0.64, but the sound doesn’t work and the whiteboard features are not registering write operations (just showing on screen).

Installer la vidéoconférence de Chamilo sur une machine virtuelle

August 2, 2010 5 comments

Ce type d’explication étant en grande demande, voici comment installer la vidéoconférence sur une machine virtuelle. Libre au lecteur de l’appliquer ensuite à un serveur.

Ce guide n’en est pas vraiment un. En fait, il s’agit de ma conversation avec Sandrine, une utilisatrice de Chamilo tentant désespérément d’installer la vidéoconférence, malgré mes recommendations de ne pas essayer sans avoir un niveau technique suffisant au niveau administration système.  Bien qu’étant généralement de très bonne volonté, l’installation de la vidéoconférence est un processus long, qui repose sur des connaissances techniques avancées. C’est pourquoi le risque de problèmes en cours de chemin est grand, et c’est pour cette raison (pour les curieux) que nous ne passons pas plus de temps à élaborer des guides d’installation. Il y a chaque fois des problèmes propres au système sur lequel on l’installer, ce qui requiert d’un temps d’installation assez long. À noter aussi que tout le temps passé à l’expliquer à quelqu’un qui ne communiquerait pas ses résultats par la suite est du temps *perdu* pour le développement de Chamilo, donc j’essaie d’éviter.

BeezNest offre le service d’installation de la vidéoconférence si vous ne voulez pas vous confronter aux problèmes rencontrés ou pas ci-dessous. Contactez-nous sur info @ beeznest point com.

Notez qu’à l’avenir nous utiliserons très probablement BigBlueButton au lieu de notre système de vidéoconférence actuel. Bien qu’il reste quelques problèmes à solutionner, l’équipe en charge du développement de cette solution entièrement libre est bien plus nombreuse que nous et avance dans le domaine spécifique de la vidéoconférence tandis que nous devons nous occuper en même temps du LMS Chamilo.

Quoi qu’il en soit, voici la conversation, copiée-collée et avec quelques modifications (dont un certain nombre de “merci” qui ne servent pas l’objectif instructif de ce guide).

Mon pseudo, c’est yannoo.

(10:44:34) sandrine:
tu a vu mon tutoriel?
LE SECOND
j'ai toujours l'affichage connecting to the streaming serveur
mais red5 fonctionne je l'ai tester
j'ai acces a la page d'administration de tomcat sur le porrt 8180
(10:45:54) yannoo:
tu me donnes un lien?
(10:46:06) sandrine:
oki
http://www.chamilo.org/fr/node/474
regarde la partie ebauche n°2
(11:06:32) yannoo:
pq ubuntu 6.06 en particulier?
(11:07:35) sandrine:
en fait j'ai suivie un tuto de dokeos qui faisai utiliser cette version
(11:08:20) yannoo:
à mon avis avec une 10.04 ça ne devrait pas poser de problème (ou au moins avec une 8.04)
(11:08:29) sandrine:
en fait jai deja reussi a faire fonctionner la videoconference avec dokeos 1.8.2 en suivant ce tuto
mais avec la version 1.8.6.2 puis 1.8.7 cela ne marche pas
mais jai essayer avec la version ubuntu 9.10 sans plus de succes
jai aussi essayer avec 8.04.4 sans plus de succes
(11:12:56) yannoo:
ok ok, mais je ne crois pas que ce soit ça le facteur changeant puisque ça ne marche pas avec 6.06
je refais tout avec toi hein
je pars d'une 10.04 desktop edition
que j'installe dans un virtual box
tu connais virtual box?
(11:19:12) sandrine:
non c koi?
(11:19:28) yannoo:
tu utilises quoi comme système d'exploitation sur ta machine?
(11:19:58) sandrine:
sur mon portable jai windows vista
et sur mon pc de bureau (qui jou le role de serveur) jai ubuntu
(11:20:19) yannoo:
http://www.virtualbox.org/
c'est un système qui permet de faire des installs (d'ubuntu par exemple) en machine virtuelle
en gros, tu utilises une espèce de "bac à sable" sur ta propre machine
ça n'affecte en rien ta machine
mais ça te permet de tout installer
sans devoir réinstaller un ordi entier à chaque fois
(11:21:45) sandrine:
donc pour resumer et voir si jai bien compris je vai rester sur windows et installer virtual box et dans virtual box je vais installer ubuntu et ça jouera le role de serveur c'est cela?
(11:21:50) yannoo:
tu peux télécharger ici: http://download.virtualbox.org/virtualbox/3.2.4/VirtualBox-3.2.4-62467-Win.exe
oui, c'est ça
(11:22:41) sandrine:
donc attend sur mon pc de bureau kjai deux partion une avec donc ubuntu et lautre avec windows xp je vai sur la partition xp du serveur c ça?
(11:23:23) yannoo:
si tu as Windows Vista, tu utilises Windows Vista
t'auras juste besoin de virtual box, d'un CD d'ubuntu 10.04 (ou une image .iso sur ton windows vista)
t'installe virtual box pour windows puis tu le démarres
tu cliques sur "nouveau" (comprendre "nouveau système virtuel")
page de bienvenue -> Suivant
il te demande un nom de système
tu lui mets par exemple ubuntu 10.04
puis il demande le syst d'exploitation tu sélectionnes Linux et Ubuntu
Tu valides et il te demande combien de mémoire vive tu veux mettre (il te propose 384MB et c'est très bien pour notre test), tu valides
après il te demande si tu veux créer un nouveau disque ou en réutiliser un. C'est un disque virtuel, donc tu dis "créer un nouveau" puis suivant
suivant de nouveau
Image à taille dynamique, suivant
Emplacement (tu choisis un endroit pour le mettre sur ton ordi, ça prend max 1GB je crois)
tu laisses la taille par défaut (8GB), de toute façon c dynamique ça prendra jamais tout ça
Suivant
Terminer
Terminer de nouveau
là y a le nom du système virtuel qui apparaît dans la liste. Tu cliques dessus et tu cliques sur "disque optique" à droite
là tu cliques sur "Insérer un disque optique" et tu sélectionnes ton lecteur CD si t'as un CD d'ubuntu 10.04 ou tu sélectionnes l'image iso du CD d'ubuntu 10.04 si tu l'as sur ton ordi, puis tu fais OK
là tu reviens à la liste des systèmes et tu cliques  sur le ubuntu 10.04 puis sur "lancer"
là il va lancer l'installation d'ubuntu
rien de bien complexe, c'est une installation normale. Parfois VirtualBox te coince ton curseur dans la nouvelle fenêtre. C'est normal. Pour en sortir tu utilises la touche CTRL de droite
attends apparemment j'ai un problème pour installer Ubuntu 10.04 sur mon virtual box (c la première fois que j'essaie), du coup je vais repasser en Ubuntu 9.10 si ça te dérange pas
bon, la 9.10 je l'ai en déjà installée
donc je m'ouvre un terminal et je commence direct en 9.10
(11:35:42) sandrine:
di c une version serveur ou une version desktop???
Terminal donc desktop
(11:36:33) yannoo:
c une version desktop mais pour ce qu'on va en faire ça ne change pas grand chose
bon alors là je retourne à ta doc
sudo apt-get install apache2-mpm-prefork
sudo apt-get install mysql-server
 (pas de 5.0 stp, c'est vieux ça, même si ça change rien)
en fait tu peux direct faire sudo apt-get install apache2 mysql-server libapache2-mod-php5 php5-mysql
en une ligne
mon adresse ip c'est 10.0.2.15 dans ma machine virtuelle
sudo apt-get install php-pear php5-gd php5-xsl php5-mcrypt php5-ldap
c'est pas vraiment nécessaire en fait, mais c mieux pour chamilo après
(11:40:39) sandrine:
oki c l'ip local ???
(11:40:53) yannoo:
c l'ip locale de ma machine dans virtual box, oui
(11:40:53) sandrine:
Ou l'ip internet??
(11:41:20) yannoo:
mais comme elle va servir de serveur pour chamilo *et* la vidéoconférence, dans ce cas-ci on s'en fout un peu, du moment qu'on en a une :-)
(11:41:38) sandrine:
juste question rapide pour ubuntu 9.10 je prend I386 Ou AMD ?
(11:41:45) yannoo:
i386
c le plus "compatible"
on va y aller direct avec chamilo 1.8.7 si ça te dérange pas
ma vitesse de téléchargement est pas top, donc il va falloir attendre que ça arrive
là je suis encore occupé avec mysql-server
(11:42:50) sandrine:
il faudrait installer d'autre choses avant??
(11:43:07) yannoo:
non, ça devrait suffire pour la partie chamilo
après on va installer les java et les autres trucs
(11:44:28) sandrine:
dis moi il y aura une diference après quand je travaillerai non pas sur virtual box mais sur mon pc serveur ?
(11:45:11) yannoo:
non
pas pour la première partie
(11:45:20) sandrine:
Ok
(11:45:39) yannoo:
après il y aura une deuxième couche à mettre par dessus (qu'on ne verra pas aujourd'hui) pour rendre ton serveur de video public
(11:45:57) sandrine:
ok
(11:47:08) yannoo:
cd /var/www; sudo wget http://chamilo.googlecode.com/files/chamilo-1.8.7.tar.gz; sudo tar zxvf chamilo-1.8.7.tar.gz; sudo chmod -R 0777 chamilo-1.8.7
il va prendre 7 minutes pour moi, donc je te laisse un petit moment
(11:48:31) sandrine:
je reste la
(11:57:50) yannoo:
bien, on continue
je lance rapidement l'install de Chamilo
ici c'est important d'être cohérent
(11:58:24) sandrine:
cohérent c'est a dire?
(11:58:30) yannoo:
si je vais utiliser la même adresse ip, alors il faut l'utiliser partout
donc j'installe mon chamilo sur 10.0.2.15
(11:59:23) sandrine:
oui donc dans l'installe de chamilo a un moment je dois saisir l'ip de ma machine virtuell?
(11:59:27) yannoo:
par contre, pour éviter les éventuels problèmes, je vais mettre tout le contenu du répertoire chamilo dans la racine web (/var/www):
sudo mv chamilo-1.8.7/* .
juste après la commande de téléchargement
maintenant quoi :-) (avant l'install)
(12:00:20) sandrine:
oki
et après je fai l'install c ça?
(12:00:40) yannoo:
donc maintenant j'ouvre un browser (là c chouette d'avoir une version desktop pour ça)
(12:00:59) sandrine:
UN BROWSER c un navigateur c ça?
(12:00:59) yannoo:
et je charge: http://10.0.2.15/
oui
(12:01:21) sandrine:
localhost n'aurai pas fonctionner?
(12:01:46) yannoo:
si, mais justement, il faut pas le confondre
il faut utiliser l'adresse IP tout le temps
(12:02:05) sandrine:
oki et toujours l ip locale
(12:02:21) yannoo:
par contre il faut aussi probablement relancer apache: sudo /etc/init.d/apache2 restart
(12:02:45) sandrine:
après l'installe de chamilo je relance apache ok
dis moi au cours de l'installation de chamilo je dois preciser l'ip a quel moment ?? (a quelle étape ?)
(12:03:39) yannoo:
en fait c'est après l'install des packages de php
bon ben donc on peut installer chamilo là hein
(12:18:03) sandrine:
donc maintenant linstall de chamilo
(12:18:26) yannoo:
je te laisse installer toute seule hein, y a rien de compliqué
(12:18:36) sandrine:
non ça ça va
(12:18:52) yannoo:
normalement au moment de l'installation de mysql il t'a demandé un mot de passe de root, que tu lui donnes ici
(12:19:01) sandrine:
mais ya pas un moment ou je dois preciser une adresse ip afin d'être coherent comme tu disais plus haut
?
(12:19:37) yannoo:
normalement il te la donne par défaut
il détecte celle que tu utilises lors de l'installation
(12:19:52) sandrine:
ok l'ip de ma virtual box tjrs
(12:19:56) yannoo:
oui
(12:20:05) sandrine:
dis juste comment je connai l ip de ma virtual box?
(12:20:55) yannoo:
ah, tu peux lancer dans un terminal: /sbin/ifconfig
(12:21:03) sandrine:
OKI merci
(12:21:13) yannoo:
et elle apparaît au milieu de plein d'autres trucs comme "inet addr"
(12:21:21) sandrine:
oki
rien de particulier pendant l'install de chamilo?
Juste l'ip doit etre preciser (tu ma di qu elle y serait par defaut) mais a quelle étape de l'installation??
(12:23:24) yannoo:
heu... 3 ème page je crois
(12:23:47) sandrine:
oki je regarderai et c'est tjrs l'ip de ma virtual box
(12:23:53) yannoo:
quand il te demande les infos communes sur le serveur (nom du campus et tout ça), c'est le premier champ de la page
oui
(12:24:02) sandrine:
oki
et après?
(12:24:12) yannoo:
ok maintenant on installe red5
à noter qu'on charge un package debian, donc celui-ci devrait se charger d'installer ses dépendances (par exemple java) tout seul
(12:25:03) sandrine:
ok (bon la je comprend pas vraiment tout mais jte suis :) )
(12:25:13) yannoo:
pour télécharger et ne pas mettre le désordre, on va dans /tmp, un répertoire qui est nettoyé à chaque redémarrage
cd /tmp; wget http://dl.fancycode.com/red5/debian/0.6.2/red5_0.6.2-1_all.deb; sudo dpkg -i red5_0.6.2-1_all.deb
(12:25:52) sandrine:
oki
(12:28:01) yannoo:
normalement après il faut télécharger les modifications de red5 pour la videoconf
wget http://www.dokeos.com/maven/repository/com/dokeos/dokeos-videoconf/2.0.0-M2/dokeos-videoconf-2.0.0-M2.war
(12:28:26) sandrine:
oki
et je les mets ou?
car la ils sont ds le dossier TMP
(12:29:04) yannoo:
après tu le renommes en "dokeos-videoconf.war" et tu le bouges dans /usr/lib/red5/webapps
(12:29:46) sandrine:
sudo mv dokeos-videoconf.war /usr/lib/red5/webapss
c ça??
C'est la bonne commande?
(12:32:11) yannoo:
mets-lui un slash de + après webapps
(12:32:20) sandrine:
ok
(12:32:21) yannoo:
...red5/webapps/
(12:32:29) sandrine:
oki
l'idee de oogie est interessante mais jai vu que AutorPointLite convertit des pps en swf
(12:36:45) yannoo:
oui
le problème pour nous est que ce n'est pas libre
donc on ne peut pas l'intégrer à notre outil
(12:37:20) sandrine:
ben jai lu sur micro hebdo que il etait gratuit
(12:37:30) yannoo:
gratuit ne veut pas dire libre
(12:37:33) sandrine:
mais peut etre pas libre en effet
oui tu as raison
tu as le fichier?
(12:38:20) yannoo:
oui
bon, ici on a un premier gros problème
qui est que red5 a besoin de sun-java5-bin
(12:38:45) sandrine:
C'est a dire????
(12:38:50) yannoo:
qui n'est plus disponible dans Ubuntu 9.10
alors on a trois solutions:
(12:38:59) sandrine:
arghhhhhhhhhhhhh
(12:39:10) yannoo:
- on réessaie avec Ubuntu 9.04 ou 8.04
(12:39:17) sandrine:
oui ou
(12:39:19) yannoo:
- on modifie le paquet red5
(12:39:24) sandrine:
oui ou
(12:39:37) yannoo:
- on trouve quand même une façon d'installer sun-java5-bin
(12:39:54) sandrine:
quelle est la methode la plus simple?
(12:40:15) yannoo:
la dernière est problématique, potentiellement, parce qu'on aurait besoin de maltraiter le serveur
la première est la plus simple mais prend bcp de temps
(12:40:33) sandrine:
SI on partait sur la premiere?
(12:40:43) yannoo:
et la deuxième est vachement compliquée et peut prendre aussi longtemps
bon apparemment c pas si compliqué le numéro 2
(12:46:19) sandrine:
ok :-)
jte suis
(12:48:58) yannoo:
ok bon... note bien parce que c compliqué quand même
(12:49:32) sandrine:
tu peu me donner les ligne de commande stp
je note tous :-)
juste je doit etre dans quel repertoire?
(12:49:56) yannoo:
ok donc on se retrouve avec le paquet red5_... dans /tmp/, ok?
bien, alors là tu lances: dpkg -x red5_0.6.2-1_all.deb red5
ça va créer un répertoire red5 avec des fichiers dedans (en fait on désempaquette le paquet red5)
puis, du même endroit, tu fais:
mkdir red5/DEBIAN
dpkg -e red5_0.6.2-1_all.deb red5/DEBIAN/
du même endroit où tu es
tu y restes
tu bouges pas :-)
puis tu fais: vi red5/DEBIAN/control et là tu verras une ligne qui dit depends: sun-java5-bin
avec ton curseur, tu vas sur le 5 et tu tapes "r" puis "6"
puis tu sauves, en faisant la touche d'échappement puis ":wq" et entrée
puis tu lances: dpkg -b red5 red5.deb
là tu auras un paquet red5.deb dans /tmp
qui ne dépend plus de java5 mais bien de java6
donc il faut d'abord installer java6: sudo apt-get install sun-java6-bin
puis installer notre  nouveau red5: sudo dpkg -i red5.deb
(12:57:51) sandrine:
Pour résumer du meme endroit c'est à dire /tmp/ je fais dpkg -x red5_0.6.2-1_all.deb red5 ; mkdir red5/DEBIAN ; dpkg -e red5_0.6.2-1_all.deb red5/DEBIAN/ ; vi red5/DEBIAN/control ; r6 ; echap ; :wq ; entrée ; dpkg -b red5 red5.deb ; sudo apt-get install sun-java6-bin ; sudo dpkg -i red5.deb
(12:58:14) yannoo:
oui
sauf que ça tu peux pas le lancer en une seule commande :-)
(12:58:44) sandrine:
oui j'ai juste fais un résumé :-)
(12:59:10) yannoo:
comme on traficotte un peu avec les dépendances de Red5, c possible qu'il y ait des problèmes plus tard. Ça on verra en temps voulu
(12:59:51) sandrine:
sinon si on avait utiliser ubuntu 8.04 on aurait pas eu ce genre de soucis c ça?
(13:00:01) yannoo:
probablement pas...
mais bon, il faudrait vérifier
bref, continuons
sudo mv dokeos-videoconf.war /usr/lib/red5/webapps/
puis on doit créer un fichier de config dans /etc/dokeos
donc:
sudo mkdir /etc/dokeos
puis
sudo vi /etc/dokeos/videoconference-config.xml
(13:01:11) sandrine:
je laisse le repertoire appelé dokeos?s
(13:01:20) yannoo:
oui
pas le choix
jusqu'à ce qu'on reprogramme la vidéoconférence
puis normalement on est dans un éditeur de texte, et on tape "i" pour insérer puis:
<?xml version="1.0" encoding="UTF-8"?>
 <videoconference-config>
 <server-keys>
 <server-key host="10.0.2.15_" key="pass" />
 </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>
où "pass" est le mot de passe qu'on va utiliser dans chamilo pour la config de la videoconf
(13:02:44) sandrine:
juste plutot que d'utiliser vi je peux utiliser nano??
(13:03:56) yannoo:
oui
puis on relance red5 pour qu'il prenne la config en compte
sudo /etc/init.d/red5 restart
maintenant on repasse dans chamilo (on peut déjà lancer l'installation du plugin flash sur la machine qui va utiliser la videoconf, mais comme dans ce cas-ci c la même machine...)
sudo apt-get install flash-plugin-nonfree
pardon c flashplugin-nonfree
(13:06:40) sandrine:
l'installation du plugin flash il faut la faire aussi qd on ne travaille pas sur virtual box mais sur le serveur?
(13:07:02) yannoo:
non, le serveur ne doit pas l'avoir
c juste les machines qui l'utilisent au travers du navigateur
bon et donc on va dans chamilo -> administration -> videoconference -> on remplit les champs
(13:07:34) sandrine:
oui mais la je linstalle sur ma machine virtuelle c ça ?
(13:07:41) yannoo:
oui
(13:07:46) sandrine:
donc sur mon serveur virtuel c ça?
(13:07:51) yannoo:
oui
nom d'hôte 10.0.2.15 (l'ip locale)
(13:08:14) sandrine:
oki
(13:08:15) yannoo:
port du serveur: 1935
mot de passe: "pass"
rtmpt: non (bien que ça ne change pas grand chose ici)
activer le service
puis il faut redémarrer le browser pour qu'il ait flash
le fermer puis le ré-ouvrir quoi
(13:09:36) sandrine:
oki
(13:09:57) sandrine:
juste le browser c'est celui de la virtual box c ça??
(13:10:28) yannoo:
oui
puis je vais dans un cours, je clique sur "classe virtuelle" et mon serveur de videoconf se démarre
cqfd
(13:12:03) sandrine:
ça marche chez toi?
(13:12:04) yannoo:
tu le testes et tu me fais une belle doc?
oui
(13:12:19) sandrine:
Dis moi quelques questions
j'utilise tjrs le browser de la virtual box c ça???
(13:12:49) yannoo:
oui
évidemment c'est un environnement un peu restreint
mais ça prouve le concept
après il y a une série de nouveaux trucs à faire
(13:13:24) sandrine:
Si je veux tester avec deux ordinateurs,
je rentre dans chamilo depuis un autre pc connecter sur le reseau en utilisnant l'ip
et ça marchera ???
(13:14:44) yannoo:
pas dans une virtual box
mais sur ton serveur oui
techniquement c la même démarche
sauf que le faire dans une virtual box te fait gagner du temps pour les essais
(13:15:16) sandrine:
Donc dans la box je ne peux tester qu'une machine avec la videoconference c ça?
(13:15:23) yannoo:
bon, je dois te laisser, si tu as encore des questions je reviens un peu plus tard
oui
c ca
(13:15:50) sandrine:
ET apres pour le mettre sur un serveur l'install difere bcp de ça?
je teste et je prepare une doc
merciiiii

Le lendemain…

(09:42:32) sandrine:
salut yannick et merci pour hier
j'aurai juste 2 question très rapide
voila mes deux questions si tu pouvais y repondre rapido ça serait super
(09:50:10) yannoo:
vas-y
(09:50:17) sandrine:
1ere question : en rentrant l'ip dans mon browser 10.0.2.15 (j'ai la même ip local que toi c'est bizard) et bien je n'arrive pas directement au portail de chamilo mais j'ai une page ou il est ecrit en gros ITS WORKS. Pour accéder à la page d'accueil de d'installation de chamilo j'ai du saisir http://10.0.2.15/index.php cela aura-t-il des conséquence pour le fichier configuration.xml ???
(09:51:57) yannoo:
ah, non ça n'a pas de conséquences
en fait... tu peux le solutionner en retirant index.html
du répertoire de base
(09:52:21) sandrine:
en effaçant le fichier index c ça??
(09:52:31) yannoo:
le index.html, pas le index.php
oui
(09:52:44) sandrine:
En l'effaçant du dossier /var/WWW?
il se situe ou le fichier index.html.
,,,,?
(09:53:44) yannoo:
ben oui, dans /var/www/
(09:53:56) yannoo:
c'est un fichier qui est là *avant* qu'on y mette chamilo
faut juste le virer
(09:54:06) sandrine:
daccord
(09:54:11) sandrine:
2NDE QUESTION
(09:54:43) sandrine:
je suis actuellement en train de regler le pb java5 java6 en suivant à la lettre tes instruction : dpkg -x red5_0.6.2-1_all.deb red5 ; mkdir red5/DEBIAN ; dpkg -e red5_0.6.2-1_all.deb red5/DEBIAN/ ; vi red5/DEBIAN/control ; r6 ; echap ; :wq ; entrée ; dpkg -b red5 red5.deb ; sudo apt-get install sun-java6-bin ; sudo dpkg -i red5.deb
(09:55:10) sandrine:
J'en suis à l'étape sudo apt-get install sun-java6-bin
(09:55:22) sandrine:
et voila ce qui s'affiche dans mon terminal
(09:56:13) yannoo:
c'est parce que t'as essayé d'installer sun-java5-bin avant. Fais-lui simplement un "sudo apt-get remove red5" et tu valides
il te dit qu'il ne peut pas parce que sun-java5-bin doit être installé ou un truc comme ça
pas vrai?
(09:57:12) sandrine:
il me di java6.bin depend de java6.jre
(09:57:46) sandrine:
depend: unixodbc mains ne sera pas installé
(09:58:57) yannoo:
houla
ben alors tu lui fais un "sudo apt-get -f install"
tout seul
essaie
(09:59:24) sandrine:
sans rien a la suite?
(09:59:43) yannoo:
sans rien
c'est une espèce de commande pour nettoyer les bases
(10:00:09) sandrine:
ça menleve un paquet red5
(10:00:25) yannoo:
oui c bien
(10:00:38) sandrine:
oki et je recommence a quelle etape?
dpkg -x red5_0.6.2-1_all.deb red5 ; mkdir red5/DEBIAN ; dpkg -e red5_0.6.2-1_all.deb red5/DEBIAN/ ; vi red5/DEBIAN/control ; r6 ; echap ; :wq ; entrée ; dpkg -b red5 red5.deb ; sudo apt-get install sun-java6-bin ; sudo dpkg -i red5.deb
je reprend par sudo apt-get install sun-java6-bin?
(10:01:56) yannoo:
oui
(10:02:50) sandrine:
ça telecharge apparement c bon
je continue :-)
aie je suis maudite c'est pas vrai !!!!
j'ai toujours connecting to streaming server
(11:20:33) yannoo:
bah écoute, relis mes instructions, c'est pas possible que pour moi ça marche et pas pour toi
(11:21:47) sandrine:
je sais je vais tous reprendre
attend
ça sarrange
jai la fenetre de flash player qui me propose d'accepter ou de refuser
Bon ça a avancer
j'ai la fenetre adobe flash player c'est normal?
(11:33:33) yannoo:
je sais pas
(11:33:51) yannoo:
normalement le flash te demande si tu veux partager ta webcam ou non
(11:34:01) yannoo:
tu lui dis oui et après t'arrives sur la videoconf
(11:34:54) sandrine:
jai di oui et la ya ecris transfert de donner depuis 10.0.2.15
(11:35:19) yannoo:
ok ben je sais pas, normalement il devrait te mettre dans la videoconf
ct le cas pour moi et on a eu exactement la même config
(11:35:32) sandrine:
je reprend tout ça et je vai preparer un tutoreil

Le surlendemain

(12:40:00) sandrine:
je viens te remercier j'ai reussi a faire afficher le module de videoconference dans ma virtual box
l'affichage n'était pas entier mais je crois que c'est normal
je vais preparer un tutoriel
que je mettrai sur le forum
dis moi si je passe maintenant sur un pc serveur, la premiere "couche" comme tu disais sera la même...?
(14:59:37) yannoo:
pour ta question de toute à l'heure, c'est pas vraiment le même procédé pour ton PC
(14:59:40) sandrine:
MERCI encore jai reussi l'install sur virtual box
(14:59:51) yannoo:
pas de problème
(15:00:01) sandrine:
et la en fait je vien d'essayer sur un pc et ça a marcher aussi
(15:00:15) yannoo:
il va falloir définir un "virtual host" (un nom de domaine au moins en interne, au mieux tout à fait public)
oui, ça fonctionne mais juste à partir de ton pc, non?
(15:00:38) sandrine:
voila
(15:00:42) yannoo:
t'as déjà essayé de te connecter depuis une autre machine?
(15:00:54) sandrine:
ya pas de communication possible entre mon serveur et mon pc client
oui
(15:01:06) yannoo:
voilà
en gros maintenant il va falloir être un peu plus détailliste
(15:01:18) sandrine:
depuis mon pc client j'arrive a ouvrir la page de videoconference mais il n'y a pas de communication
(15:01:20) yannoo:
et définir un virtual host
(15:01:24) sandrine:
oki
(15:01:27) yannoo:
oui oui, c logique
(15:01:36) sandrine:
c'est la deuxième couche dont tu me parler?
(15:01:39) yannoo:
oui
mais elle passe au-dessus de la première couche
(15:02:47) sandrine:
je vais regarder
(15:02:57) yannoo:
tu cherches "définir un virtual host apache" et tu devrais trouver des explications un peu partout
(15:03:39) sandrine:
tu pense que ça prendra combien de temps a peu près?
(15:04:10) yannoo:
ben si tu étudies d'abord les virtual hosts et que tu t'exerces un peu (tu peux le faire dans une virtual box aussi, ça), ça prendra 10 minutes
ce serait bien que tu le fasses, parce que sinon c'est mon temps qu'on gaspille
(15:04:58) sandrine:
je comprend je regarderai mais c vrai que comme je suis pas informaticienne des fois je nage un peu
(15:05:05) sandrine:
di moi derniere question
la pour cette deuxieme couche, on va faire une installation en local c ça avec un pc serveur et un pc client donc en travaillant avec des ip local
mais par la suite une installation sur un serveur dédié se fera de la meme façon mais en utilisant les ip internet c ça???
(15:06:48) yannoo:
oui, c'est ça
(15:06:57) yannoo:
dans ta couche client, y a rien qui change
sur ton serveur, par contre, on utilise les IPs publiques ("internet") et les noms publics (ex: video.chamilo.org  au lieu d'une IP)
(15:07:53) sandrine:
oki
pour une installation en local, on utilise aussi les IP public??
(15:09:51) yannoo:
on peut, si l'installation locale est connectée à internet
et qu'il y a effectivement des IP publiques
(15:10:16) sandrine:
Ok
(15:10:22) sandrine:
pour resumer :
(15:10:53) sandrine:
en local ip local (voir eventuellement ip public) sinon pour une installation sur serveur dédié ip public
(15:11:11) yannoo:
oui
(15:13:26) sandrine:
mais pour essayer toute seule tu peu me donner le principe stp
(15:16:10) yannoo:
ben d'abord le chamilo que t'avais installé dans /var/www sur ton virtual box, tu le re-bouges dans un sous-répertoire "chamilo" (donc /var/www/chamilo) puis tu modifies la configuration d'Apache (sur ubuntu tu copies le /etc/apache2/sites-available/default dans un /etc/apache2/sites-available/chamilo.sandrine.org) et tu modifies le fichier lui-même pour que son DocumentRoot (c'est dans le fichier) soit /var/www/chamilo au lieu de /var/www
(15:16:57) sandrine:
je vai mi pencher dessus
(15:17:19) yannoo:
puis tu dois activer le virtual host (ce nouveau fichier) avec "sudo a2ensite chamilo.sandrine.org" puis recharger la config d'Apache (sudo /etc/init.d/apache2 reload) et puis tu dois modifier (sur ton client) le fichier /etc/hosts pour qu'il aie l'adresse ip du serveur, espace, chamilo.sandrine.org
et de là tu dois modifier partout où t'avais l'adresse IP en un nom de domaine
(15:17:36) sandrine:
oki
(15:17:43) yannoo:
(y compris dans la config de la videoconf)
(15:17:45) yannoo:
voilà
(15:17:47) yannoo:
en résumé
(15:17:52) sandrine:
oki
(15:17:56) yannoo:
bonne chance

So, what’s so good about Dokeos videoconference?

July 13, 2008 2 comments

I’m often faced (locally) to the question about our videoconference tool…

It is true that a lot of videoconference tools have appeared recently, even in Open-Source, so we don’t really have a unique marketing argument to defend it. The initial idea behind the videoconference was that, at a time where DimDim and other videoconference tool were still closed-source or didn’t even exist (in mid-2006, that is), we wanted to offer a videoconference tool as a complementary tool for Dokeos, so we asked Sebastian Wagner, a German developer, to do this for us. Sebastian was one of the first developers that we knew developed using the OpenLaszlo language. OpenLaszlo has this unique feature of allowing the developer to use a mix of JavaScript and XML to build applications that can later be “compiled” in the form of Flash plugins *or* a completely DHTML application.

Although sadly DHTML doesn’t manage video streams, at least OpenLaszlo offered a possible future choice, so we went on with that.

It so happened that we weren’t completely satisfied with the work of Sebastian, and there was a lot of misunderstanding, and we finally decided to end our collaboration and start to code on top of what Sebastian had built. Arnaud Ligot and myself worked a lot to clean the code and make it more extensible, while Sebastian went his own way with the same original code to build a project called OpenMeeting, which should still be alive today (I haven’t checked for a while).

Instead of adding more features to the tool, we decided to remove some of them and to build on the reliability of the tool, which has now brought us to a solution that is very stable, uses the Red5 streaming much more efficiently and is easier to work on.

So, what are these things that make the Dokeos videoconference so special? Well, I can certainly list a few:

  1. reliable/stable
  2. linked to course contents (you can add images/slides in your normal Dokeos course and then use it inside the videoconference)
  3. 2 conference types: conference (1 speaker, many listeners) and virtual meeting (4 people together as speakers and listeners)
  4. each course has one videoconference room and one virtual meeting room
  5. written chat
  6. slides are writable (you can add text or marks to the slide on screen)
  7. controllable access to the streaming server (by portal)
  8. totally free if you decide to install it and manage it yourself
  9. totally open-source (resources, code, compiled versions)
  10. the *only* thing you need to use the tool is a recent browser with the Flash plugin, and pretty much any desktop system has that
  11. you can use a special mode to make the signal go through port 80, avoiding most problems related to firewalls

Apart from that, there are many features that we might need to add in the future, if our clients would like to finance/contribute to that, like:

  1. sharing the voice/video with a member of the public for a limited time
  2. web browsing
  3. recording of the whole videoconference sequence
  4. video-playing
  5. download of slides by the public
  6. surveys

Some of these features were actually available in the first videoconference tool, but we had to remove them for lack of support (and so lack of stability).

So if you ask me now, what’s so good about the Dokeos videoconference tool, I’m pretty much going to tell you:

  • you can use it with whichever system is more practical for you
  • it is reliable and it looks good
  • you can do most of what you would like to do with a videoconference tool
  • it can go through your company’s firewall
  • its link to a Dokeos course is smart

Dokeos in Peru

In case it would be of any interest to you, I am currently developing a kind of “branch” of Dokeos (although nothing legally-binding about the branch stuff) in Latin America, and more specifically in Peru.

Peru is still what I would call a developing country, so at the same time it is hard to get used to (living there) and possibly excellent for future business opportunities. Of course, “developing” comes from “development”, and “development” means investments, which means a lot of money could be made (theoretically) from being in the right place at the right time.

Although I feel I’m still a bit ahead of “the right time”, I’ve invested a considerable amount of my time in developing the presence of Dokeos locally, and until now (about a year on) it’s not been very rewarding.

As I’m writing these lines, however, I just finished my first installation of Dokeos, or rather its videoconference module, on a Fedora 7 system. It ended up working nicely, but there wasn’t really any other expected outcome.

However, the interesting bit here is that it’s my first contract in Peru (most of my work so far has been a continuation of my work in Belgium) and it comes with a lot of simultaneous requests for information. I don’t know exactly why it’s all starting at the same time, but it is. So I might only have finished my first Peruvian job, but I’m still with 4 very serious leads for large-scale installations and training sessions, and a few more of unqualified leads, plus a bunch of people that know they can act as resellers of my (or should I say “our” as we’re a company of three now) services and take a nice commission.

So, today I might only be up to my first install, yet I am really positive about the future!

One of my serious leads is actually for software development, and is a request for a quote about the development of an add-on to the videoconference tool that will enable teachers to pass the video and voice to the user to ask a question. The feature has been requested a few times in the past, but we never managed to suggest a development time that satisfied the customers. However, now we have a much more reliable videoconferencing system (thanks to Arnaud Ligot and Frédéric Burlet), this might be much easier to work on (and so, cheaper). If you have an interest in this feature and would like to contribute to make it possible, just give me a shout. Otherwise, there is still a possibility that this client will not be able to finance the development and that we just leave it for another client, later on…

It always surprises me, though, how people are happy to pay 10u a year for a finished product, but reluctant to pay 2u for the development of the only missing feature in a product that costs 1u… (values provided for demonstration purposes, it doesn’t match anything).

Well, anyway, the point of this article was to let you know a little bit about my stuff, locally. The next articles will be a bunch of incredibly technical stuff, so this was just a big breath before the dive.

Installing the videoconference – missing data in documentation

We just realised that through an unfortunate series of events, I had removed a line that Arnaud had added in the documentation on the videoconference installation process. It was missing the part where you download the dokeos-conference.war file and copy it to your webapps directory. The audiorecording is there, but not the videoconference.

In any case, the documentation on our website is correct (except one occurence of the name of the file but that’s obvious) and we have updated our code sources:

http://www.dokeos.com/doc/installation_guide.html

Sorry about that…

Added documentation for Red5 server installation

Frédéric Burlet, the guy behind the Red5 server mods for the Dokeos videoconference, has recently added a short documentation to explain the process of installing the Red5 server on a… server.

I’m adding it as is here, and I already added the file inside the documentation/ folder in Dokeos 1.8.5 stable (to come within a few days).

Dokeos Red5 applications
========================

Table of contents
—————–
1. Installation
1.1. Red5
1.2. Dokeos Red5 Application

2. Configuration

2.1. How does it work ?
2.2. Recorder
2.3. VideoConference

3. Known issues and improvments

==

1. Installation

1.1. Red5

To install red5, please check the documentation related to your platform on the red5 website[1]. Below, we will suppose that red5 home
directory is /opt/red5. If you run red5 under MS-Windows, change /opt/red5 by your installation directory, for example: D:\applications\red5.
From now on, we will refer to red5 home directory by $RED5_HOME.

[1] http://osflash.org/red5

1.2. Dokeos Red5 Application

To install either the recorder or the videoconference application, the only step that needs to be done is to copy the .war file in the $RED5_HOME/webapps directory.
You have to restart red5 to get the applications deployed inside red5. You can install both applications inside red5. They can run together
inside the same server without conflict.

2. Configuration

2.1. How does it work ?

War files are shipped with a bunch of default configuration files. Normally, you should never touch the files in the war file.
Upon startup, the applications are checking if any external configuration file can be found. If not, the application will be loading
the configuration files located in the war file, thus loading the default configuration.

Each application has one main configuration file that the administrator can customize. The location and the name of this configuration file can
be found in a resource file in the war file. This resource file is called either videoconference.propeties or recorder.properties.

One of the well-known issue here is that you have to recompile the application with other settings if you want to change
the configuration location and name. We will find a better solution for a future release.

The main configuration file is an XML file. Currently, there is no validation of this XML. It will probably be supported in a future release.

2.2. Recorder

The recorder configuration file is named recorder-config.xml. It has the following format:

<?xml version=”1.0″ encoding=”UTF-8″?>
<recorder-config>
<video-streams-dir>/opt/dokeos/recorded-streams</video-streams-dir>
<vod-streams-dir>/opt/dokeos/vod-streams</vod-streams-dir>
</recorder-config>

video-streams-dir is the directory where the streams will be recorded.
vod-streams-dir is the directory where the streams will be found for playback.

We know the name of the parameters have not been chosen well. They will probably be changed in a future release.

2.3. Videoconference

The videoconference configuration file is named videoconference-config.xml. It has the following format:

<?xml version=”1.0″ encoding=”UTF-8″?>
<videoconference-config>
<server-keys>
<server-key host=”__test-cblue.dokeos.com_” key=”0123456789abcdef0123456789abcdef” />
</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>

server-keys contains a list of server-key tags.
A server-key is a parameter used for authentication. It helps in determining whether the client connecting to the server is authorized to connect to the server by sharing a common key. For a given server-key, you provide the hostname and the shared key. The host name has currently a very specific format. It must start with two __ and end with one _. This will probably be improved in the future.

moderator-check-on-whiteboard defines whether only the teacher or all people in the room have access to the whiteboard. This parameter is deprecated in videoconference 2.0.0. The value can be true or false. Any other strings different from true are considered false.

Video-streams-dir and vod-streams-dir are not used at all. See recorder config for more info.

3. Known issues and possible improvements

We are not living in a perfect world… Even if we make a lot of efforts to get an application flexible and easy to use, we still have a lot of
improvements to do. Here is a list of improvment to be done for configuration handling:

* Find a solution to get external config directory platform independant.
* Rename parameters video-streams-dir and vod-streams-dir to a more explicit name.
* Check whether hostname can be stripped of these underscores.
* Remove or integrate moderator-check-on-whiteboard.
* Add XML validation of the config file.

Preparing Dokeos 1.8.5 RC1

Next week, we will be releasing an RC1 for Dokeos 1.8.5. The main targets for this version are:

  • fixing SCORM (import, export and reporting)
  • fixing audio recorder and some videoconference minor bugs
  • improving the templating system
  • adding repetitive events to the agenda (and iCal import, as well)

I’m quite annoyed because I will have to update the database structure to allow for repetitive events, but we’re still before RC1 so it is still an “acceptable” change, and apparently it’s been said it would be in 1.8.5, so…

Videoconference 2.0 released

March 10, 2008 2 comments

That’s it, you can officially download the videoconference tool, in its second version, from the Dokeos website’s download page

Dokeos videoconference 2.0

The interface is available in French, English, Spanish and German (and possibly others if you know where to download the translation files).

This tool is embedded into Dokeos, so you can’t (easily) use it without a Dokeos 1.8.4 install.

New videoconference tool on its way

February 5, 2008 Leave a comment

I’ve been pretty busy the latest couple of days developing the new videoconference tool to improve its CSS configuration. It’s scheduled to be in production with Dokeos 1.8.5, but so far the main bits have been put together in a one-on-one mode only. I thought giving a little preview might be of some interest.

Videoconference 2 preview

Basically, we have reached a point where it is fully working, but the styling is only there for one-on-one and not for one-to-many or meeting-of-four. So there’s still enough work before 1.8.5, but it’s mainly a question of styling.

In response to a question I’ve been asked, Dokeos does not provide a DimDim integration (as does Moodle) because we have tried to install DimDim and it was even harder than the Dokeos videoconference tool. Also, not being entirely clear over its licensing terms, we preferred no to base our tool on DimDim. But we have thought about it for some time…

For me, however, getting to this point means I can finally get back to work on the main new features and bugfixes of Dokeos 1.8.5 ! Hurrah!

Tips and tricks for using pseudo CSS in OpenLaszlo 4

January 28, 2008 Leave a comment

Having had to deal with this stuff lately with the Dokeos videoconference development, I thought it might be useful. The mainstream page is located on the Dokeos wiki, so in the following weeks, I recommend, looking at it over there. Here goes…

The new version of the videoconference tool (to be out at the same time as Dokeos 1.8.5) can be theme-modified via CSS. Here are some tips and tricks to do this, as it is not completely using the CSS standards, but is largely inspired by them. You will need the videoconference tool sources (downloadable from SVN) in order to modify the style, and then you will need to recompile the application with OpenLaszlo 4, as the CSS is statically bound.


Tips and tricks:

  • A CSS can be loaded from the main .lzx file by using the following syntax, right after the <canvas> tag opening:
	 <stylesheet src="resources/css/videoconf.css" />
  • The CSS cannot dictate the canvas dimensions. These have to be defined in the <canvas> tag attributes width and height.
  • When using a CSS, the property to be used has to be bound to the object by defining the object in t}e CSS with either:
    • in the case of an object having a specific tagname:
		 objectname{
		   property: xx;
		 }
    • in the case of having an id attribute in the object:
		 #objectid{
		   property: xx;
		 }
    • in the case of having a name attribute in the object:
		 [name='objectname']{
		   property: xx;
		 }
  • Underscores (_) cannot be used in object names or ids or name attributes because this will cause OpenLaszlo to break upon compilation
  • If you want do define a ‘visible’ attribute via CSS, you have to define this attribute last in the tag declaration, and you have to use a value of 0 or 1 (you cannot use true or false). The CSS property used could be ‘display’ (that sounds the closest to normal CSS)
  • Property values should be expressed without units (34 and not 34px). They will be considered as pixels.
  • If you want to load a specific resource (external image or something similar) through CSS, use the ‘source’ attribute in the OpenLaszlo object declaration, not the ‘resource’ attribute, which will want to load a previously-declared resource.
  • Resources “frame” tags do not appear to be an acceptable place where to put an “id” attribute…

Overall, the integration of CSS-style design is a very big improvements, as it provides an easy way for designers to contribute new styles without having to delve into the OpenLaszlo code.

Here is a link to the official documentation of OpenLaszlo 4 and CSS