Moodle Language Lab
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 for Palabre Server and Ubuntu 24.04 LTS for Red5 Pro Server 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 from official documentation :- Red5 However, you can find the exact steps on :- Documentation .
You will need to install Java 11 or Java 21 depending on the server build. Starting from version 14.0 we use Java 21. Additionally unzip is needed to run and deploy the Red5 Pro server. And, there are several native libraries required for WebRTC support, and jsvc is necessary for running Red5 Pro as a service. NTP service is necessary for autoscaling and communication with any other Red5 Pro servers if you are running a cluster. Depending on your permissions, you may need to pre-pend the following commands with sudo:
apt-get update apt-get install -y openjdk-21-jdk unzip libva2 libva-drm2 libva-x11-2 libvdpau1 jsvc ntp
1. To install the Red5 Pro Server:
- Download the server .zip distribution to your local machine. Make sure to log in with your account on Red5 Pro Account and download the server from Downloads.
- SFTP the server .zip distribution into the /tmp directory of your server
- Choose a location to run your instance and navigate to that directory. For this example, we’re running from /usr/local
cd /usr/local
2. Create a new red5pro directory:
sudo mkdir red5pro
3. Unzip the Red5 Pro distribution into the new directory:
sudo unzip red5pro-server-xxx.zip -d /usr/local/red5pro
4. Your Red5 Pro Server License Key:
Red5 Pro server will not function without a valid license key. Your LICENSE.KEY file will be included in your server download in the root of the Red5 Pro server directory (i.e., /usr/local/red5pro). You can find your license key listed on your Red5 Pro Professional account overview page.
5. Defining Red5 Pro as a Service:
Refer to service configuration guide to configure Red5 Pro as a service for Ubuntu.
Note: CentOS does not support jsvc, so to define Red5 Pro as a service on CentOS you will need to use the legacy init.d service configuration.
If you encounter problems with OpenSSL or libcrypto compatibility,a workaround is to edit the network configuration file:
Open the network configuration file:
/usr/local/red5pro/conf/network.properties
Locate this line:
#crypto.override=SUNJCE
Remove the # to uncomment it:
crypto.override=SUNJCE
Important: After making this change, restart Red5 Pro for it to take effect:
sudo systemctl restart red5pro
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)