Thursday, January 27, 2022

How To install Red5 Media server on Rocky Linux 8.5

 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.
Homepage -https://www.red5pro.com/open-source/
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y

yum -y install  java-11-openjdk java-11-openjdk-devel
sudo tee /etc/profile.d/java11.sh <<EOF
export JAVA_HOME=\$(dirname \$(dirname \$(readlink \$(readlink \$(which javac)))))
export PATH=\$PATH:\$JAVA_HOME/bin
export CLASSPATH=.:\$JAVA_HOME/jre/lib:\$JAVA_HOME/lib:\$JAVA_HOME/lib/tools.jar
EOF
source /etc/profile.d/java11.sh
alternatives --config java
echo $JAVA_HOME ; java -version

wget https://github.com/Red5/red5-server/releases/download/v1.2.12/red5-server-1.2.12.tar.gz
tar -zxvf red5-server-1.2.12.tar.gz
cd red5-server/
nano red5.sh

sh red5.sh &
http://127.0.0.1:5080/
http://127.0.0.1:5080/demos/

dnf install -y http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
dnf install -y libcurl flash-plugin alsa-plugins-pulseaudio
_________________________________________________________________________________________







No comments:

Post a Comment