Step 1 – Install Java
You must have Java 11 or higher version installed on your Ubuntu system. If you don’t have installed Java, use the following command to install OpenJDK on your system.
sudo apt update sudo apt install default-jdk
Also, make sure to set the JAVA_HOME environment variable on your system. You can set the JAVA_HOME using the command. Change the directory path for your installed Java version
echo 'export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/' >> /etc/bash.bashrc source /etc/bash.bashrc
Step 2 – Setup Red5 Server on Ubuntu
Use this link to find the latest version of Red5 or use following commands to download Red5 server 1.2.2.
cd /opt/ wget https://github.com/Red5/red5-server/releases/download/v1.2.2/red5-server-1.2.2.zip unzip red5-server-1.2.2.zip
Now, start Red5 serrver using the provided shell script red5.sh available in directory.
cd /opt/red5-server/ ./red5.sh &
This will start Red5 server.
Step 4 – Access Red5 Web Interface
Red5 demo pages and application can be accessed on port 5080 like http://exmple.com:5080/
Step 4 – Install Demo Apps
Open the following URL in your web browser to get demo apps to install screen. Change IP to your system IP or FQDN.
Step 5 – Access Red5 Demo Apps
Open the following URL in your web browser to get access demo apps page. Change IP to your system IP or FQDN.
Step 6 – Stop Red5 Server
When Red5 is no more required, You can simply stop this by executing the following script.
cd /opt/red5-server/ red5-shutdown.sh
had this error error missing usr/lib/jvm/java-11-amazon-corretto/bin/java
Does not work. /installer URL gives 404 despite application install screen shown.