This post is out of date! An Updated post with a new script is here: http://shafe.n5net.com/2013/01/09/compiling-darwin-streaming-server-6-0-3-under-debian-updated/
I was recently tasked with a Linux install of Darwin Streaming Server on a Debian server. Unfortunately for me Apple stopped making Windows and Linux builds of DSS when version 6.0 was released.
After a lot of failed attempts at compiling from source on Linux I came across a wonderful post that had a shell script that would install all dependencies, download the source plus a handful of patches, compile and install v6.0.3 on Ubuntu 10.x. A few tweaks and I was able to get it to work for my install of Debian.
For the life of me I can’t find the page again where that script was located, and apparently I’m not the only one. A google search brings up a whole lot of dated material mostly for DSS 5.x.
You shouldn’t run into problems with these, I’ve used them several times now and they work pretty well. Be sure to run them as root though.
Debian 5.0 & 6.0 DSS Compile Script:
#!/bin/bash apt-get install build-essential wget addgroup --system qtss adduser --system --no-create-home --ingroup qtss qtss wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar tar -xvf DarwinStreamingSrvr6.0.3-Source.tar mv DarwinStreamingSrvr6.0.3-Source DarwinStreamingSrvr6.0.3-Source.orig wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-6.0.3.patch patch -p0 < dss-6.0.3.patch mv DarwinStreamingSrvr6.0.3-Source.orig DarwinStreamingSrvr6.0.3-Source wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch patch -p0 < dss-hh-20080728-1.patch #need to answer n then y cd DarwinStreamingSrvr6.0.3-Source mv Install Install.orig wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/Install chmod +x Install ./Buildit ./Install
Ubuntu 10.x DSS Compile Script
#!/bin/bash sudo apt-get install build-essential wget sudo addgroup --system qtss sudo adduser --system --no-create-home --ingroup qtss qtss wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar tar -xvf DarwinStreamingSrvr6.0.3-Source.tar sudo mv DarwinStreamingSrvr6.0.3-Source DarwinStreamingSrvr6.0.3-Source.orig wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-6.0.3.patch sudo patch -p0 < dss-6.0.3.patch sudo mv DarwinStreamingSrvr6.0.3-Source.orig DarwinStreamingSrvr6.0.3-Source wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch sudo patch -p0 < dss-hh-20080728-1.patch #need to answer n then y cd DarwinStreamingSrvr6.0.3-Source sudo mv Install Install.orig wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/Install chmod +x Install sudo ./Buildit sudo ./Install
If you run into problems or are just plain lazy, here is Darwin Streaming Server 6.0.3 compiled for Linux. Simply unpack the archive and run ./Install :
Hi,
Thanks, but here is a small misstake:
Sudo ./Install
sudo must be written small letters 😉
regards
Corrected! Thanks a lot!
Hi I previously ran Dss 6.0.3 but my pc crashed. I was streaming mp3s vial playlist to my site and since I reinstalled DSS I have not been able to stream to the website. Any ideas?
thank you so much!
a couple of issues i had w the downloadable script:
1) dos file had to convert to unix else the comands all end w %0D
2) patch commands had %lt; instead of <
Pingback: Darwin Streaming Sever: Instalando y configurando en Linux « donnierock
I followed all the installation steps (with the corrections) on Ubuntu 10.10 (32-bit), however, when I point my Firefox browser to the management console at http://localhost:1220, it tries to load ‘www.localhost.com’ and when I use my Linux box local IP address (http://192.168.18.131:1220 http://127.0.0.1:1220) it get a server connection reset before the page loads. Any idea what might be wrong?
Do you still have the .patch files? Please mail-me then, i can’t find then anywhere. Also, have you tried the DSS or Ubuntu 12.04 64?
Unfortunately the extra files needed to patch and Install the source are no more located at this place.
Maybe you can have a look at:
http://www.codeproject.com/Articles/41874/Darwin-Streaming-Server-6-0-3-setup-customization
where he provides these files.
Happy streaming.
New updated post and scripts here: http://shafe.n5net.com/2013/01/09/compiling-darwin-streaming-server-6-0-3-under-debian-updated/