How to install Darwin Streaming Server under Linux

  

I. Introduction to Darwin


Darwin Streaming Server is an opensource version of Apple's QuickTime Streaming Server. It is based on QuickTime Streaming Server code development. A mechanism for spreading QuickTime streams over a network. Darwin has the following characteristics:


1. Has a web management interface;

2. Open source code;

3. Support for Mac OS X Server, Linux, Solaris, FreeBSD, Windows NT 4.0/Windows 2000 Server and other operating systems;

4. Compared with the previous version of the QuickTime stream server, the performance has been greatly enhanced;


Second, the implementation steps


1. Download Darwin from the Apple website:


http://www.publicsource.apple.com/projects/streaming/release/DarwinStreamingServer5.5-Linux.tar.gz

< BR>2. Unpack the tarball:


# tar xvzf DarwinStreamingServer3-Linux.tar.gz


This will generate a DarwinStreamingSrvr3-Linux directory in the current directory and enter the directory.


3. Execute the Install script to install Darwin:


# ./Install


The directory structure after installation is as follows:


/usr/local /sbin/QuickTimeStreamingServer - Streaming Server Program Directory

/usr/local/sbin/streamingadminserver.pl - QTSS Web Management Server

/usr/local/sbin/StreamingServerModules/- QTSS Plugin

/usr/local/bin/PlaylistBroadcaster – Playlist Broadcast

/usr/local/bin/qtpasswd – Password File for Access Control

/usr/local/bin/SpamPro - RTSP Client Tools

/etc/streaming/- QTSS Configuration File

/usr/local/Movies/- Media File Placement Directory

/var/streaming/- User Manual

/var/streaming/logs – Log Directory

/var/streaming/playlists – Web Management Playlist File


4. Configure the server:


streamingadminserver.pl will run automatically after the installation is complete. You can manage the Darwin streaming server through the perl script (in fact, a small web server). For future management, you can add a line to the /etc/rc.d/rc.local script:

/usr/local/sbin/streamingadminserver.pl

This way every time the system starts The management script is automatically allowed.


In any browser that can access the server's client, enter:

http://your_server_name:1220

your_server_name is yours The host name of the streaming server, of course, can also use the ip address.


Then you can enter the web management interface.

Default Administrator User Name: streamingadmin

Default Administrator Password: default


After entering the web management interface, you can perform the following configurations:

a. Server Snapshot: Server Status Monitoring;

b. Movies Directory:

Directory settings for placing media files, default is /usr/local/movies/

c. Authentication Scheme:

Set the user authentication scheme, the default is Digest, if you use the QuickTime4 client, you must select Basic;

d. Streaming on Port 80 :

Set whether to use port 80 as the server service port. If you choose No, you can specify other ports in the /etc/streaming/streaingloadtool.conf file;

e. Maximum Number of Connections:

Maximum number of client connections, default is 1000;

f. Maximum Throughput:

Maximum bandwidth used, default is 100M;

g. Start/stop the Darwin streaming server;

Other log file settings and playlist creation.


5. Install the client:


Download QuickTime from Apple

http://www.apple.com/quicktime/download/Br>

Then follow the prompts to install under Windows XP.


6. Test:


After the installation is complete, there will be a sample.mov file in the /usr/local/movies directory, which we can use to test. First start QuickTime on the client, then click

Fileà Open URL in new player in the menu

In the pop-up dialog box, enter: rtsp://your_server_name:554/sample.mov

(Here is assumed to use 554 as a service port)

Copyright © Windows knowledge All Rights Reserved