Darwin streaming server 4.3.1: Installation on Redhat Linux 9 (Shrike)
Having downloaded the DSS4.3.1 source from apples website, it compiled right out of the box
using the ./Buildit script. Installing the server and configuring it however was slightly
more involved than i like with 'normal' software. The following documents the modifications i
made to get it installed, configured and running under a single directory on redhat linux.
(You can probably just take these files and do a global replace for /home/jgilbert/darwin
replacing that with the path where you wish to install to).
- Modify the 'Install' script, and removed the need to be root to install, change paths to
to put all files into a single directory, fix path to to AdminHtml directory and fix paths to
binaries. (new Install script)
- Create a new configuration file detailing the paths and properties for your installation,
which will be used by the web based admin interface.
(new configuration file)
- Update the path in streamingadminserver.pl to point to the location where the new configuration
file created above will reside ($defaultConfigPath = "/home/jgilbert/darwin/etc/adminserver_onedirectory.conf";).
- Modify the streamingserver.xml file to reflect the changes you have made to the layout, and
specify any default properties for your server installation. (new streamingserver.xml file)
The server can then be started with
/home/jgilbert/darwin/sbin/DarwinStreamingServer -c /home/jgilbert/darwin/etc/streamingserver.xml
or started using the web based interface (WebAdmin is run by executing the streamingserveradmin.pl script).
Note, you must be root to run the server if using the default ports.
Other resources
- Tutorial from streaminmedia.com (slightly out of date)
- Linux journal article on using MPEG4IP
- A Diff for FreeBSD installs (probably works fine on any *nix), but doesnt install to a single directory.