{"id":150,"date":"2010-01-17T11:45:18","date_gmt":"2010-01-17T11:45:18","guid":{"rendered":"http:\/\/hosting-marketers.com\/news\/?p=150"},"modified":"2013-10-09T13:33:34","modified_gmt":"2013-10-09T13:33:34","slug":"how-to-install-red5-version-0-8-and-0-9-on-centos-5-4","status":"publish","type":"post","link":"https:\/\/hosting-marketers.com\/news\/2010\/01\/17\/how-to-install-red5-version-0-8-and-0-9-on-centos-5-4\/","title":{"rendered":"How To Install RED5 version 0.8 or 0.9 on CENTOS"},"content":{"rendered":"<p>RED5 is open source flash server written in java supports streaming audio\/video, recording client streams, shared objects, live stream publishing etc. In this short steps you can install red5 server on your virtual server or dedicated.<\/p>\n<p>This is post is being modified on 27th August 2013, the installation is for the Red5 version 0.8. as no one will use the 0.9\u00e2\u20ac\u00a6<br \/>\nDownload and Install Java<\/p>\n<p>RED5 server depends on Java, so lets install it first using yum:<\/p>\n<p># yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel<br \/>\nDownload and Install Ant (Apache Project)<\/p>\n<p>Ant will need to compile RED5 server code. Ant comes in binary form, so just download and install it in \/usr\/local directory. This step may cause problems because they all always updating the apache ant and changing the name of it, so sometimes the binary is called apache-ant-1.8.0RC1-bin.tar.gz sometimes apache-ant-1.8.0-bin.tar.gz so you will have to get the correct link, go to http:\/\/opensource.become.com\/apache\/ant\/binaries\/ (link not working) and find what they have, get the one which ends on tar.gz, should be about 9-10 mega file, so edit the link down to the correct one;<\/p>\n<p># cd \/usr\/src<br \/>\n# wget http:\/\/mirrors.isu.net.sa\/pub\/apache\/\/ant\/binaries\/apache-ant-1.9.2-bin.tar.gz  (working link today 8\/27\/2013)<br \/>\n# tar zxvf apache-ant-1.9.2-bin.tar.gz<br \/>\n# mv apache-ant-1.9.2\/ \/usr\/local\/ant<br \/>\nExport Variables for Ant and Java<\/p>\n<p># export ANT_HOME=\/usr\/local\/ant<br \/>\n# export JAVA_HOME=\/usr\/lib\/jvm\/java<br \/>\n# export PATH=$PATH:\/usr\/local\/ant\/bin<br \/>\n# export CLASSPATH=.:$JAVA_HOME\/lib\/classes.zip<\/p>\n<p>Also export these variables in \/etc\/bashrc to become available for every user login or for any terminal opens.<\/p>\n<p># echo export ANT_HOME=\/usr\/local\/ant >> \/etc\/bashrc<br \/>\n# echo export JAVA_HOME=\/usr\/lib\/jvm\/java >> \/etc\/bashrc<br \/>\n# echo export PATH=$PATH:\/usr\/local\/ant\/bin >> \/etc\/bashrc<br \/>\n# echo export CLASSPATH=.:$JAVA_HOME\/lib\/classes.zip >> \/etc\/bashrc<br \/>\nDownload and Install RED5 Server<\/p>\n<p>Now we come to the main part, which one you want? 0.8, 0.9, 0.7?? (using the 0.8 version)<\/p>\n<p>you can find the various versions available at:<\/p>\n<p>http:\/\/red5.org\/downloads\/red5<\/p>\n<p>if for example you want version 0.8, then the command would be:<\/p>\n<p># cd \/usr\/local<br \/>\n# mkdir red5<br \/>\n# cd \/usr\/local\/red5<br \/>\n# wget http:\/\/red5.org\/downloads\/red5\/0_8\/red5-0.8.0.tar.gz<br \/>\n# tar -zxvf red5-0.8.0.tar.gz<br \/>\n# sh red5.sh &#038;<br \/>\nwait 2 minutes before you close the cmd window, then use:<br \/>\n# CTRL + A + D<\/p>\n<p>if you just close the cmd window the red5 will stop, you must log off using the CTRL + A + D<\/p>\n<p>When Red5 is running you should be able to access http:\/\/your-server-domain-or-ip:5080\/ .<\/p>\n<p>If it works first thing go to http:\/\/your-server:5080\/installer\/and install admin. Then to http:\/\/your-server:5080\/admin\/register.html and register an username and password. Then you can check application statistics anytime from http:\/\/your-server:5080\/admin\/ with server ip and the registered username, password.<\/p>\n<p>RED 5 RESTART<\/p>\n<p>You need to restart every time you add or update files in the \/usr\/local\/red5\/webapps folder where all applications should be installed.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>RED5 is open source flash server written in java supports streaming audio\/video, recording client streams, shared objects, live stream publishing etc. In this short steps you can install red5 server on your virtual server or dedicated. This is post is being modified on 27th August 2013, the installation is for the Red5 version 0.8. as [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[39],"tags":[138],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-rtmp-hosting","tag-install-red5-version-0-8-and-0-9-on-centos-5-4"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9Yxzd-2q","jetpack-related-posts":[{"id":533,"url":"https:\/\/hosting-marketers.com\/news\/2015\/07\/04\/download-red5-0-8-final-1-0-2-1-0-5\/","url_meta":{"origin":150,"position":0},"title":"Download Red5 | 0.8 final | 1.0.2 | 1.0.5","author":"Admin","date":"July 4, 2015","format":false,"excerpt":"Sometimes you cannot find the red5 version you need, specially the 0.8 and the 1.0.2, for this reason we decided to upload to our servers these versions. Download red5 0.8 final Download red5 1.0.2 version Just in case the 1.0.5 version you can also download it here. For the installation\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":461,"url":"https:\/\/hosting-marketers.com\/news\/2014\/01\/22\/installing-java-7-on-centos-6-openjdk\/","url_meta":{"origin":150,"position":1},"title":"Installing java 7 on centos 6 (OpenJDK)","author":"Admin","date":"January 22, 2014","format":false,"excerpt":"We use to run java OpenJDK 6 on our servers, but the new version OpenJDK 7 is more secure and some of our customers have start requesting, so here are the instructions for installing and setting the correct variables. For the previous post on installing OpenJDK 6 please see red5\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":127,"url":"https:\/\/hosting-marketers.com\/news\/2009\/10\/21\/installing-red5-the-simple-way\/","url_meta":{"origin":150,"position":2},"title":"Installing red5, the simple way!","author":"Admin","date":"October 21, 2009","format":false,"excerpt":"It is not working any more, some files have been changed and our installer is now outdated, soon we will fix the issue. January 2010. The following steps are intended to automate the installation of Red 5 versions 0.5 , 0.6.3 and 0.7.0 . I know there is now 0.8\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":131,"url":"https:\/\/hosting-marketers.com\/news\/2009\/11\/18\/could-not-reserve-enough-space-for-object-heap\/","url_meta":{"origin":150,"position":3},"title":"Could not reserve enough space for object heap","author":"Admin","date":"November 18, 2009","format":false,"excerpt":"Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":112,"url":"https:\/\/hosting-marketers.com\/news\/2009\/09\/22\/red5-tutorial-and-red5-hosting\/","url_meta":{"origin":150,"position":4},"title":"Red5 Tutorial and Red5 Hosting","author":"Admin","date":"September 22, 2009","format":false,"excerpt":"Red 5 is a pretty amazing server software written in java. The Red 5 development team has put in tons of effort to make it a open source alternative to Adobe FMS ? Flash Media Server. Red 5 is a perfectly suitable technology for ?Video On Demand? applications, streaming, publishing,\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":449,"url":"https:\/\/hosting-marketers.com\/news\/2014\/01\/12\/comparison-between-wowza-media-server-vs-red5-and-vs-adobe-flash-media-server\/","url_meta":{"origin":150,"position":5},"title":"Comparison between Wowza Media Server vs Red5 and vs Adobe Flash Media Server","author":"Admin","date":"January 12, 2014","format":false,"excerpt":"UPDATE 2021: As of this year 2021, Adobe Flash has been disabled for all Browsers, so Red5 and FMS (flash media server) do not work. Video chats using flash have stopped working. The only way at this moment is to use HTML5 players. We at Hosting Marketers have setup a\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":8,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":424,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/150\/revisions\/424"}],"wp:attachment":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}