Archive for the ‘DSS’ tag
How to install Darwin Streaming Server 6.0.3 on Ubuntu 8.04.2 Hardy
I couldn’t find any good tutorial on how to install Darwing Streaming Server on Ubuntu Hardy.
So let’s get started with a fresh install of 8.04.2 with all the updates.
- sudo apt-get update && sudo apt-get upgrade
- sudo apt-get install build-essential
- sudo addgroup –system qtss
sudo adduser –system –no-create-home –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 lstoll-dss-984a1365251f36ebf3f60f0d0175fa895a30b9a9/
- ./Buildit install
- cd DarwinStreamingSrvr6.0.3-Linux
- ./Install
- 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.
Ok, now you have Darwin Streaming Server installed on your Ubuntu Hardy box.
Here’s a sample init file for DSS:
[sourcecode language="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 "$1" in
start)
if test -r /var/lock/dssd
then
echo "Lockfile /var/lock/dssd exists. Server not started."
failure
else
echo "Starting Darwin Streaming Server: "
/usr/local/sbin/DarwinStreamingServer && touch /var/lock/dssd
echo "Starting DSS Admin Console: "
/usr/local/sbin/streamingadminserver.pl
echo "DSS and DSS Admin Console started…"
fi
;;
stop)
echo "Stopping Darwin Streaming Server: "
[ -f /var/lock/dssd ] || exit 0
echo "stopping…"
killall DarwinStreamingServer && killall streamingadminserver.pl
#ps ax | awk ‘{print $1" " $5}’ | awk ‘/DarwinStreamingServer/ {print $1}’ | xargs -r kill -9 && success || failure
#echo "Stopping DSS Admin Console: "
#ps ax | awk ‘/streamingadminserver.pl/ {print $1}’ | xargs -r kill -9 && success || failure
rm -f /var/lock/dssd
echo
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
exit 1
esac
exit 0
[/sourcecode]
Save this file in /etc/init.d/dss
Make it executable chmod +x /etc/init.d/dss and make it auto start when booting:
update-rc.d dss defaults
Adding system startup for /etc/init.d/dss …
/etc/rc0.d/K20dss -> ../init.d/dss
/etc/rc1.d/K20dss -> ../init.d/dss
/etc/rc6.d/K20dss -> ../init.d/dss
/etc/rc2.d/S20dss -> ../init.d/dss
/etc/rc3.d/S20dss -> ../init.d/dss
/etc/rc4.d/S20dss -> ../init.d/dss
/etc/rc5.d/S20dss -> ../init.d/dss
Now that we have already installed DSS on Ubuntu Hardy box, next thing is how to broadcast mp3 and video through it. Well, that’s a next post coming up.
Enjoy!

DSS Admin Console