<?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>Sandeep Ghael &#187; Ubuntu 9.04</title>
	<atom:link href="http://sandeepghael.com/tag/ubuntu-9-04/feed/" rel="self" type="application/rss+xml" />
	<link>http://sandeepghael.com</link>
	<description>acts_as_blog</description>
	<lastBuildDate>Wed, 20 Apr 2011 14:48:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Getting RED 5 up and running on Ubuntu 9.04</title>
		<link>http://sandeepghael.com/2009/07/getting-red-5-up-and-running-on-ubuntu-9-04/</link>
		<comments>http://sandeepghael.com/2009/07/getting-red-5-up-and-running-on-ubuntu-9-04/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 19:31:59 +0000</pubDate>
		<dc:creator>sghael</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Red5]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://sandeepghael.com/?p=3</guid>
		<description><![CDATA[As part of my Rails Rumble team prep, I wanted to document the quickest way to get a Red5 Flash media server up and running on a virtual private server. The Rails Rumble project will actually be using a Linode cloud server, but since I already have a Slicehost account, I did this experimentation on [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my Rails Rumble team prep, I wanted to document the quickest way to get a Red5 Flash media server up and running on a virtual private server.  The Rails Rumble project will actually be using a <a href="http://www.linode.com/">Linode</a> cloud server, but since I already have a <a href="http://slicehost.com">Slicehost</a> account, I did this experimentation on Slicehost.</p>
<ol>
<li>
   	First fire up a new server on Slicehost (even though it&#8217;s not LTS, we&#8217;ll use Ubuntu 9.04). <br />
   	After the server is provisioned, ssh in as root.  For simplicity, I&#8217;ve done this entire<br />
   	exercise as root.  Obviously on a production server, you&#8217;ll want to create the necessary<br />
   	non-root account.<br />
   	<br/>
   </li>
<li>
   	Next let&#8217;s get our server up to date and necessary repos added. <br />
   	If you are already root, you won&#8217;t need the &#8216;sudo&#8217;:<br/><br />
   	<script src="https://gist.github.com/723925.js?file=RED5Ubuntu"></script><br />
	<br/>
   </li>
<li>
   	Add this line to the end of your &#8216;sources.list&#8217; file:<br/><br />
        <script src="https://gist.github.com/723925.js?file=gistfile2.tcsh"></script><br />
	<br/>
   </li>
<li>
	Now run this series of commands from the shell.  This will bring Ubuntu<br />
	up to date with the latest patches, etc.  Also it will install some useful<br />
	shell tools like locate to help you quickly find files on the filesystem. <br/><br />
	<script src="https://gist.github.com/723925.js?file=gistfile3.txt"></script><br />
	<br/>
   </li>
<li>
   	Now install the necessary Java packages and the Ant build tool:<br/><br />
        <script src="https://gist.github.com/723925.js?file=gistfile4.txt"></script><br />
	<br/>
   </li>
<li>
   	After you have run through the install steps, you can test the success of the<br />
   	install by checking where java was installed and which version is recognized:<br/><br />
   	<script src="https://gist.github.com/723925.js?file=gistfile5.txt"></script><br />
	<br/>
   </li>
<li>
   	You can do this as a non-root account, but I built Red5 with Ant from the root account.<br />
   	After the build completes, copy the build output into /usr/share.<br/><br />
  	<script src="https://gist.github.com/723925.js?file=gistfile6.txt"></script><br />
	<br/>
   </li>
<li>
   	Now we can check if Red5 can be brought to life:<br/><br />
   	<script src="https://gist.github.com/723925.js?file=gistfile7.txt"></script><br />
   	<br/><br />
   	We can check with netstat that Red5 is running on the default port of 5080:<br/><br />
   	<script src="https://gist.github.com/723925.js?file=gistfile8.txt"></script><br />
   	<br/><br />
   	And to confirm, connect to port 5080 via telnet:<br/><br />
   	<script src="https://gist.github.com/723925.js?file=gistfile9.txt"></script><br />
   	<br/>
   </li>
<li>
   	Go ahead and cancel out of telnet.  Confirm that the Red5 start page is accessible via a browser by navigating to:<br/><br />
   	http://[yourdomain]:5080/ <br/><br />
   	You should see this Red5 page: <br/><br />
   	<img src="http://sandeepghael.com/wp-content/uploads/2009/07/Red5-The-open-source-media-server_1248399827808.jpg" alt="red 5 start page" style="width:300px;"/><br />
   	<br/>
   </li>
<li>
   	At this point, you can watch the really nice <a href="http://www.youtube.com/watch?v=969cmyGu1yw">YouTube video that the Red5 team has put together</a> which is embedded on this Red5 start page.  It will guide you thru the process of installing a couple of demo applications and then testing them&#8230; Remember when you are testing the demo apps to change the ip address of the server you are connecting to.  If you are using a remote server, it won&#8217;t be &#8216;localhost&#8217; but the ip address of the remote machine.<br/><br/>
   </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://sandeepghael.com/2009/07/getting-red-5-up-and-running-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>

