Red5 Media Server is a powerful media streaming server worked on RTMP protocal. Red5 is an open and extensible platform, which can be used in Video Conferencing or Network gaming.

biglogo-red5

This article will help you to install Red5 media server on CentOS and RHEL Systems.

Step 1 – Install Java

You may skip this steps if you have already installed java on your system else use below link to install latest java version.

Install Java 8 on CentOS/RHEL 7/6/5

Also, make sure the set 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=/opt/jdk1.8.0_151' >> /etc/bashrc
source /etc/bashrc
Step 2 – Download and Extract Red5

Use this link to find latest version of Red5 or use following commands to download red5 1.0.1. Also extract them.

cd /opt/
wget https://github.com/Red5/red5-server/releases/download/v1.0.9-RELEASE/red5-server-1.0.9-RELEASE.tar.gz
tar xzf red5-server-1.0.9-RELEASE.tar.gz
Step 3 – Start Red5 Server

After extracting downloaded archive, lets start Red5 using shell script red5.sh available in directory.

cd /opt/red5-server/
./red5.sh &
Step 4 – Access Red5 Web Interface

Red5 demo pages and application can be accessed on port 5080 like http://fqdn:5080/

URL:   http://192.168.1.105:5080

red5-start-page

Step 5 – Install Demo Apps

Open the following URL in your web browser to get demo apps install screen. Change IP to your system IP or fqdn.

http://192.168.1.105:5080/installer/

red5-demos-install

Step 6 – Access Demo Apps in Red5

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/

red5-demos

References:
http://www.red5.org/