arabtion

red5 rc1

Jan 31st, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. red5 is a leading open-source media streaming server implemented in Java, which provides services similar to those offered by the proprietary Adobe Flash Media Server, including:
  2. ⁕Streaming Audio/Video
  3. ⁕Recording Client Streams
  4. ⁕Shared Objects
  5. ⁕Live Stream Publishing.
  6.  
  7. Installing red5 on centos:
  8.  
  9. Step 1: Install Java.
  10.  
  11. Goto this link
  12. http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
  13.  
  14. Accept the Oracle Binary Code License
  15.  
  16. Click on the linux architecture :
  17.  
  18. Linux86 jdk-7u45-linux-i586.tar.gz
  19.  
  20. //If you want to install in a terminal using wget
  21.  
  22.  
  23. cd /opt/
  24. wget http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-i586.tar.gz?AuthParam=1383938880_250485ab478f0098650830595f29ead4
  25.  
  26.  
  27. tar xzf jdk-7u25-linux-i586.tar.gz
  28.  
  29. cd /opt/jdk1.7.0_45
  30.  
  31. alternatives --install /usr/bin/java java /opt/jdk1.7.0_45/bin/java 2
  32. alternatives --config java
  33.  
  34.  
  35. Select the option
  36.  
  37. /opt/jdk1.7.0_45/bin/java
  38.  
  39. java -version
  40.  
  41. Setup Environment Variables
  42.  
  43. export JAVA_HOME=/opt/jdk1.7.0_45
  44.  
  45. export JRE_HOME=/opt/jdk1.7.0_45/jre
  46.  
  47. Step 2: Install the Apache Ant Binary
  48.  
  49. Apache ant is a tool similar to make. It is implemented using the java language. It is used for automating software build processes and is best suited to building Java projects.
  50.  
  51. wget http://supergsego.com/apache//ant/binaries/apache-ant-1.9.2-bin.tar.gz
  52.  
  53. tar xzf apache-ant-1.9.2-bin.tar.gz
  54. mv apache-ant-1.9.2 /usr/local/apache-ant
  55.  
  56. Step 3: Setup Environment Variables
  57.  
  58. echo 'export ANT_HOME=/usr/local/apache-ant' >> /etc/bashrc
  59. echo 'export JAVA_HOME=/opt/jdk1.7.0_45' >> /etc/bashrc
  60. echo 'export PATH=$PATH:/usr/local/apache-ant/bin' >> /etc/bashrc
  61. echo 'export CLASSPATH=.:$JAVA_HOME/lib/classes.zip' >> /etc/bashrc
  62. source /etc/bashrc
  63.  
  64. cd /usr/local/
  65.  
  66. wget http://red5.org/downloads/red5/1_0/red5-1.0.0-RC1.tar.gz
  67. tar -xvf red5-1.0.0-RC1.tar.gz
  68.  
  69. mv red5-1.0.0 red5
  70.  
  71. cd red5
  72. ant prepare
  73. ant dist
  74.  
  75.  
  76. RUN Script Insider red5 Directory.
  77. ./red5.sh &
  78.  
  79.  
  80. Access Red5 Media Server:
  81.  
  82. http://centos06lamp.tk:5080
Advertisement
Add Comment
Please, Sign In to add comment