<?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>Video Chat Scripts &#187; installation</title>
	<atom:link href="http://www.videochat-scripts.com/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.videochat-scripts.com</link>
	<description>Live Video, Web2.0, Rich Media, Custom Content</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:06:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install Red5 on SUSE Linux</title>
		<link>http://www.videochat-scripts.com/install-red5-on-suse-linux/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/install-red5-on-suse-linux/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 02:29:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=245</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-on-suse-linux/' addthis:title='Install Red5 on SUSE Linux '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>First know your system to know what to install. Use uname -a to see if you need to download 32 or 64 bits versions. Get SUSE release: cat /etc/SuSE-release INSTALL JDK Install latest JDK from http://java.sun.com/javase/downloads/index.jsp . Use chmod a+x to make downloaded file executable and execute it. Make sure latest version is used: ln [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-on-suse-linux/' addthis:title='Install Red5 on SUSE Linux' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-on-suse-linux/' addthis:title='Install Red5 on SUSE Linux '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>First know your system to know what to install.</p>
<p>Use <strong>uname -a </strong>to see if you need to download 32 or 64  bits versions.</p>
<p>Get SUSE release: <strong>cat /etc/SuSE-release</strong></p>
<p><strong>INSTALL JDK<br />
</strong></p>
<p>Install latest JDK from <a href="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</a> .</p>
<p>Use chmod a+x to make downloaded file executable and execute it.</p>
<p>Make sure latest version is used:</p>
<p><strong>ln -s </strong><strong>/usr/java/latest </strong><strong>/usr/local/jdk<br />
ln -s </strong><strong>/usr/java/latest/jre </strong><strong>/usr/local/jre<br />
rm /usr/bin/java</strong><strong><br />
ln -s </strong><strong>/usr/java/latest/bin/java </strong><strong>/usr/bin/java<br />
</strong><strong>export JAVA_HOME=/usr/java/latest/</strong></p>
<p><strong><br />
</strong></p>
<p><strong>INSTALL SVN<br />
</strong></p>
<p>Get SVN from: http://software.opensuse.org/search?baseproject=ALL&amp;p=1&amp;q=subversion</p>
<p>Install RPMs with:  <strong>rpm -iv</strong> package.rpm</p>
<p>Install any dependencies as required. Search from http://software.opensuse.org/search .</p>
<p><strong>INSTALL ANT</strong></p>
<p><strong>wget  http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz<br />
tar zxvf apache-ant-1.8.0-bin.tar.gz<br />
mv apache-ant-1.8.0 /usr/local/ant</strong></p>
<p>Configure<br />
<strong>export ANT_HOME=/usr/local/ant<br />
ln -s /usr/local/ant/bin/ant /usr/local/bin/ant</strong></p>
<p>Replace old ant<br />
<strong>rm /usr/bin/ant<br />
ln -s /usr/local/ant/bin/ant /usr/bin/ant</strong></p>
<p>Check ant version:<br />
<strong>ant –version</strong></p>
<p><strong><br />
</strong></p>
<p><strong>INSTALL Red5</strong></p>
<p>Get latest Red5 :<br />
<strong>svn co http://red5.googlecode.com/svn/java/server/trunk red5</strong></p>
<p>Build Red5 :<br />
<strong>cd red5<br />
ant prepare<br />
ant dist</strong></p>
<p>Move Red5:<br />
<strong>cd ..<br />
mv red5 /opt/red5</strong></p>
<p><strong>OPERATE RED5<br />
</strong></p>
<p>Start Red5 (when need or on server reboot):<br />
<strong>cd /opt/red5/dist<br />
./red5.sh &gt; start.log &amp;</strong></p>
<p>Install/update applications in the /opt/red5/dist/webapps folder .  For changes to take effect, Red5 must be restarted:</p>
<p>1. Check if red5 is running:<strong><br />
ps aux | grep red5</strong></p>
<p>2. Go to its folder and shut red5 down:<br />
<strong>cd /opt/red5/dist<br />
./red5-shutdown.sh<br />
</strong><strong><br />
</strong>3. See if it’s still running or not:<br />
<strong>ps aux | grep red5</strong></p>
<p><strong> </strong>4. Restart it, and also make it output the logs  into a file of your choice:<br />
<strong>./red5.sh &gt; start.log &amp;</strong></p>
<p>5. Make sure it’s back online:<br />
<strong>ps aux | grep red5</strong></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-on-suse-linux/' addthis:title='Install Red5 on SUSE Linux' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/install-red5-on-suse-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install latest Red5 on Linux Ubuntu</title>
		<link>http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 14:34:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[guideline]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[steps]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[v0.9]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=146</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/' addthis:title='Install latest Red5 on Linux Ubuntu '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>This post shows how to install latest Red5 from svn trunk on Linux Ubuntu. For other linux flavors (i.e. Centos) see this comprehensive tutorial Install Red5 and JDK on Centos. This installation was done from windows so we used  WinSCP and PuTTy (free software)  and was inspired from online tutorials. This installation was done fluently: [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/' addthis:title='Install latest Red5 on Linux Ubuntu' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/' addthis:title='Install latest Red5 on Linux Ubuntu '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>This post shows how to install latest Red5 from svn trunk on Linux Ubuntu.</p>
<p>For other linux flavors (i.e. Centos) see this comprehensive tutorial <a href="http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/">Install Red5 and JDK on Centos</a>.</p>
<p><span id="more-146"></span></p>
<p>This installation was done from windows so we used  WinSCP and PuTTy (free software)  and was inspired from online tutorials.<br />
This installation was done fluently: if you go to other folders and do other tasks during the installation make sure you return to the right folder before resuming.</p>
<p>If you&#8217;re doing this remotely comment any line referring to cdrom as source from /etc/apt/sources.list .</p>
<p>&nbsp;</p>
<p>Some prerequisites:<br />
<strong>add-apt-repository ppa:sun-java-community-team/sun-java6</strong><br />
<strong> apt-get update</strong><br />
<strong> apt-get upgrade</strong><br />
<strong> apt-get install locate</strong><br />
<strong> updatedb</strong></p>
<p>&nbsp;</p>
<p>Installed required packages one by one:<br />
<strong> </strong></p>
<p><strong>apt-get install subversion<br />
apt-get install java-package<br />
apt-get install sun-java6-jdk<br />
apt-get install ant</strong></p>
<p>Used arrows to browse to the Ok and confirm on jdk installation dialogs.</p>
<p>Verified installed java version:<strong><br />
java -version </strong></p>
<p>Downloaded latest Red5:<strong><br />
mkdir -p ~/svn/red5<br />
cd ~/svn/red5<br />
svn co http://red5.googlecode.com/svn/java/server/trunk red5</strong></p>
<p>Build Red5 with Ant:<br />
<strong>export JAVA_HOME=/usr/lib/jvm/java-6-sun/</strong><br />
<strong>export ANT_HOME=/usr/share/ant/</strong><br />
<strong>cd ~/svn/red5/red5<br />
/usr/share/ant/bin/ant</strong></p>
<p>Installed Red5:<strong><br />
mkdir /usr/share/red5<br />
cp -R dist/* /usr/share/red5/</strong><br />
<strong>cd /usr/share/red5<br />
chmod 755 red5.sh<br />
chmod 755 red5-shutdown.sh</strong></p>
<p>Started Red5:<br />
<strong>./red5.sh &gt; start.log &amp;</strong></p>
<p>Verified opened ports:<br />
<strong>netstat -ant</strong></p>
<p>To install a new rtmp application you need to:</p>
<ol>
<li>Copy application to /usr/share/red5/webapps (i.e. /usr/share/red5/webapps/videowhisper as explained on <a href="http://www.videowhisper.com/?p=RTMP+Applications">VideoWhisper RTMP Applications</a>)</li>
<li>Shutdown red5<br />
<strong>cd /usr/share/red5<br />
./red5-shutdown.sh</strong></li>
<li>Restart red5<strong><br />
</strong><strong>./red5.sh &gt; restart.log &amp;</strong></li>
</ol>
<p>An alternative to doing the red5 installation yourself would be to <a href="http://www.videowhisper.com/?p=Red5+Installation">order red5 installation</a> .</p>
<p>If you don’t have the time and experience to run your own server or vps, you should use <a href="http://www.videowhisper.com/?p=Red5+Hosting">managed red5 hosting</a> .</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/' addthis:title='Install latest Red5 on Linux Ubuntu' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red5 Hosting for Video Chat Scripts</title>
		<link>http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/#comments</comments>
		<pubDate>Sat, 16 May 2009 09:33:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Chat]]></category>
		<category><![CDATA[dedicated ip]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[managed]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[videochat]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=70</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/' addthis:title='Red5 Hosting for Video Chat Scripts '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>VideoGirls BiZ offers premium red5 hosting plans for video chat scripts. The Red5 setup is 100% managed so you do not have anything to worry about as on vps hosts where you have to install each application yourself and restart the service or even configure, upgrade, install new linux software trough the shell. Premium videochat [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/' addthis:title='Red5 Hosting for Video Chat Scripts' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/' addthis:title='Red5 Hosting for Video Chat Scripts '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p><a href="http://www.videogirls.biz/">VideoGirls BiZ</a> offers premium <a href="http://www.videogirls.biz/view.php?p=Videochat+Script+Hosting">red5 hosting plans</a> for video chat scripts. The Red5 setup is 100% managed so you do not have anything to worry about as on vps hosts where you have to install each application yourself and restart the service or even configure, upgrade, install new linux software trough the shell.</p>
<p><span id="more-70"></span>Premium videochat script hosting plans includes:</p>
<ul>
<li>Unlimited RTMP hosting on Red5<br />
<span style="color: #808080;">That means streaming can use as much bandwidht as available per plan and there are no limitations for the number of simultaneous connections (other that server load).</span></li>
<li>Dedicated IP</li>
<li>Managed setup of Red5 application</li>
<li>1 Free Script Installation<br />
<span style="color: #808080;"><em>Limited to datetopia, videogirls, videowhisper scripts only.</em></span></li>
<li>CPanel</li>
<li>Setup of RTMP application</li>
</ul>
<p>You can also check <a href="http://www.videowhisper.com/?p=Red5+Hosting">Red5 Hosting</a> on Videowhisper.</p>
<table border="0" cellspacing="1" cellpadding="5" align="center">
<tbody>
<tr>
<td align="center"><strong>Premium Hosting Plans</strong></td>
<td align="center" bgcolor="#64ca8f"><span style="color: #ffffff;"><strong>Premium 1</strong></span></td>
<td align="center" bgcolor="#7cd67a"><span style="color: #ffffff;"><strong>Premium 2</strong></span></td>
<td align="center" bgcolor="#b1d088"><span style="color: #ffffff;"><strong>Premium 3</strong></span></td>
<td align="center" bgcolor="#e0af8f"><span style="color: #ffffff;"><strong>Premium 4</strong></span></td>
</tr>
<tr>
<td align="right" bgcolor="#f0f0f0">Space</td>
<td align="center" bgcolor="#e1ffed">10 000 Mb</td>
<td align="center" bgcolor="#e2ffe1">15 000 Mb</td>
<td align="center" bgcolor="#f2ffe1">30 000 Mb</td>
<td align="center" bgcolor="#ffefdf">50 000 Mb</td>
</tr>
<tr>
<td align="right" bgcolor="#f0f0f0">Bandwidth</td>
<td align="center" bgcolor="#e1ffed">200 Gb</td>
<td align="center" bgcolor="#e2ffe1">300 Gb</td>
<td align="center" bgcolor="#f2ffe1">600 Gb</td>
<td align="center" bgcolor="#ffefdf">1000 Gb</td>
</tr>
<tr>
<td align="right" bgcolor="#f7f7ea">Monthly Price</td>
<td align="center" bgcolor="#e1ffed">$50</td>
<td align="center" bgcolor="#e2ffe1">$60</td>
<td align="center" bgcolor="#f2ffe1">$75</td>
<td align="center" bgcolor="#ffefdf">$100</td>
</tr>
</tbody>
</table>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/' addthis:title='Red5 Hosting for Video Chat Scripts' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/red5-hosting-for-video-chat-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install latest Red5 on Linux Server</title>
		<link>http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 01:22:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[0.8]]></category>
		<category><![CDATA[0.9]]></category>
		<category><![CDATA[1.0]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[final]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[rc1]]></category>
		<category><![CDATA[rc2]]></category>
		<category><![CDATA[rc3]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[trunk]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[webapps]]></category>
		<category><![CDATA[winscp]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=61</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/' addthis:title='Install latest Red5 on Linux Server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Updated for Red5 1.0 RC1 + Updated for JDK 1.6.22  (32bit/64bit). Updated for ANT 1.8.2 . Here is how we installed latest Red5 and JDK on a server with Linux CentOS . These hints can help you install on many linux VPS or Dedicated enviroments.  We mainly do software development and work from windows, so [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/' addthis:title='Install latest Red5 on Linux Server' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/' addthis:title='Install latest Red5 on Linux Server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p><em>Updated for Red5 1.0 RC1 +<br />
Updated for JDK 1.6.22  (32bit/64bit).<br />
Updated for ANT 1.8.2 .</em></p>
<p>Here is how we installed latest Red5 and JDK on a server with Linux CentOS . These hints can help you install on many linux VPS or Dedicated enviroments.  We mainly do software development and work from windows, so we use WinSCP and PuTTy (free software). We browsed a lot of tutorials and web pages to get instructions that installed latest versions.</p>
<p>First, know your server (linux distribution and processor type ie. x86_64):</p>
<p><strong>cat /etc/*release*<br />
uname -a</strong></p>
<p>Then, make sure there are all prerequisites to install the rpm:</p>
<p><strong>yum install rpm-build </strong><strong>redhat-rpm-config</strong><strong><br />
</strong></p>
<p>Allow required ports (not necessary if already opened): 3690 (svn), 5080, 1935, 1936, 8088.  See more details at the end of this tutorial.</p>
<p><strong><br />
</strong></p>
<p><strong>JAVA INSTALLATION</strong></p>
<p>We installed latest JDK from <a href="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</a> .</p>
<p>Use <strong>uname -a </strong>to see if you need to download a 64 bits version.</p>
<p>Went to root/tmp folder for downloads: <strong><br />
cd /root/tmp</strong></p>
<p>We got Java SE Development Kit, JDK 6 Update 13. We selected linux multilanguage, right clicked &gt; properties on the jdk-6u13-linux-i586-rpm.bin and downloaded it with <strong>wget <em>url</em></strong><em> </em>on the server. It downloaded with a big name with parameters (<strong>ls</strong> to see after download). We use WinSCP so we right clicked, refreshed from there and then renamed the new file that showed up in the root home directory.<br />
You can also rename it from shell. Make sure you use mv &#8220;old_long_name&#8221; new_name for the long name as it uses special characters.</p>
<p><em>Make sure you install JDK and not JRE.<br />
</em><em><br />
</em></p>
<p>Made it executable and executed it:</p>
<p><strong>chmod a+x jdk-6u13-linux-i586-rpm.bin<br />
./</strong><strong>jdk-6u13-linux-i586-rpm.bin </strong></p>
<p>If it&#8217;s just .rpm install it with rpm -Uhv file :<br />
<strong>rpm -Uhv jdk-7-linux-x64.rpm</strong></p>
<p>Press space or enter to scroll terms and when it asks you type yes and hit enter.<br />
If needed confirm Java DB update, yes ENTER.</p>
<blockquote><p>We installed it on multiple servers and had to change some shortcuts on ones that already had an older java, so it runs the new one. Usually if preinstalled it’s located in a java or jdk folder in /usr or /usr/local .</p>
<p><em> Make sure  the shortcuts in /usr/local point to the new locations (/usr/local/jdk to /usr/java/jdk1.6.0_14 and /usr/local/jre to /usr/java/jdk1.6.0_14/jre) .</em><br />
<strong>ln -s </strong><strong>/usr/java/latest </strong><strong>/usr/local/jdk<br />
ln -s </strong><strong>/usr/java/latest/jre </strong><strong>/usr/local/jre<br />
</strong></p>
<p>Also /usr/bin/java shortcut should point to<strong> </strong> /usr/java/latest (not /etc/alternatives/java):<br />
<strong>rm /usr/bin/java</strong><br />
<strong>ln -s </strong><strong>/usr/java/latest/bin/java </strong><strong>/usr/bin/java<br />
</strong></p>
<p><strong>export JAVA_HOME=/usr/java/latest/</strong></p></blockquote>
<p>Make sure this is the one used if you also have older versions installed:<strong><br />
java –version</strong></p>
<p><strong><br />
</strong></p>
<p><strong>ANT INSTALLATION<br />
</strong></p>
<p>Downloaded ant (can be done from any mirror &#8211; see <a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>), unpacked it, moved it to a good location and added variable, shortcut. <strong> </strong></p>
<p>Get ANT<strong><br />
</strong></p>
<p><strong>wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz</strong><strong><br />
tar zxvf apache-ant-1.8.2-bin.tar.gz<br />
</strong><strong> mv apache-ant-1.8.2 /usr/local/ant</strong></p>
<blockquote><p>If older  ANT is preferred get latest from <a href="http://archive.apache.org/dist/ant/binaries/ ">http://archive.apache.org/dist/ant/binaries/</a> .<br />
i.e. ANT 1.7.1<br />
wget http://www.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.tar.gz<br />
tar zxvf apache-ant-1.7.1-bin.tar.gz<br />
mv apache-ant-1.7.1 /usr/local/ant</p></blockquote>
<p>Configure<br />
<strong>export ANT_HOME=/usr/local/ant<br />
ln -s /usr/local/ant/bin/ant /usr/local/bin/ant</strong></p>
<blockquote><p>Replace old ant<br />
<strong>rm /usr/bin/ant<br />
ln -s /usr/local/ant/bin/ant /usr/bin/ant</strong></p></blockquote>
<p>Checked ant version:<br />
<strong>ant –version</strong></p>
<p>If this can&#8217;t find java, make sure you run <strong>export JAVA_HOME=/usr/java/latest/</strong>.</p>
<blockquote><p>Error: JAVA_HOME is not defined correctly.<br />
We cannot execute /usr/local/jdk/bin/java</p></blockquote>
<p><strong>SUBVERSION INSTALLATION<br />
</strong></p>
<p><strong>yum install subversion</strong></p>
<p>If that doesn&#8217;t work because of something like<em> <em></em>Missing Dependency: perl(URI) &gt;= 1.17 is needed by package subversion </em>&#8230; maybe this can help:</p>
<blockquote><p>Fix: Install perl uri:<br />
wget http://mirror.centos.org/centos/5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm<br />
rpm -Uvh perl-URI-1.35-3.noarch.rpm<strong><br />
</strong></p></blockquote>
<blockquote><p><em>Fix: This time got  &#8220;Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again&#8221; .<br />
Solution: <strong>yum &#8211;disablerepo=atrpms install subversion</strong> .<br />
</em></p></blockquote>
<p><strong>RED5 BUILD AND INSTALLATION<br />
</strong></p>
<p>Then we downloaded Red5:<br />
<strong>svn co http://red5.googlecode.com/svn/java/server/trunk red5</strong></p>
<p><em>Update1: This downloads latest Red5. On this installation (update1) Red5 0.9 was downloaded.</em></p>
<blockquote><p><em> If latest trunk has bugs or does not work fine with your required software you can download other versions from </em><a href="http://red5.googlecode.com/svn/java/server/tags/">http://red5.googlecode.com/svn/java/server/tags/</a><em> .</em></p>
<p><em>Example:<br />
<strong>svn co </strong></em><strong>http://red5.googlecode.com/svn/java/server/tags/0_8_0/ red5<br />
</strong>or<br />
<em> <strong>svn co http://red5.googlecode.com/svn/java/server/tags/0_9rc1/ red5</strong></em></p></blockquote>
<p>Built red5 :<br />
<strong>cd red5<br />
ant prepare<br />
ant dist<br />
</strong></p>
<blockquote><p>You could also remove sample applications if you don&#8217;t plan to use these:<br />
<strong> rm -rf /opt/red5/dist/webapps/live<br />
</strong><strong> rm -rf /opt/red5/dist/webapps/installer</strong><br />
<strong> rm -rf /opt/red5/dist/webapps/vod<br />
rm -rf /opt/red5/dist/webapps/installer<br />
rm -rf /opt/red5/dist/webapps/root/demos<br />
rm -rf /opt/red5/dist/webapps/root/WEB-INF</strong></p>
<p>When upgrading, copy webapps to new build:<br />
<strong></strong><strong>cp -rf /opt/red5/dist/webapps/* /root/tmp/red5/dist/webapps/<br />
</strong></p>
<p>Then rename old red5 (backup).</p></blockquote>
<p>Move Red5 from home folder:<br />
<strong>cd ..<br />
mv red5 /opt/red5<br />
</strong><br />
Start Red5:</p>
<p><strong>cd /opt/red5/dist<br />
./red5.sh &gt; start.log &amp;<br />
</strong></p>
<p>The &gt; start.log is to have it output the logs in the file and &amp; is to keep it running in the background.<br />
Verified that Red5 is running:<br />
<strong>ps aux | grep red5<br />
</strong>This should report a long line with java and many options and this command. Check start.log if it failed to start.<br />
Make sure these ports are active and red5 (java) is listening:</p>
<p><strong>netstat -anp | grep 1935</strong><br />
<strong>netstat -anp | grep 5080</strong></p>
<p>If 1935 shows up and 5080 doesn&#8217;t it probably means web server is not running. On latest versions Red5 no longer includes tomcat. See <a href="http://wiki.red5.org/wiki/AppServer/JEEContainerPlugins">Red5 JEE Container Plugins</a> for details.<br />
You will need to overwrite conf/jee-container.xml with one extracted from plugin jar and create a plugins/ folder with multiple jars (get this from older red5 distributions).</p>
<p><strong><br />
</strong></p>
<p><strong>START RED5 ON BOOT</strong></p>
<p>The nice way would be to run Red5 as a service by adding a <em>red5</em> file with execution permissions to <em>/etc/rc.d/init.d</em> :</p>
<blockquote><p>#!/bin/bash<br />
#<br />
# For RedHat and cousins:<br />
#<br />
# chkconfig: 2345 85 85<br />
# description: Red5 flash streaming server<br />
# processname: red5<br />
#</p>
<p>PROG=red5<br />
RED5_HOME=/opt/red5/dist<br />
DAEMON=$RED5_HOME/$PROG.sh<br />
PIDFILE=/var/run/$PROG.pid</p>
<p># Source function library<br />
. /etc/rc.d/init.d/functions</p>
<p>[ -r /etc/sysconfig/red5 ] &amp;&amp; . /etc/sysconfig/red5</p>
<p>RETVAL=0</p>
<p>case &#8220;$1&#8243; in<br />
start)<br />
echo -n $&#8221;Starting $PROG: &#8221;<br />
cd $RED5_HOME<br />
$DAEMON &gt;/dev/null 2&gt;/dev/null &amp;<br />
RETVAL=$?<br />
if [ $RETVAL -eq 0 ]; then<br />
echo $! &gt; $PIDFILE<br />
touch /var/lock/subsys/$PROG<br />
fi<br />
[ $RETVAL -eq 0 ] &amp;&amp; success $&#8221;$PROG startup&#8221; || failure $&#8221;$PROG startup&#8221;<br />
echo<br />
;;<br />
stop)<br />
echo -n $&#8221;Shutting down $PROG: &#8221;<br />
killproc -p $PIDFILE<br />
RETVAL=$?<br />
echo<br />
[ $RETVAL -eq 0 ] &amp;&amp; rm -f /var/lock/subsys/$PROG<br />
;;<br />
restart)<br />
$0 stop<br />
$0 start<br />
;;<br />
status)<br />
status $PROG -p $PIDFILE<br />
RETVAL=$?<br />
;;<br />
*)<br />
echo $&#8221;Usage: $0 {start|stop|restart|status}&#8221;<br />
RETVAL=1<br />
esac</p>
<p>exit $RETVAL</p></blockquote>
<p>Then you can use <strong>service red5 start|stop|restart</strong>  .</p>
<p>Or add these lines to to /etc/rc.d/rc.local so it starts on each server start:<br />
<strong>cd /opt/red5/dist<br />
/opt/red5/dist/red5.sh &gt; restart.log &amp;</strong><br />
Make sure your run it from the right folder. The one in /opt/red5 will not work – you must run it from /opt/red5/dist/ .</p>
<p>When Red5 is running you should be able to access <span style="color: #333399;"><strong>http://<em>your-server-domain-or-ip</em>:5080/</strong></span> .</p>
<p>If it works first thing go to <span style="color: #333399;">http://your-server:5080/installer/</span>and install admin. Then to <span style="color: #333399;">http://your-server:5080/admin/register.html</span> and register an username and password. Then you can check application statistics anytime from <span style="color: #333399;">http://your-server:5080/admin/</span> with server ip and the registered username, password.</p>
<p><strong>RED 5 RESTART</strong></p>
<p>Restart Red5 anytime you update files in the /opt/red5/dist/webapps folder &#8211; where all applications should be installed.</p>
<p>Usually these should work and should be used each time you add a new application.</p>
<p>1. Check if red5 is running:<strong><br />
ps aux | grep red5</strong></p>
<p>2. Go to its folder and shut red5 down:<br />
<strong></strong></p>
<p><strong>service red5 stop</strong></p>
<p>or</p>
<p><strong>cd /opt/red5/dist<br />
./red5-shutdown.sh<br />
</strong><strong><br />
</strong>3. See if it&#8217;s still running or not:<br />
<strong>ps aux | grep red5</strong></p>
<p><strong> </strong>4. Restart it, and also make it output the logs into a file of your choice:<br />
<strong>service red5 start</strong></p>
<p>or</p>
<p><strong>./red5.sh &gt; start.log &amp;</strong></p>
<p>5. Make sure it&#8217;s back online:<br />
<strong>ps aux | grep red5</strong> <strong> </strong></p>
<p>We also noticed that red-shutdown.sh sometimes does not close it down to allow restart when webapps are added or updated. This usually occurs when red5 freezes becasue it encounters errors like running out of memory. So we run <strong>ps aux | grep red5</strong> to see process id (first number: PID) and then run<strong> kill <em>process id</em></strong> if it’s still alive.</p>
<p><strong>ALLOWING PORTS</strong></p>
<p>On some systems root cannot bind ports above the early 1000&#8242;s so red5 must be run from another account.</p>
<p>Verify that Red5 is listening on port 5080 if you can&#8217;t get http://yourserver:5080/:<br />
<strong>netstat -anp | grep 5080</strong></p>
<p>If using iptables enable these ports:<br />
<em><strong>iptables -A INPUT -p tcp -m tcp -—dport 3690 -j ACCEPT<br />
</strong></em><em><strong>iptables -A INPUT -p tcp -m tcp —-dport 5080 -j ACCEPT<br />
</strong></em><em><strong>iptables -A INPUT -p tcp -m tcp -—dport 1935 -j ACCEPT<br />
</strong></em><em><strong>iptables -A INPUT -p tcp -m tcp —-dport 1936 -j ACCEPT<br />
</strong></em><em><strong>iptables -A INPUT -p tcp -m tcp -—dport 8088 -j ACCEPT</strong></em></p>
<p>Sometimes ports need to be configured in a hardware firewall. Contact server provider / administrator for more details about enabling ports.</p>
<p>This info provided by a host could also be helpful.</p>
<blockquote><p>Please be advised that custom iptables rules should be placed in the directory listed below.<br />
/etc/sysconfig/iptables-custom</p>
<p>The software firewall rule is listed as follows:<br />
# cat /etc/sysconfig/iptables-custom/99Red5 *filter</p>
<p>-A INPUT -p tcp -m tcp &#8211;dport 1935 -j ACCEPT<br />
-A INPUT -p tcp -m tcp &#8211;dport 1936 -j ACCEPT<br />
-A INPUT -p tcp -m tcp &#8211;dport 5080 -j ACCEPT<br />
-A INPUT -p tcp -m tcp &#8211;dport 8088 -j ACCEPT</p>
<p>COMMIT</p></blockquote>
<p><strong>RED5 &amp; VIDEOWHISPER</strong></p>
<p>This was done for the installation of VideoWhisper applications. To do that just <a href="http://www.videowhisper.com/?p=RTMP+Applications">download the latest videowhisper rtmp application</a>, unzip it on your computer and copy the videowhisper folder and all its contents to/opt/red5/dist/webapps .  As verification, check that you have a /opt/red5/dist/webapps/videowhisper/WEB-INF/ folder on your server. After copying/updating this, restart the Red5 server (as explained above) and you can install the <a href="http://www.videowhisper.com/">videowhisper video conferencing / live streaming scrips</a> to use the new rtmp application.</p>
<p>The Red5 VideoWhisper RTMP Application has some cool settings, like enabling access with external players / archiving of all video streams as flv files / limiting access to certain domains / setting absolute paths for live streams and recordings to be able to share videos with other applications (i.e. video sharing). Edit all these in WEB-INF/red5-web.properties and restart the Red5 server.</p>
<p>If we forgot to mention something here, or you have any questions about this submit your inquiries on <a href="http://www.videowhisper.com/tickets_submit.php">Video Whisper Contact Page</a> or comment below.</p>
<p>An alternative to doing the red5 installation yourself would be to <a href="http://www.videowhisper.com/?p=Red5+Installation">order red5 installation</a> .</p>
<p>If you don&#8217;t have the time and experience to run your own server or vps, you should use <a href="http://www.videowhisper.com/?p=Red5+Hosting">managed red5 hosting</a> .</p>
<p><strong>cp -rf /opt/red5/dist/webapps/* /root/tmp/red5/dist/webapps/</strong></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/' addthis:title='Install latest Red5 on Linux Server' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

