install red5

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
  <title>Install Red5</title>
  <script language=javascript>
  <!--
    function PrintPage()
    {
      window.print();
    }
  //-->
  </script>
  <base href="http://www.sekuritionline.net/">
</head>
<body onload=PrintPage()>
<strong>Install Red5</strong><br />By inetholic<br />Published:  September 22, 2008<br />Updated:  September 22, 2008<br /><br /><p>Red5 streaming server merupakan sebuah aplikasi streaming server yang berbasis java. disini saya akan mengimplementasikan pada redhat enterprise 5 atau bisa juga dengan centos dan mudah-mudahan berguna untuk kita semua.<br /> <br /> Yum Install JDK atau bisa di download dari http://java.sun.com/javase/downloads/index.jsp dalam bentuk<br /> rpm bin<br /> <br /> root@inetholic:/data/red5# inetholic red5 # yum install jdk<br /> Loaded plugins: installonlyn, priorities<br /> <br /> epel                      100% |=========================| 2.1 kB    00:00     <br /> <br /> logos                     100% |=========================|  951 B    00:00     <br /> <br /> dag                       100% |=========================|  951 B    00:00     <br /> <br /> base                      100% |=========================| 1.1 kB    00:00     <br /> <br /> updates                   100% |=========================| 1.1 kB    00:00     <br /> <br /> primary.xml.gz            100% |=========================| 895 kB    00:00     <br /> <br /> Unpacking JAR files...<br />  rt.jar...<br />  jsse.jar...<br />  charsets.jar...<br />  tools.jar...<br />  localedata.jar...<br /> <br /> Installed: jdk.x86_64 2000:1.6.0_04-fcs<br /> Complete!<br /> root@inetholic:/data/red5# red5 # yum install -y jpackage-utils<br /> Loaded plugins: installonlyn, priorities<br /> <br /> epel                      100% |=========================| 2.1 kB    00:00     <br /> <br /> logos                     100% |=========================|  951 B    00:00     <br /> <br /> dag                       100% |=========================|  951 B    00:00     <br /> <br /> base                      100% |=========================| 1.1 kB    00:00     <br /> <br /> updates                   100% |=========================| 1.1 kB    00:00     <br /> <br /> local                     100% |=========================|  951 B    00:00     <br /> 2026 packages excluded due to repository priority protections<br /> Setting up Install Process<br /> Parsing package install arguments<br /> Resolving Dependencies<br /> --&gt; Running transaction check<br /> ---&gt; Package jpackage-utils.noarch 0:1.7.3-1jpp.2.el5 set to be updated<br /> --&gt; Finished Dependency Resolution<br /> <br /> Dependencies Resolved<br /> <br /> =============================================================================<br />  Package                 Arch       Version          Repository        Size <br /> =============================================================================<br /> Installing:<br />  jpackage-utils          noarch     1.7.3-1jpp.2.el5  updates            61 k<br /> <br /> Transaction Summary<br /> =============================================================================<br /> Install      1 Package(s)         <br /> Update       0 Package(s)         <br /> Remove       0 Package(s)         <br /> <br /> Total download size: 61 k<br /> Downloading Packages:<br /> <br /> jpackage-utils-1.7.3-1jpp 100% |=========================|  61 kB    00:00     <br /> Running rpm_check_debug<br /> Running Transaction Test<br /> Finished Transaction Test<br /> Transaction Test Succeeded<br /> Running Transaction<br /> <br />   Installing     : jpackage-utils                                    [1/1]<br />   Installing     : jpackage-utils               #                    [1/1]<br />   Installing     : jpackage-utils               ##                   [1/1]<br />   Installing     : jpackage-utils               ###                  [1/1]<br />   Installing     : jpackage-utils               #####                [1/1]<br />   Installing     : jpackage-utils               ######               [1/1]<br />   Installing     : jpackage-utils               #######              [1/1]<br />   Installing     : jpackage-utils               ############         [1/1]<br />   Installing     : jpackage-utils               ################     [1/1]<br />   Installing     : jpackage-utils               #################    [1/1]<br />   Installing     : jpackage-utils               ##################   [1/1]<br />   Installing     : jpackage-utils               ###################  [1/1]<br />   Installing     : jpackage-utils                                    [1/1] <br /> <br /> Installed: jpackage-utils.noarch 0:1.7.3-1jpp.2.el5<br /> Complete!<br /> <br /> lihat versi java ...<br /> <br /> root@inetholic:/data/red5red5 # java -version<br /> java version &quot;1.6.0_04&quot;<br /> Java(TM) SE Runtime Environment (build 1.6.0_04-b12)<br /> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)<br /> <br /> download file apache-ant http://ant.apache.org/bindownload.cgi <br /> <br /> root@inetholic:/data/red5/ant # wget http://apache.cbn.net.id/ant/binaries/apache-ant-1.7.1-bi <br /> n.tar.gz<br /> --16:46:23--  http://apache.cbn.net.id/ant/binaries/apache-ant-1.7.1-bin.tar.gz<br /> Resolving apache.cbn.net.id... 202.158.56.242<br /> Connecting to apache.cbn.net.id|202.158.56.242|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 9151860 (8.7M) [application/x-gzip]<br /> Saving to: `apache-ant-1.7.1-bin.tar.gz'<br /> <br /> <br />  0% [                                        ] 0           --.-K/s             <br />  4% [&gt;                                       ] 378,280     1.65M/s             <br /> 26% [=========&gt;                              ] 2,419,896   5.51M/s             <br /> 31% [===========&gt;                            ] 2,868,648   4.09M/s             <br /> 49% [==================&gt;                     ] 4,497,288   4.94M/s             <br /> 65% [=========================&gt;              ] 6,014,376   5.06M/s             <br /> 74% [============================&gt;           ] 6,800,808   4.75M/s             <br /> 91% [===================================&gt;    ] 8,399,240   5.11M/s             <br /> 100%[=======================================&gt;] 9,151,860   5.16M/s   in 1.7s   <br /> <br /> 16:46:25 (5.16 MB/s) - `apache-ant-1.7.1-bin.tar.gz' saved [9151860/9151860]<br /> <br /> root@inetholic:/data/red5/ # tar -zxvf apache-ant-1.7.1-bin.tar.gz <br /> apache-ant-1.7.1/bin/ant<br /> apache-ant-1.7.1/bin/antRun<br /> apache-ant-1.7.1/bin/antRun.pl<br /> apache-ant-1.7.1/bin/complete-ant-cmd.pl<br /> apache-ant-1.7.1/bin/runant.pl<br /> apache-ant-1.7.1/bin/runant.py<br /> <br /> dst ....<br /> <br /> pindahkan file apache ant ke /opt/ant<br /> <br /> root@inetholic:/data/red5/ # mv apache-ant-1.7.1 /opt/ant<br /> <br /> buat path ant_home di opt dan path Java /usr/java/jdk1.6.0_04<br /> <br /> root@inetholic:/data/red5/ # export ANT_HOME=/opt/ant<br /> root@inetholic:/data/red5/ # export JAVA_HOME=/usr/java/jdk1.6.0_04<br /> <br /> buat link file ant ke bin<br /> <br /> root@inetholic:/data/red5/ # ln -s /opt/ant/bin/ant /usr/bin/ant<br /> <br /> download file red5 red5-0.6.3.tar.gz dan red5-0.7.0.tar.gz<br /> kenapa di download 2 file tersebut karena ada bug pada file library dan kita mencopy file library<br /> yang red5-0.6.3 red5-0.7.0<br /> <br /> root@inetholic:/data/red5/red5red5 # wget http://dl.fancycode.com/red5/0.6.3/src/red5-0.6.3.tar.gz <br /> --16:49:16--  http://dl.fancycode.com/red5/0.6.3/src/red5-0.6.3.tar.gz<br /> Resolving dl.fancycode.com... 213.133.108.69<br /> Connecting to dl.fancycode.com|213.133.108.69|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 39311128 (37M) [application/x-gzip]<br /> Saving to: `red5-0.6.3.tar.gz'<br /> <br /> <br /> 16:50:43 (450 KB/s) - `red5-0.6.3.tar.gz' saved [39311128/39311128]<br /> <br /> root@inetholic:/data/red5/red5# wget http://red5.nl/installer/red5-0.7.0.tar.gz<br /> --16:51:04--  http://red5.nl/installer/red5-0.7.0.tar.gz<br /> Resolving red5.nl... 193.189.149.192<br /> Connecting to red5.nl|193.189.149.192|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 59742074 (57M) [application/x-gzip]<br /> Saving to: `red5-0.7.0.tar.gz'<br /> <br /> 17:10:56 (49.0 KB/s) - `red5-0.7.0.tar.gz' saved [59742074/59742074]<br /> <br /> <br /> extract red5-0.6.3.tar.gz<br /> <br /> root@inetholic:/data/red5/red5/red5-0.6.3/red5-0.6.3 # tar -zxvf red5-0.6.3.tar.gz <br /> ./red5-0.6.3/<br /> ./red5-0.6.3/test/<br /> ./red5-0.6.3/test/test_cue1.flv<br /> ./red5-0.6.3/test/test_cue.flv<br /> ./red5-0.6.3/test/org/<br /> ./red5-0.6.3/test/org/red5/<br /> ./red5-0.6.3/test/org/red5/server/<br /> ./red5-0.6.3/test/org/red5/server/service/<br /> ./red5-0.6.3/test/org/red5/server/service/ConversionUtilsTest.java<br /> <br /> <br /> dst ...<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0/ # tar -zxvf red5-0.7.0.tar.gz <br /> conf/<br /> conf/jboss/<br /> conf/war/<br /> conf/war/admin/<br /> <br /> dst ....<br /> <br /> masuk ke red5-0.6.3/lib lalu copy file ivy-1.4.1.jar ke direktori red5-0.7.0<br /> <br /> root@inetholic:/data/red5/red5/red5-0.6.3/red5-0.6.3/lib # cp ivy-1.4.1.jar /data/red5/red5/red5-0.7.0/lib<br /> <br /> <br /> download file ivyconfig.xml &amp; build.xml<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0/red5-0.7.0 # wget http://jira.red5.org/secure/attachment/10132/ivyconnfig.xml<br /> --17:30:32--  http://jira.red5.org/secure/attachment/10132/ivyconfig.xml<br /> Resolving jira.red5.org... 69.64.37.176<br /> Connecting to jira.red5.org|69.64.37.176|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 1849 (1.8K) [text/xml]<br /> Saving to: `ivyconfig.xml'<br /> <br /> <br />  0% [                                        ] 0           --.-K/s             <br /> 100%[=======================================&gt;] 1,849       --.-K/s   in 0s     <br /> <br /> 17:30:33 (110 MB/s) - `ivyconfig.xml' saved [1849/1849]<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0red5-0.7.0 # mv build.xml build.old<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0red5-0.7.0 # http://jira.red5.org/secure/attachment/10131/build.xml<br /> --17:30:37--  http://jira.red5.org/secure/attachment/10131/build.xml<br /> Resolving jira.red5.org... 69.64.37.176<br /> Connecting to jira.red5.org|69.64.37.176|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 40147 (39K) [text/xml]<br /> Saving to: `build.xml'<br /> <br /> <br />  0% [                                        ] 0           --.-K/s             <br /> 13% [====&gt;                                   ] 5,571       15.5K/s             <br /> 35% [=============&gt;                          ] 14,259      19.7K/s             <br /> 77% [=============================&gt;          ] 31,038      28.2K/s             <br /> 100%[=======================================&gt;] 40,147      36.4K/s   in 1.1s   <br /> <br /> 17:30:39 (36.4 KB/s) - `build.xml' saved [40147/40147]<br /> <br /> build .... dengan ant<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0/red5-0.7.0 # ant<br /> Buildfile: build.xml<br /> <br /> clean:<br />    [delete] Deleting directory /data/red5/red5/red5-0.7.0/bin<br />    [delete] Deleting directory /data/red5/red5/red5-0.7.0/dist<br />    [delete] Deleting directory /data/red5/red5/red5-0.7.0/cluster<br /> <br /> sampai ...<br /> <br /> BUILD SUCCESSFUL<br /> Total time: 11 minutes 31 seconds<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0 # ls<br /> bin               dist             log                red5.sh<br /> build.properties  doc              Makefile           red5-shutdown.bat<br /> build.xml         ivyconfig.xml    red5-0.7.0.tar.gz  red5-shutdown.sh<br /> build.xml.1       ivyconfig.xml.1  red5.bat           src<br /> build.xml.old     ivy.xml          red5-debug.bat     swf<br /> cluster           lib              red5-debug.sh      webapps<br /> conf              license.txt      red5.jar<br /> <br /> masuk ke direktori dist<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0 # cd dist/<br /> <br /> lalu jalankan dengan sh red5.sh<br /> <br /> root@inetholic:/data/red5/red5/red5-0.7.0/dist # sh red5.sh <br /> <br /> <br /> check port 5080<br /> <br /> root@inetholic:/opt/red5 # nmap 127.0.0.1 -p 5080<br /> <br /> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-28 18:02 WIT<br /> Interesting ports on localhost.localdomain (127.0.0.1):<br /> PORT     STATE  SERVICE<br /> 5080/tcp closed unknown<br /> <br /> Nmap finished: 1 IP address (1 host up) scanned in 0.023 seconds<br /> <br /> kok belum jalan ya ... <br /> <br /> sabar ini service nya lama .... hhehehehe saya juga sempat bingung akhirnya saya tinggal makan dan 2 menit kemudian ....<br /> <br /> saya nmap kembali <br /> root@inetholic:/opt/red5 # nmap 127.0.0.1 -p 5080<br /> <br /> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-28 18:26 WIT<br /> Interesting ports on localhost.localdomain (127.0.0.1):<br /> PORT     STATE SERVICE<br /> 5080/tcp open  unknown<br /> <br /> Nmap finished: 1 IP address (1 host up) scanned in 0.029 seconds<br /> <br /> buka browser firefox lalu http://ip-server-elo:5080/demos <br /> <br /> http://127.0.0.1:5080/demos <br /> <br /> referensi : http://osflash.org/red5/linux-install </p><p>aku sadar aku seorang inetholic .... </p><p><span style="font-weight: bold">* Jangan jadikan kami sebagai sapi perahan tapi jadikan kami sebagai panutan di dunia IT <br />* Kami ingin hidup layak dan tempatkan kami di tempat yang layak dan sejajar tanpa perbedaan <br />* Hapus Outsource dan Tenaga Kontrak di Indonesia ... <br /><br />untuk teman-teman seperjuangan saya .... </span></p><p><a href="http://inetholic.blogspot.com ">http://inetholic.blogspot.com </a></p></body></html>
Explore posts in the same categories: centos, install, internet

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s


%d blogger menyukai ini: