Moodle Language Lab
Introduction
This module is dependent on two server technologies apart from Moodle. I will attempt to describe as best I can how to install both the Red5 Server and the Palabre server. These are based on Ubuntu 10.04 LTS as this is the server oohoo.biz uses. Generally speaking, these instructions should work on most linux distributions. No instructions will be provided (yet) for Windows based servers as they are straight forward.
Red5 Installation
These are based on instructions by Nicky Hajal from the following site: http://tumbledesign.com/how-to-install-red5-0-9-on-ubuntu-10-04-lts/ However, there are differences and I strongly suggest you follow these steps.
Make sure that you have the latest updates for your ubuntu server. I am using Ubuntu Server 10.04 LTS 64 Bit. To do this follow these steps.
sudo apt-get update sudo apt-get upgrade
ONce this is done, you have to make sure that the following repositories are available. If not, add them to /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu lucid partner deb-src http://archive.canonical.com/ubuntu lucid partner
At the command prompt type the following
sudo apt-get update
Install the following packages
sudo apt-get install java-package sudo apt-get install sun-java6-jdk sudo apt-get install sun-java6-jre
NOTE: Nicky also installs ant and subversion. However, these two packages are never used during the Red5 install process. Therefore, I am omitting these two steps.
Download Red5 version 0.8. Nicky installs version 0.9. This is not a recommended version for Language Lab.
wget http://trac.red5.org/downloads/0_8/red5-0.8.0.tar.gz
sudo mkdir /usr/share/red5 sudo cp red5-0.8.0.tar.gz /usr/share/red5 cd /usr/share/red5 sudo tar xvfz red5-0.8.0.tar.gz
You can start Red5 by typing the following command.
sudo sh red5.sh
In your browser, goto http://your-red5-server-address:5080/ You should see the Red5 default page.
This is not ideal because as soon as you press CTRL-c to return to the command prompt, Red5 turns off. You also don't want to log in to your server everytime you reboot just to turn on Red5. In order to have Red5 start as a "service" when ever you boot, do the following.
Create a file based on this boot script: http://oohoo.biz/red5 in your home directory. Then follow these steps.
sudo mv red5 /etc/init.d/ sudo chmod a+x /etc/init.d/red5
Start the server by typing the following
sudo /etc/init.d/red5 restart
You can now use CTRL-c to returm to the command prompt without turning off Red5. However, this script will not boot when you reboot your server. You must perform this final step.
sudo update-rc.d red5 defaults
Now reboot your server to make sure Red5 starts
sudo reboot
Installing OflaDemo
Once Red5 is installed, you still need to install OflaDemo in order for the language lab to work.
Goto your Red5 server with a browser. http://your-red5-server-address:5080/
Click on "Click here to install demos". In the table of demos, click on OflaDemo and then the Install button.
If it fails to install try changing the permissions on the following folder
sudo chmod 775 -R /usr/share/red5/webapps
Try installing again.
You should now have a fully configured and functional Red5 Server.
Installing Palabre
Coming soon. (By October 31, 2011)