Darwin Streaming Server CentOS 5.5 x86_64

 

Hi Everyone,

There are alot of guides out there for installing DSS on centos, each one a little different from the last and the same comments over and over with the same issues experienced by users.

I will try to keep a regularly maintained basline here to assist everyone that is trying to work with DSS.

So first things first you need to get the DSS source:

# wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
# tar -xf DarwinStreamingSrvr6.0.3-Source.tar
# cd DarwinStreamingSrvr6.0.3-Source
# wget http://www.abrahamsson.com/dss-6.0.3.patch
# patch -p1 < dss-6.0.3.patch
# wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch
# patch -p1 < dss-hh-20080728-1.patch
# ./Buildit

Now you need the install file I modified
Goto http://pastebin.com/raw.php?i=NWLRTj5X and copy this code into a new file named install.sh

or

‘wget http://pastebin.com/raw.php?i=NWLRTj5X’ then ‘mv raw.php\?i\=NWLRTj5X install.sh’ (note you will need to remove the xhtml crap at the top if you do it the second way.) so you are left with at the top:

#!/bin/bash

# Install script for the Darwin Streaming Server
# source release

Now you need to make your new install.sh executable and run it.

# chmod 755 install.sh
# ./install.sh

During the install you will be asked to anter an admin username and password after that is done the install.sh will complete and you can go and test your server at http://<servername_or_ip:1220

The DSS should have automaticaly started but if not you can run:
# /usr/local/sbin/streamingadminserver.pl

Most of the instructions I have put on this post I learned via
http://www.hiteshagrawal.com
http://mikehillyer.com

If you want me to set up your DSS for you vote here

Happy Streaming
:)

If anyone has any issues with this or needs any help, leave me a comment and I will get back to you.

Anthony.

About these ads

10 Responses

  1. @rajat did you get that sorted? if not drop me a comment with a way to contact you, I am happy to check it out for you.

  2. @chirag you need to run that as root.

  3. Thank you all for your helpfull posts.I have one question that after setting up the darwin server how we can use it for live streaming.I have tried providing a live feed to the server using vlc but no success. ?

  4. Oh I should mention, while I did get the install and admin interface to work, the streaming itself doesn’t. But that could be something completely unrelated.

  5. I had 2 problems, one was with useradd and the other was the “message file” error that Chirag. I tried this on an older Debian server that I only update when necessary, so many packages and such on it may be out of date.

    I solved the useradd issue by simply removing the -M, as it appeared to be invalid for the version of useradd on my system.

    I solved the “message file” error by simply changing one line in your install script in the area where it checks for existence of the AdminHtml directory. I think you made a simple typo there.

    I changed:
    if [ ! -d /var/streaming/ ]; then
    to
    if [ ! -d /var/streaming/AdminHtml/ ]; then
    so that it would be true and enter the block where the directory is created.

    Thanks for all this.

  6. Hi Chirag,

    thats a new one, what OS are you using?

    Have a look in your WebAdminHtml dir for a directory called “html_en” or do “find / -name html_en”

    also do the same for a directory called “en” in the same place I can only assume that they have not copied over during install for some reason, if not you can extract them from the DarwinStreamingSrve6.0.3-Source and put them in your WebAdminHtml folder.

    Let me know how you get on with this, if thats not it I will pull the .pl apart and find out exactly what the error referes to and where it is looking.

    http://lmas-networks.com

  7. Hi,
    I am getting following error while using command
    /usr/local/sbin/streamingadminserver.pl

    Error:
    Couldn’t find the en language messages file! at ./streamingadminserver.pl

  8. Thanks Mac, good to know it works on Ubuntu Server too :)

  9. BTW.. this works on Ubuntu Server… Again.. Brilliant..

  10. Brillant! Thank you Thank you…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: