<?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>BuildDocs.com - Operating System and Application Build Documents Repository &#187; media server</title>
	<atom:link href="http://builddocs.com/tags/media-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://builddocs.com</link>
	<description>Better Docs / Better Systems</description>
	<lastBuildDate>Thu, 15 Jul 2010 11:22:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Red5 0.8 on Ubuntu 9.04</title>
		<link>http://builddocs.com/streaming_media/installing-red5-0-8-on-ubuntu-9-04/</link>
		<comments>http://builddocs.com/streaming_media/installing-red5-0-8-on-ubuntu-9-04/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 14:06:22 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Streaming]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[media server]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[streaming video]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=607</guid>
		<description><![CDATA[This build document outlines the steps to install Red5 0.8 on Ubuntu 9.04 using svn checkout from Google Code. This build is based on installation instructions Installing Red5 on Ubuntu 8.04.1 with a few updates/modifications.
We are starting with a fresh Ubuntu 9.04 install (using ubuntu-9.04-server-amd64.iso). The only software selected during installation was OpenSSH Server.

After installation, [...]]]></description>
			<content:encoded><![CDATA[<p>This build document outlines the steps to install Red5 0.8 on Ubuntu 9.04 using svn checkout from Google Code. This build is based on installation instructions <A HREF="http://osflash.org/red5/ubuntu804">Installing Red5 on Ubuntu 8.04.1</A> with a few updates/modifications.</p>
<p>We are starting with a fresh Ubuntu 9.04 install (using ubuntu-9.04-server-amd64.iso). The only software selected during installation was OpenSSH Server.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Red5_U-2009-08-21-09-31-46.jpg" alt="Red5_U-2009-08-21-09-31-46" width="448" height="336" class="aligncenter size-full wp-image-610" /></p>
<p>After installation, assign a static IP address and log in remotely with putty (see <A HREF="http://builddocs.com/server_os_builds/building-lamp-on-ubuntu-part-2/">Ubuntu Setting Static IP Address</A>).</p>
<p>Execute the following command to update apt packages:</p>
<p><strong>sudo apt-get update</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-10-54-55.jpg" alt="TVERSITY-2009-08-21-10-54-55" width="448" height="336" class="aligncenter size-full wp-image-614" /></p>
<p>Install Subversion so you can download code from google code:</p>
<p><strong>sudo apt-get install subversion</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-10-56-14.jpg" alt="TVERSITY-2009-08-21-10-56-14" width="448" height="336" class="aligncenter size-full wp-image-616" /></p>
<p>Press Y for yes</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-10-56-22.jpg" alt="TVERSITY-2009-08-21-10-56-22" width="448" height="336" class="aligncenter size-full wp-image-618" /></p>
<p>Repeat to install java package:</p>
<p><strong>sudo apt-get install java-package</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-10-56-46.jpg" alt="TVERSITY-2009-08-21-10-56-46" width="448" height="336" class="aligncenter size-full wp-image-621" /></p>
<p>Repeat to install java jdk:</p>
<p><strong>sudo apt-get install sun-java6-jdk</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-10-58-07.jpg" alt="TVERSITY-2009-08-21-10-58-07" width="448" height="336" class="aligncenter size-full wp-image-623" /></p>
<p>When the Sun License Agreement page comes up, use the <strong>right arrow key</strong> to select OK and press Enter to continue</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-03-18.jpg" alt="TVERSITY-2009-08-21-11-03-18" width="448" height="336" class="aligncenter size-full wp-image-625" /></p>
<p>Press the Left Arrow and select Yes to agree</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-03-26.jpg" alt="TVERSITY-2009-08-21-11-03-26" width="448" height="336" class="aligncenter size-full wp-image-626" /></p>
<p>Repeat to install ant</p>
<p><strong>sudo apt-get install ant</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-04-57.jpg" alt="TVERSITY-2009-08-21-11-04-57" width="448" height="336" class="aligncenter size-full wp-image-628" /></p>
<p>Next we will download Red5 source code from googlecode. Create a temporary directory to download the code</p>
<p><strong>mkdir -p ~/svn/red5</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-07-45.jpg" alt="TVERSITY-2009-08-21-11-07-45" width="448" height="336" class="aligncenter size-full wp-image-630" /></p>
<p>Change directories to go to the red5 code directory</p>
<p><strong>cd ~/svn/red5</strong></p>
<p>Now execute the following command to download the code:</p>
<p><strong>svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only</strong> </p>
<p>Execute the following two commands to set environment variables in order to compile the code:</p>
<p><strong>export JAVA_HOME=/usr/lib/jvm/java-6-sun</strong></p>
<p><strong>export ANT_HOME=/usr/share/ant/</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-12-57.jpg" alt="TVERSITY-2009-08-21-11-12-57" width="448" height="336" class="aligncenter size-full wp-image-634" /></p>
<p>Change directories to the red5-read-only directory:</p>
<p><strong>cd ~/svn/red5/red5-read-only</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-13-19.jpg" alt="TVERSITY-2009-08-21-11-13-19" width="448" height="336" class="aligncenter size-full wp-image-636" /></p>
<p>Execute the ant command to compile the code:</p>
<p><strong>/usr/share/ant/bin/ant</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-13-40.jpg" alt="TVERSITY-2009-08-21-11-13-40" width="448" height="336" class="aligncenter size-full wp-image-638" /></p>
<p>The source code will be compiled into the dist directory. This will take a couple minutes.</p>
<p>Next, we will create a permanent directory where the final red5 installation will go:</p>
<p>sudo mkdir /usr/share/red5</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-20-21.jpg" alt="TVERSITY-2009-08-21-11-20-21" width="448" height="336" class="aligncenter size-full wp-image-640" /></p>
<p>Change directories to the dist directory:</p>
<p><strong>cd ~/svn/red5/red5-read-only/dist</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-22-15.jpg" alt="TVERSITY-2009-08-21-11-22-15" width="448" height="336" class="aligncenter size-full wp-image-653" /></p>
<p>Copy all of the files to the new red5 directory:</p>
<p>sudo cp -R * /usr/share/red5/</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-22-511.jpg" alt="TVERSITY-2009-08-21-11-22-51" width="448" height="336" class="aligncenter size-full wp-image-642" /></p>
<p>Change directories to the new red5 directory and change permissions on the red5 startup script to allow it to be executed:</p>
<p><strong>cd /usr/share/red5</strong></p>
<p><strong>sudo chmod 755 red5.sh</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-23-34.jpg" alt="TVERSITY-2009-08-21-11-23-34" width="448" height="336" class="aligncenter size-full wp-image-644" /></p>
<p>Execute the following command to start the red5 server:</p>
<p><strong>/usr/share/red5/red5.sh &amp;</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-23-53.jpg" alt="TVERSITY-2009-08-21-11-23-53" width="448" height="336" class="aligncenter size-full wp-image-646" /></p>
<p>After server starts up, you can access the web console by entering the following URL in your browser:</p>
<p>http://IPADDRESS:5080</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-21-11-24-43.jpg" alt="TVERSITY-2009-08-21-11-24-43" width="448" height="336" class="aligncenter size-full wp-image-647" /></p>
<p>If this screen comes up your installation was a success. Follow the instructions thru the web console to install and test out the demos.</p>
<p>If you have questions or problems with this build please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/streaming_media/installing-red5-0-8-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
