본문 바로가기

How to Build

Darwin Streaming Server 설치

[작업환경]
* Pentium D820
* 512 MB Ram
* RHEL5-2.6.21.5
* 참조사이트 : http://developer.apple.com/opensource/index.html
------------------------------------------------------------------------
# tar xfz DarwinStreamingSrvr5.5.5-Linux.tar.gz
 
# ./Install

Installing Darwin Streaming Server

Checking for and Killing currently running Darwin Streaming Server
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
Removing previous versions of Darwin Streaming Server
removing /usr/local/sbin/DarwinStreamingServer
removing /usr/local/bin/PlaylistBroadcaster
removing /usr/local/bin/MP3Broadcaster
removing /usr/local/bin/qtpasswd
removing /usr/local/sbin/streamingadminserver.pl
removing /usr/local/bin/StreamingLoadTool

Backing up previous config files
backing up /etc/streaming/streamingserver.xml to /etc/streaming/streamingserver.xml.backup
backing up /etc/streaming/qtusers to /etc/streaming/qtusers.backup
backing up /etc/streaming/qtgroups to /etc/streaming/qtgroups.backup
backing up /etc/streaming/streamingloadtool.conf to /etc/streaming/streamingloadtool.conf.backup

Inserting path to perl into scripts..

Creating unprivileged user to run the server = "qtss".
copying DarwinStreamingServer to /usr/local/sbin/DarwinStreamingServer
copying PlaylistBroadcaster to /usr/local/bin/PlaylistBroadcaster
copying MP3Broadcaster to /usr/local/bin/MP3Broadcaster
copying qtpasswd to /usr/local/bin/qtpasswd
copying createuserstreamingdir to /usr/local/bin/createuserstreamingdir
Generating a new prefs file at /etc/streaming/streamingserver.xml
INFO: Module Loaded...QTSSRefMovieModule [dynamic]
INFO: Module Loaded...QTSSHomeDirectoryModule [dynamic]
INFO: Module Loaded...QTSSFileModule [static]
INFO: Module Loaded...QTSSReflectorModule [static]
INFO: Module Loaded...QTSSRelayModule [static]
INFO: Module Loaded...QTSSAccessLogModule [static]
INFO: Module Loaded...QTSSFlowControlModule [static]
INFO: Module Loaded...QTSSPosixFileSysModule [static]
INFO: Module Loaded...QTSSAdminModule [static]
INFO: Module Loaded...QTSSMP3StreamingModule [static]
INFO: Module Loaded...QTSSAccessModule [static]
WARNING: No users file found at /etc/streaming/qtusers.
WARNING: No groups file found at /etc/streaming/qtgroups.

copying relayconfig.xml-Sample to /etc/streaming/relayconfig.xml-Sample

copying qtusers to /etc/streaming/qtusers

copying qtgroups to /etc/streaming/qtgroups
copying readme.txt to /var/streaming/readme.txt
copying 3rdPartyAcknowledgements.rtf to /var/streaming/3rdPartyAcknowledgements.rtf
copying sample_100kbit.mov into /usr/local/movies/sample_100kbit.mov
copying sample_300kbit.mov into /usr/local/movies/sample_300kbit.mov
copying sample_100kbit.mp4 into /usr/local/movies/sample_100kbit.mp4
copying sample_300kbit.mp4 into /usr/local/movies/sample_300kbit.mp4
copying sample.mp3 into /usr/local/movies/sample.mp3
copying sample_50kbit.3gp into /usr/local/movies/sample_50kbit.3gp
copying sample_h264_100kbit.mp4 into /usr/local/movies/sample_h264_100kbit.mp4
copying sample_h264_300kbit.mp4 into /usr/local/movies/sample_h264_300kbit.mp4
copying sample_h264_1mbit.mp4 into /usr/local/movies/sample_h264_1mbit.mp4
copying StreamingLoadTool to /usr/local/bin/StreamingLoadTool
copying streamingloadtool.conf to /etc/streaming/streamingloadtool.conf
copying streamingadminserver.pl into /usr/local/sbin/streamingadminserver.pl
removing old version of html from /var/streaming/AdminHtml
copying Admin HTML to /var/streaming/AdminHtml directory

Launching streamingadminserver.pl

Installation Complete

Darwin Streaming Server Setup

In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].
Please enter a new administrator user name: tu160


You must also enter a password for the administrator user [Note: The administrator password cannot contain spaces, or quotes, either single or double, and cannot be more than 80 characters long].
Please enter a new administrator Password:
Re-enter the new administrator password:
Adding userName tu160
Setup Complete!

# ps ax
(중략)
 8707 ?        Ss     0:00 /usr/local/sbin/DarwinStreamingServer
 8708 ?        Sl     0:00 /usr/local/sbin/DarwinStreamingServer
 8709 ?        Ss     0:00 /usr/bin/perl /usr/local/sbin/streamingadminserver.pl

# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:8000                0.0.0.0:*                   LISTEN      8708/DarwinStreamin
tcp        0      0 0.0.0.0:8001                0.0.0.0:*                   LISTEN      8708/DarwinStreamin
tcp        0      0 0.0.0.0:1220                0.0.0.0:*                   LISTEN      8709/perl
tcp        0      0 0.0.0.0:554                 0.0.0.0:*                   LISTEN      8708/DarwinStreamin
tcp        0      0 0.0.0.0:7070                0.0.0.0:*                   LISTEN      8708/DarwinStreamin