<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RahulSoni.Me &#187; server</title>
	<atom:link href="http://rahulsoni.me/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://rahulsoni.me</link>
	<description>Linux and Stuff...</description>
	<lastBuildDate>Mon, 21 Nov 2011 13:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Red5 server installation on Redhat CentOs Linux</title>
		<link>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/</link>
		<comments>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 15:52:25 +0000</pubDate>
		<dc:creator>Rahul</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[fms alternative]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[red5 centos install]]></category>
		<category><![CDATA[red5 installation]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://rahulsoni.in/?p=63</guid>
		<description><![CDATA[If you reach this page then you probably cannot afford Adobe FMS but Red5 open source flash server is an here to save your day. I have been working with red5 since version 0.6.2 and in this post we will go through the installation of 0.8.0. 
Red5 support streaming video/audio content( flv, aac and mp3), recording streams in flv and live publishing. I am doing Red5 installation on CentOs 5 machine here and instructions would be same for Redhat Enterprise]]></description>
			<content:encoded><![CDATA[<p>If you reach this page then you probably cannot afford Adobe FMS but Red5 open source flash server is here to save your day. I have been working with red5 since version 0.6.2 and in this post we will go through the installation of 1.0 SVN.<br />
Red5 support streaming video/audio content( flv, aac and mp3), recording streams in flv and live publishing. I am doing Red5 installation on CentOs 5 machine here and instructions would be same for Redhat Enterprise</p>
<p>1) Installation of Java<br />
Login to server as root and goto<br />
<code>cd /usr/local/src</code></p>
<p>Download jdk 7 linux rpm package from sun<br />
<code>http://java.sun.com/javase/downloads/index.jsp</code><br />
Select 32 Bit or 64 Bit package as per your OS.</p>
<p>We will be taking example of 64 Bit here<br />
<code>wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.rpm -O jdk-7u1-linux-x64.rpm<br />
chmod 777 jdk-6u7-linux-i586-rpm.bin<br />
rpm -ivh jdk-7u1-linux-x64.rpm</code></p>
<p>URL in wget link can be different and if it does not work get the correct URL from</p>
<p>http://www.oracle.com/technetwork/java/javase/downloads/index.html</p>
<p>once completed setup the java home path</p>
<p><code>export JAVA_HOME=/usr/java/latest</code></p>
<p>2) Installation of apache ant</p>
<p><code>cd /usr/local</code><br />
download latest apache ant tar.gz from http://ant.apache.org/bindownload.cgi<br />
or<br />
<code>wget http://apache.mirrors.redwire.net/ant/binaries/apache-ant-1.7.1-bin.tar.gz<br />
tar zxf apache-ant-1.7.1-bin.tar.gz<br />
mv apache-ant-1.7.1 ant<br />
rm -Rf apache-ant-1.7.1-bin.tar.gz</code></p>
<p>Export apache ant home<br />
<code>export ANT_HOME=/usr/local/ant</code></p>
<p>create symbolic link<br />
<code>ln -s /usr/local/ant/bin/ant /usr/bin/ant</code></p>
<p>3) Red5 installation<br />
You can download latest build Red5 from google code<br />
<code>http://code.google.com/p/red5/</code></p>
<p>Get it from Source SVN as their download packages will not work 90% of the time giving all sort of errors. If you don&#8217;t have subversion install it with<br />
<code>yum install subversion</code></p>
<p>Login to your server via SSH as root and run:<br />
<code>mkdir red5<br />
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5<br />
cd red5/<br />
make<br />
cp -r dist/conf .<br />
sh red5.sh<br />
</code></p>
<p>just a point don&#8217;t miss dot(.) end of cp -r dist/conf command above, It specifies copying folder from /dist to current directory. Sometimes people miss this while copy pasting command.</p>
<p>If everything is ok then you will see something like this:<br />
<code>[INFO] [Launcher:/installer] org.red5.server.service.Installer - Installer service created</code></p>
<p>Press ctrl+c to exit and run red5 server as a daemon:<br />
<code>./red5.sh >/dev/null 2>&#038;1 &#038;<br />
or<br />
nohup sh red5.sh &#038;</code></p>
<p>Red5 http service run on port 5080 and rtmp on port 1935.</p>
<p>First thing you can do is visit http://your_server_ip:5080 and install red5 demo apps, example apps like oflademo can be used to stream media straight out of the box.</p>
<p>Feel free to update here if you are struck at installation or red5 is not starting and i will be glad to assist.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Red5+server+installation+on+Redhat+CentOs+Linux+http%3A%2F%2Frahulsoni.me%2F%3Fp%3D63" title="Post to Twitter"><img class="nothumb" src="http://rahulsoni.me/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big1.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://rahulsoni.me/2009/11/red5-server-installation-on-redhat-centos-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

