instal Red-5









# yum -y install java-1.7.0-openjdk.x86_64 && yum -y install java-1.7.0-openjdk-devel
# export JAVA_HOME=/usr/lib/jvm/java
# export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
# echo export JAVA_HOME=/usr/lib/jvm/java >> /etc/bashrc
# echo export CLASSPATH=.:$JAVA_HOME/lib/classes.zip >> /etc/bashrc
# echo $JAVA_HOME=
# cd /usr/lib/jvm/jre//lib/ext/
# wget https://naimatbest.weebly.com/uploads/1/3/5/1/135178298/mysql-connector-java-5.1.18-bin.jar
# cd
# yum -y install php-ioncube-loader
# cd /root
# wget  https://archive.org/download/red5-1.0.1.tar/red5-1.0.1.tar.gz
# tar zxvf red5-1.0.1.tar.gz
# mv /root/red5-server-1.0 /usr/local/red5
# wget -O /etc/init.d/red5 https://naimatbest.weebly.com/uploads/1/3/5/1/135178298/red5.txt
# chmod +x /etc/init.d/red5
# cd /usr/local/red5
# chmod +x red5.sh
# ./red5.sh
# systemctl start red5 && systemctl enable red5
# cd /etc/sysconfig
# nano iptables
# iptables -L
# cd
# reboot
 
After reboot the server Type these commonds in putty for start the red5 server
 
# service red5 start
# service red5 restart