<?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>jusupov.com &#187; Apple DSS</title>
	<atom:link href="http://www.jusupov.com/tag/apple-dss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jusupov.com</link>
	<description>Computer Technology Blog</description>
	<lastBuildDate>Thu, 06 May 2010 16:04:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install Darwin Streaming Server 6.0.3 on Ubuntu 8.04.2 Hardy</title>
		<link>http://www.jusupov.com/2009/06/13/how-to-install-darwin-streaming-server-on-ubuntu-hardy/</link>
		<comments>http://www.jusupov.com/2009/06/13/how-to-install-darwin-streaming-server-on-ubuntu-hardy/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 18:08:59 +0000</pubDate>
		<dc:creator>Arstan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Apple DSS]]></category>
		<category><![CDATA[Darwin Streaming Server]]></category>
		<category><![CDATA[DSS]]></category>

		<guid isPermaLink="false">http://www.jusupov.com/?p=340</guid>
		<description><![CDATA[I couldn&#8217;t find any good tutorial on how to install Darwing Streaming Server on Ubuntu Hardy.
So let&#8217;s get started with a fresh install of 8.04.2 with all the updates.

sudo apt-get update &#38;&#38; sudo apt-get upgrade
sudo apt-get install build-essential
sudo addgroup &#8211;system qtss
sudo adduser &#8211;system &#8211;no-create-home &#8211;ingroup qtss qtss
cd /usr/local/src/
Download the latest version at http://github.com/lstoll/dss/tree/master
tar -xvf lstoll-dss-984a1365251f36ebf3f60f0d0175fa895a30b9a9.tar
cd [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t find any good tutorial on how to install Darwing Streaming Server on Ubuntu Hardy.</p>
<p>So let&#8217;s get started with a fresh install of 8.04.2 with all the updates.</p>
<ol>
<li>sudo apt-get update &amp;&amp; sudo apt-get upgrade</li>
<li>sudo apt-get install build-essential</li>
<li>sudo addgroup &#8211;system qtss<br />
sudo adduser &#8211;system &#8211;no-create-home &#8211;ingroup qtss qtss</li>
<li>cd /usr/local/src/</li>
<li>Download the latest version at http://github.com/lstoll/dss/tree/master</li>
<li>tar -xvf lstoll-dss-984a1365251f36ebf3f60f0d0175fa895a30b9a9.tar</li>
<li>cd lstoll-dss-984a1365251f36ebf3f60f0d0175fa895a30b9a9/</li>
<li>./Buildit install</li>
<li>cd DarwinStreamingSrvr6.0.3-Linux</li>
<li>./Install</li>
<li>If you see Setup Complete! message, you are good to go. Logon to http://servername:1220/ using your browser. Username and password is the ones you entered at step 10.</li>
</ol>
<p>Ok, now you have Darwin Streaming Server installed on your Ubuntu Hardy box.</p>
<p>Here&#8217;s a sample init file for DSS:</p>
<pre class="brush: plain">
#!/bin/sh
#
# chkconfig: 35 92 12
# description: Quicktime Streaming Media Server
#
# Slight tweak of file create by Larry Underhill 05/20/02
#
# init script to start up the quicktime (Darwin) streaming server
# tested on Redhat 7.2, Fedora Core 4 and CentOS-4.3

# source function library
#. /etc/rc.d/init.d/functions

case &amp;quot;$1&amp;quot; in
start)
if test -r /var/lock/dssd
then
echo &amp;quot;Lockfile /var/lock/dssd exists. Server not started.&amp;quot;
failure
else
echo &amp;quot;Starting Darwin Streaming Server: &amp;quot;
/usr/local/sbin/DarwinStreamingServer &amp;amp;amp;&amp;amp;amp; touch /var/lock/dssd
echo &amp;quot;Starting DSS Admin Console: &amp;quot;
/usr/local/sbin/streamingadminserver.pl
echo &amp;quot;DSS and DSS Admin Console started...&amp;quot;
fi
;;

stop)
echo &amp;quot;Stopping Darwin Streaming Server: &amp;quot;
[ -f /var/lock/dssd ] || exit 0
echo &amp;quot;stopping...&amp;quot;
killall DarwinStreamingServer &amp;amp;amp;&amp;amp;amp; killall streamingadminserver.pl
#ps ax | awk &#039;{print $1&amp;quot; &amp;quot; $5}&#039; | awk &#039;/DarwinStreamingServer/ {print $1}&#039; | xargs -r kill -9 &amp;amp;amp;&amp;amp;amp; success || failure
#echo &amp;quot;Stopping DSS Admin Console: &amp;quot;
#ps ax | awk &#039;/streamingadminserver.pl/ {print $1}&#039; | xargs -r kill -9  &amp;amp;amp;&amp;amp;amp; success || failure
rm -f /var/lock/dssd
echo
;;

restart)
$0 stop
sleep 1
$0 start
;;

*)
echo &amp;quot;Usage: $0 [start|stop|restart]&amp;quot;
exit 1
esac
exit 0
</pre>
<p>Save this file in /etc/init.d/dss</p>
<p>Make it executable chmod +x /etc/init.d/dss and make it auto start when booting:</p>
<p>update-rc.d dss defaults<br />
Adding system startup for /etc/init.d/dss &#8230;<br />
/etc/rc0.d/K20dss -&gt; ../init.d/dss<br />
/etc/rc1.d/K20dss -&gt; ../init.d/dss<br />
/etc/rc6.d/K20dss -&gt; ../init.d/dss<br />
/etc/rc2.d/S20dss -&gt; ../init.d/dss<br />
/etc/rc3.d/S20dss -&gt; ../init.d/dss<br />
/etc/rc4.d/S20dss -&gt; ../init.d/dss<br />
/etc/rc5.d/S20dss -&gt; ../init.d/dss</p>
<p>Now that we have already installed DSS on Ubuntu Hardy box, next thing is how to broadcast mp3 and video through it. Well, that&#8217;s a next post coming up. <img src='http://www.jusupov.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy!</p>
<div id="attachment_343" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-343" title="DSS Admin Console" src="http://www.jusupov.com/wp-content/uploads/2009/06/picture-1-300x197.png" alt="DSS Admin Console" width="300" height="197" /><p class="wp-caption-text">DSS Admin Console</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jusupov.com/2009/06/13/how-to-install-darwin-streaming-server-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
