Archive

Archive for July, 2010

Mounting shared Linux disk from inside windows in VirtualBox

Just as a reminder:

  • use the disk sharing icon at the bottom of he VirtualBox window to setup a shared directory (let’s say you give it a name of “shareddir”)
  • go inside the VirtualBox window
  • if you haven’t installed the VirtualBox Guest Additions (commonly referred to as GA), please do so from the “Devices” menu of your Virtual Box window
  • open a terminal (Execute cmd)
  • type “net use x: \\vboxsrv\shareddir”

Seldom, this might still trigger a

System error 67 has occured. The network name cannot be found

In this case, you can use another technique: My Computer -> Network Places -> Add a network place -> Next -> Next -> Browse -> Entire Network (+ sign) -> VirtualBox Shared Folders (+ sign) -> \\VBOXSRV\shareddir -> OK -> Next -> give a name -> Next -> Finish

Application Packaging Standard (APS) explicado

July 28, 2010 1 comment

La Application Packaging Standard (APS) es una organización sin fines de lucro, el cual propone un estándar que provee una serie de especificaciones para el manejo de Aplicaciones web (Drupal, Joomla, phpBB, etc) en un webhosting.

Estas especificaciones son realizadas tanto en las Aplicaciones web como en los Proveedores de hosting. El resultado de estas especificaciones es el Software as a Service (SaaS) un modelo de negocio diferente al modelo capitalista.

¿
Qué es el SaaS?

El SaaS es un modelo de distribución de software (Software-Distribution-Model) donde las Aplicaciones están disponibles como un servicio de un Webhosting y accedidos por usuarios finales vía un navegador. Algo similar a una herramienta utilizada por CPanel llamado Fantastico.

Este modelo difiere del modelo tradicional (donde el usuario final compra un sofware y lo instala por su cuenta) pues ofrece un catálogo de software disponible a instalar para el usuario final. El usuario ahora debe pensar en su negocio y no en la herramienta que utilizará.

Este estándar es bastante atractivo para desarrolladores de Aplicaciones Open Source pues:

  1. Al tener el Software certificado por APS podemos agregarlo a su catálogo.
  2. Al estar dentro de este catálogo. Los Proveedores de hosting pueden ofrecer nuestro Software a sus clientes tan solo agregando nuestro paquete a la lista que ellos ofrecen.
  3. El Software se vuelve más popular, puede llegar a más gente!
  4. Existe también un Plugin para Eclipse para facilitar la integración de nuestro Software con los estándares de APS.

A su vez también beneficia a los Proveedores de hosting:

  1. Al implementar las especificaciones se puede obtener no 1 si no todos los paquetes que han sido certificados por APS.
  2. El Proveedor se diferencia de la competencia indicando que también está certificado por APS y ofrece todo el catálogo a los usuarios (si así lo desea).

Lo usuarios finales por su parte:

  1. Se benefician de una instalación rápida y sin complicaciones.
  2. Tienen a su disposición todo un catálogo de software a usar rápidamente.
  3. Tendrán todas sus aplicaciones en un solo Data Center.

Existen ya paquetes certificados como: Drupal, Magento, Joomla, phpBB, WordPress, phplist, etc.

Para más información visiten: http://www.apsstandard.org

Merci à ceux qui font la différence

July 26, 2010 3 comments

Aujourd’hui, alors que je suis occupé à m’acharner sur les derniers bugs importants de la version 1.8.7.1 de Chamilo, je tenais à prendre 5 minutes pour écrire un petit article pour un membre important de la communauté de Chamilo qui nous quittera d’ici peu (obligations financières obligent). Il a commencé son stage chez 2i2l, en France, en mai 2010.

En seulement 3 mois qu’aura duré son stage, il a analysé divers projets, choisi Chamilo, commencé à s’intégrer à la communauté, participé sur le forum, sur le canal IRC, posé les bonnes questions (aux bonnes personnes), rédigé un manuel du formateur et un manuel de l’administrateur (depuis zéro puisque la seule documentation que nous avions était celle de D0ke0s(tm) sous licence fermée) et enfin nous a maintenu informés sur son activité hebdomadaire à travers de son blog. Si c’est en mettant les mains dans le cambouis qu’on fait mieux avancer les choses, je suis certain qu’Anaël Boulier en a encore plein les mains! ;-)

À la fin de ce mois, il devra nous quitter (son stage se termine) et rediriger ses activités vers un secteur beaucoup moins passionant que celui de l’e-learning, faute d’avoir trouvé un emploi valorisant dans ce secteur. Avec lui, c’est une grosse partie de la communauté francophone derrière Chamilo qui nous quitte (même si nous avons Anna, David, Simon, Sandrine et d’autres pour nous soutenir).

Je voudrais saluer son effort (ainsi que 2i2l pour lui avoir confié cette mission) et j’espère, si vous me lisez, que vous travaillez en France dans l’e-learning, que vous pourrez l’aider à trouver une activité sympa orientée vers la consultance e-learning, qui lui permette de continuer sur cette voie.

Anaël, merci!

Par la même occasion, je remercie tous ceux qui font vraiment de Chamilo ce que je souhaitais que ce soit: un vrai projet de logiciel libre, un projet partagé où tous participent de leur mieux pour aider les autres et s’aider eux-mêmes. C’est ça qui fait la différence avec d’autres projets, et c’est ça qui fait qu’on se sente soutenu et qu’on continue tous d’avancer ensemble!

Correo de usuarios: No encuentro D0cke0s 1.8.6.2

Estimado lector,

Para su información, nos han pedido (acompañado por amenazas) no usar más el nombre del software que escribiré à continuación com “D0cke0s” para evitar vinculación por motores de búsqueda y evitar así dañar a la reputación de esta marca que sigue ayudando, de su lado, a la mejora de la educación a nivel internacional. Cabe mencionar que este software es parte de nuestro pasado y la raís del sistema Chamilo (a lo menos en su rama 1.*), por lo que igual sin deseo alguno de dañar a la marca, nos es imposible hacer abstracción completa del uso de este nombre si es que queremos seguir informando y ayudando a nuestros usuarios. Esperamos nuestros amables lectores entenderán esta decisión. Ahora al punto…

Nuestro usuario Daniel nos escribe:

¿Yannick, de donde puedo obtener esa versión 1.8.6.2?

Yo le había explicado que la versión 1.8.6.2 de Chamilo tenía una mejora importante para el, pero habíamos estado hablando de D0cke0s 1.8.6.1, por lo que Daniel se confundió un poco y me dijo:

En la página sigue la 1.8.6.1.

De ahí me di cuenta que el se refería a la página de D0cke0s, y yo a la de Chamilo, pero que el no conocía nuestro nuevo proyecto. Mi respuesta sigue:

Hola Daniel,

Es una larga historia pero una mayoría del equipo de desarrollo (18 sobre 20) han salido del proyecto D0cke0s para lanzar a Chamilo, que es una versión más respetuosa de la “libertad” del software, en el sentido que se queda más abierta y hace una distinción entre el software y las empresas que lo desarrollan.

Si investigas en la web acerca de Chamilo, encontrarás muchas opiniones objetivas de gente que ha podido compararla con la anterior.

Nosotros (anteriormente la empresa D0cke0s Latinoamérica, ahora renombrada en BeezNest Latino), nos hemos separado de la empresa que había lanzado D0cke0s también. Seguimos proveyendo servicios de soporte a nuestros clientes sobre esta plataforma, pero estamos desarrollando activamente Chamilo y ya no la anterior. Como, de los 18 que pasaron a Chamilo, 8 desarrolladores eran nuestros y muchos de los demás están trabajando en la versión futura 2.0 de Chamilo, ahora estamos apostando para Chamilo y ya no vemos futuro en la otra (si consultas el sitio web, te darás cuenta que son todas puras promesas de lo que harán a futuro o transformación de lo que ya habían anunciado anteriormente, sin nada novedoso realmente *hecho* desde Septiembre del año 2009, donde dejamos de desarrollar para ellos).

Estuvimos por un tiempo dudando nosotros mismos del futuro de nuestro proyecto (lanzándolo oficialmente en Enero del 2010) pero con 6 meses, 13000 usuarios en nuestro campus abierto, 200 contribudores en nuestros foros y más de 200 instalaciones de Chamilo en el mundo (y cada semana tenemos una buena noticia de un portal en otra extremidad del mundo – como esta semana en China y la anterior en Kenya), ya no estamos dudando.

Puedes encontrar toda la información que requieras en http://www.chamilo.org/

Saludos cordiales,

Yannick

Me pareció interesante recuperar este intercambio por correo, ya que muchos nos preguntan que pasó. Cabe mencionar que uno de los dos que se quedaron en el otro proyecto no fue invitado, por tener una historia de malas prácticas de programación que aumentaron la inestabilidad del proyecto en el pasado.

Finalmente, para los que siguen bien, cuando anunciamos nuestra versión 1.8.7 para Mayo del 2010 (lo que logramos), D0cke0s anunció en su sitio web una supuesta versión 1.8.6.2 (que según algunas fuentes hubiera podido ser una versión copiada de Chamilo 1.8.6.2), pero cuando no se cumplió este anuncio, disapareció misteriosamente del sitio web… Por lo tanto, estamos esperando anxiosamente noticias de D0cke0s 2.0, que supuestamente sale dentro de 79 días (hay un contador de días en su página).

Add some live stream to your LMS with Livestream and Chamilo

We’ve had a lot of teachers ask us for streaming capabilities and, over time, we’ve grown tired of setting up videoconference servers for a few bucks a month because teachers just can’t afford the budget.

While there are many tools around to do video streaming or classroom conferences, most of the operations to set them up seem to be a pain in the neck for most people desperately wanting to benefit from these features, and while Chamilo is preparing its first tests with BigBlueButton as a free, open-source videoconference classroom environment, this might still take a while to come out so I thought I’d just write a quick article to help you out on the way to an easy and free videoconference feature in Chamilo. And after all, what we most need is a bunch of best practices to help us get more productive and creative and, as such, improve teaching and learning.

First of all, you will need two accounts: one on http://www.livestream.com, and one on a Chamilo campus. For the second one, you can use a free account on http://campus.chamilo.org. Then you will need to create a Chamilo course, then to get your streaming channel on livestream, get the links and edit your course homepage. Finally, you will be able to enjoy streaming inside your course homepage. Let’s see how that can be done in 2 easy steps…

Creating a Livestream ™ account

  1. Go to http://livestream.com
  2. Click the Sign Up button
  3. Select “Broadcast”
  4. Select a short channel name (e.g. my-course)
  5. Select “Free account”
  6. Fill the remaining forms
  7. You have three options (which I recommend you try in time) to broadcast your video. For now, just pick livestream Webcaster
  8. In the popup window, click “Go live”. You will be starting your streaming. Leave it there.
  9. In the previous window, click the big yellow “My Account” button, then press “skip, go to my account”
  10. On your account page, you will see your channel in a list of channels. Click the “Watch” button.
  11. You get on a new page. Click the “Share” button at the bottom of the stream to see an “embed” code. Copy this code.

This was the most difficult bit. Now let’s move on.

Creating a Chamilo account

  1. Go to http://campus.chamilo.org
  2. Click the “Register” link in the right menu
  3. Fill the form selecting the “Create training” option, and click “Register”
  4. Fill the course creation form (only the title is necessary) and click “Create”
  5. On the result page, click on the course name to go to its homepage
  6. Click the pencil icon at the bottom of the introduction section
  7. Click the “Source” icon on the rightmost side of the editor icons area
  8. Paste the embed code you had on the other side
  9. Save
  10. Click on the “Student view” link to see the results

Adding a chat box

If you want to have a live chat box, you can use the Chamilo chat tool popup, of course, but if you’d like something a bit more integrated into the Livestream style, you can also go to your livestream channel page (the same page from where you copied the “embed” code), scroll down until you find the “Chat widget” link, and copy this one.

Edit your course introduction section again, click the source icon again, and paste the chat embed code after the code you pasted previously.

Improving the format

Now you might want to make sure these boxes show well aligned one next to the other. You can do that by re-editing the introduction section and adding a <table> tag with a fixed height (let’s say 340px). This would make the source of your introduction section look something like this:

<table>
  <tr>
    <td width="500" height="340"><embed ... - your streaming code in multiple lines here - ... ></td>
    <td width="300" height="340"><embed ... - your chat code in multiple lines here - ...></td>
  </tr>
</table>

Adding auto-play

Finally, you might want to use the auto-play feature to start the stream automatically…

Go back to your livestream channel page, click “Share” then click on “Customize” next to your streaming embed code.

You will see a series of options appear. Click the checkbox before “Auto Play” (as shown), then copy the “Link” code again and replace the old code inside your Chamilo course introduction page by this new code.

That’s it. Now any student connecting to your Chamilo course will see the live stream. In case there is no live stream happening, students will get access, through the click of the streaming area, to the library of previous streams you have recorded…

Extras from Livestream(tm)

Livestream(tm) has a lot more interesting features, like different recording systems, a setup for quality of streaming, the possibility to manage a library of recordings, etc. You will have to discover them by yourself, but you will always be able to reuse them inside your Chamilo.

Have a nice live teaching experience with Chamilo!

Consulting services

BeezNest is a dynamic knowledge management services company with offices in Europe and America, which specializes in corporate e-learning. If you would like us to help you understand what e-learning is and how to make a beneficial use of its resources, please contact us at info@beeznest.com.

Cambiar el url de tu sitio drupal

July 21, 2010 4 comments

Imaginamos que tienes 3 sitios corriendo sobre una misma instalacion Drupal 6 con multi-sites (sitio1.com, sitio2.com, sitio3.com en su directorio /sites) y quieres cambiar sitio3.com por ejemplo1.com.

En el pasado hubieras renombrado el directorio, ejecutado algunas consultas SQL cuidadosamente o cambiado manualmente todos los links que apuntan a ese nombre para todos tus contenidos (trabajo muy tedioso, con posibilidad de equivocarse en el camino).

Afortunadamente existe un módulo que te ahorrará todo este trabajo, con este módulo tú solo renombras el directorio, ejecutas el modulo (con 2 entradas de datos, nombres del sitio antiguo y actual) y se ejecutará automaticamente todas las consultas SQL para ti. Este post te explicará como realizar este proceso con éxito.

Si se desea migrar el sitio de un servidor a otro, manteniendo toda la configuracion y contenido, pero cambiar el nombre del sitio se debe realizar el siguiente proceso, si se quiere solo cambiar el nombre sin migrar pasar al segundo punto:

Copiar el sitio de un servidor a otro

Antes de seguir los pasos para cambiar el nombre de tu sitio, debes hacer una copia de todo el sitio incluido su configuración (virtual host) al servidor de destino, es decir que se debe mantener el nombre del sitio de origen (el nombre se cambiará luego) con la misma información de la base de datos:

  • Hacer un backup de tu base de datos de tu servidor origen
  • Copiar un drupal en el directorio web de tu servidor destino
  • Copiar los modulos, temas,  y archivo de configuracion (settings.php, modificar si es necesario los datos de tu conexion a la bd) de tu sitio origen dentro del sitio destino (mantener por ahora el mismo nombre de tu sitio, eso se cambiara luego).
  • Configuracion del virtual host (mantener el mismo nombre del sitio, eso se cambiara luego)
  • Restaurar los datos de la base de datos del servidor origen al servidor destino, con el mismo nombre de la bd que indique la configuracion del sitio origen (settings.php)
  • Ingresar al sitio con el mismo nombre desde el servidor destino en el navegador.(Debe mostrarse igual, la diferencia es que ahora se muestra desde el servidor destino)
  • Ahora seguir los pasos para cambiar el nombre de la direccion url del sitio.

Ahora se cambiará el nombre del sitio usando el módulo “Site Directory Migrate”, descargarlo desde http://drupal.org/project/sitedir_migrate y copiar la carpeta dentro de /sites/all/modules/ de tu instalacion drupal, seguir los siguientes pasos:

Cambiar el URL del sitio

  1. Haz un backup de tu base de datos y de su sitio (por seguridad) Nota: Es recomendable usar un tema limpio que no ha sido modificada para tener un mejor resultado (se recomienda cambiar de tema, usar garland), antes de pasar al paso siguiente cambiar el tema del sitio (cambiarlo por garland).
  2. Renombra tu sitio /sites/{tu sitio url} a la nueva dirección /sites/{tu nueva dirección}
  3. Modifica apropiadamente tu configuración del servidor (virtual host) que coincida con la nueva dirección url
  4. Ir a tu nueva dirección de tu sitio en tu navegador
  5. Habilita el módulo sitedir_migrate y sus módulos asociados.
  6. Ir a {tu nuevo sitio url}/admin/settings/sitedir_migrate
  7. Ingrese tu antiguo y tu nuevo directorio de tu sitio, no incluye “/sites/” (verificar que los dos datos sean correctos)
  8. Click en Enviar(Submit).
  9. Reestablecer el tema que tenía tu sitio con la dirección antigua
  10. Deshabilitar el módulo sitedir_migrate, no los necesitas tenerlo habilitado
Categories: Drupal, php, Spanish, técnico Tags: , ,

Howto install Chamilo with lighttpd on Ubuntu 10.04 Lucid Lynx

Let’s say you want to install Chamilo on your netbook for a demo… Because Apache uses a lot of memory (and so does MySQL), it is generally considered a good practice to try and use something a bit lighter for your web server

This procedure might also work, with a few minor alterations, for OLPC’s XO laptops. The operating system of these little marvels are RedHat based, so you will have to use yum instead of apt, but the rest remains relatively similar.

An important source of information for the first part of this article is Martin Drake’s blog article about how to install and configure lighttpd on Ubuntu 10.04.

So if you want details, go to Martin’s blog. I’m going to head straight to the point and make a résumé of the commands you need to launch…

  • sudo aptitude update
  • sudo aptitude install lighttpd php5-cgi mysql-server mysql-client php5-gd mercurial php5-mysql
  • cd /var/www
  • sudo mkdir chamilo
  • sudo chmod -r 0777 chamilo

The following command might take a very long time (usually above 10 minutes to download), so maybe you want to use CTRL+SHIFT+T to launch it in a separate terminal.

  • hg clone https://classic.chamilo.googlecode.com/hg/ chamilo
  • sudo /etc/init.d/lighttpd force-reload
  • lighttpd-enable-mod simple-vhost
  • cd /etc/lighttpd/
  • sudo vim lighttpd.conf

copy paste this at the end:

$HTTP["host"] != "my.chamilo.mob" {
  server.document-root = "/var/www/"
  server.errorlog = "/var/log/lighttpd/error.log"
  accesslog.filename = "/var/log/lighttpd/access.log",
  server.error-handler-404 = "/index.php"
}
$HTTP["host"] == "my.chamilo.mob" {
  server.document-root = "/var/www/chamilo/"
  server.errorlog = "/var/log/lighttpd/my.chamilo.mob.error.log"
  accesslog.filename = "/var/log/lighttpd/my.chamilo.mob.access.log",
  server.error-handler-404 = "/index.php"
}
  • sudo /etc/init.d/lighttpd force-reload
  • sudo vim /etc/hosts

copy-paste this:

127.0.0.1 my.chamilo.mob

Load http://my.chamilo.mob in your web browser and follow the normal installation procedure of Chamilo.

That’s it, you’re running Chamilo on lighttpd now! Congrats.

Drupal translations: a convenient process

July 19, 2010 1 comment

As Drupal is moving to the localization server localize.drupal.org, here’s a small tip that took me a little while to find, but can be very useful in the end, as it will allow you to contribute your translations back to the Drupal community more efficiently.

The problem

Let’s say you install a module in your own Drupal website. However, this module is not fully translated for whatever language your website is in. You can, obviously, use Drupal’s translation interface on your own website and translate from here whatever is missing. The problem is: that won’t benefit to the Drupal community. So then you might think about going to localize.drupal.org, translating here whatever strings you need to translate, and then doing an export to a .po file of the module translation strings. The problem would be that right after you’re done translating on localize.drupal.org, your strings will need to wait for the approbation of a moderator before they can be exported to a .po file. So, how can you translate those strings once, have them immediately installed in your own Drupal website and at the same time give the translations to the community ?

The solution

Here is how to achieve this:

  • First, go to localize.drupal.org and Export the module with the strings you need to translate in a .po file, using “All in one file” as an option
  • Second, translate the strings in the .po file you just downloaded (using a program like PoEdit can be convenient)
  • Finally, import the .po file BOTH in your own Drupal installation AND in localize.drupal.org: you will immediately have the strings translated in your own Drupal installation without having to wait for a moderator approval, and at the same time your translations will be uploaded to localize.drupal.org, helping the community

Happy translating!

Categories: Drupal, English Tags: ,

Chamilo P@rty 2010, a success

The 7th of July of 2010 will definitely be a date to remember for the Latin American community of Chamilo.

Chamilo P@rty only lasted 2h30, yet we had time to

  • discuss open-source tools to manage the education process (by Yannick Warnier, Director, BeezNest) [slides]
  • present the challenges we face everyday in e-learning (by Sergio Correa, Director, NO2) [slides]
  • explain the Chamilo association and the development projects for 1.8 (Yannick Warnier) [slides]
  • present the new tools in Chamilo 1.8.7 (by Carlos Vargas, independent)
  • explain the development and usage of the Drupal – Chamilo module (by Fernando P. García, Drupal Association) [slides]

The context of the Expoelearning event, mostly oriented to businesses and private institutions, gave us a great environment and allowed us to meet a lot of corporate representatives, a type of users or potential users that we generally fail to get interested into our software.

BeezNest Latino represented the Chamilo Association (through its secretary) and the Chamilo community of Peru throughout the event with 6 staff members helping all visitors to find relevant information about Chamilo.

The event resulted in an increase in 10% of the website visits and a lot of inquiries about Chamilo.

You can check more pictures of the event on Picasa. Finally, for the Spanish speakers among you, we managed to record one hour of video about the new features in Chamilo 1.8.7.