HostOnNet Blog

Install Red 5 on CentOS 7

Red5 is an open source media server for live streaming.

Install java with

yum -y install java

Download and extract Red 5

cd /opt
wget https://github.com/Red5/red5-server/releases/download/v1.0.10-M4/red5-server-1.0.10-M4.tar.gz
tar xvf red5-server-1.0.10-M4.tar.gz
cd red5-server

Start Red 5 with command

cd /opt/red5-server/
./red5.sh

Now you will be able to access your Red 5 installation at

http://your-server-ip:5080/

Demo available at

http://your-server-ip:5080/demos/ofla_demo.html

Auto Start Red 5 on CentOS

To auto start, use following init script

https://gist.github.com/HostOnNet/1988a5fa3210c759244309190b9dbfe7

curl https://gist.githubusercontent.com/HostOnNet/1988a5fa3210c759244309190b9dbfe7/raw/ed05599064400b2578995330e7732f0bd0a1b532/red5 > /etc/init.d/red5
chmod 755 /etc/init.d/red5
chkconfig red5 on

Start Red 5 with

service red5 start

Posted in CentOS