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/
URL: http://192.168.1.105: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.
http://192.168.1.105:5080/installer/
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.
http://192.168.1.105:5080/demos/
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
References:
http://www.red5.org/
2 Comments
had this error error missing usr/lib/jvm/java-11-amazon-corretto/bin/java
fix:
https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/generic-linux-install.html
Does not work. /installer URL gives 404 despite application install screen shown.