Article Title: how to install the Darwin Streaming Server in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Introduction to Darwin
The Darwin stream server is the opensource version of Apple QuickTime stream server. It is fully developed based on the Code of QuickTime stream server. It implements a mechanism for transmitting QuickTime streams over the network. Darwin has the following features:
1. web management interfaces;
2. Open source code;
3. Supports 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 QuickTime stream server, the performance has been greatly improved;
II. Implementation steps
1. Download Darwin from the apple site:
Http://www.publicsource.apple.com/projects/streaming/release/DarwinStreamingServer5.5-Linux.tar.gz
2. unbind the tar package:
# Tar xvzf DarwinStreamingServer3-Linux.tar.gz
This will generate a DarwinStreamingSrvr3-Linux directory in the current directory to enter the directory.
3. Run the Install installation script to Install Darwin:
#./Install
The directory structure after installation is as follows:
/Usr/local/sbin/QuickTimeStreamingServer? Stream server program directory
/Usr/local/sbin/streamingadminserver. pl-QTSS Web Management Server
/Usr/local/sbin/StreamingServerModules/-QTSS plug-in
/Usr/local/bin/PlaylistBroadcaster? Playlist Broadcast
/Usr/local/bin/qtpasswd? Password File for access control
/Usr/local/bin/SpamPro-RTSP client Tool
/Etc/streaming/-QTSS configuration file
/Usr/local/Movies/-media file placement directory
/Var/streaming/-User Manual
/Var/streaming/logs? Log directory
/Var/streaming/playlists? Manage playlist files on the Web
4. Configure the server:
After the installation is complete, streamingadminserver. pl runs automatically. You can use this perl script (which is actually a small web Server) to manage the Darwin Streaming Server. For future management convenience, you can add a line in the/etc/rc. d/rc. local script:
/Usr/local/sbin/streamingadminserver. pl
In this way, scripts are automatically allowed to be managed every time the system is started.
Enter:
Http: // your_server_name: 1220
Your_server_name is the host name of your stream server. You can also use an IP address.
Then you can enter the web management interface.
Default administrator username: 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 setting for media files. The default value is/usr/local/movies /;
C. Authentication Scheme:
Sets the user authentication scheme. The default value 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 select no, you can specify other ports in the/etc/streaming/streaingloadtool. conf file;
E. Maximum Number of Connections:
Maximum number of customer connections. The default value is 1000;
F. Maximum Throughput:
Maximum bandwidth used. The default value is 100 MB;
G. start/stop the Darwin Streaming Server;
You can also set log files and create a playlist.
5. Install the client:
Download QuickTime from Apple
Http://www.apple.com/quicktime/download/
Install the SDK on windows XP as prompted.
6. test:
After the installation is complete, the/usr/local/movies directory contains a sample. mov file, which can be used for testing. Start QuickTime on the client, and then click
File à Open URL in new player
In the displayed dialog box, enter: rtsp: // your_server_name: 554/sample. mov.
(Assume 554 is used as the service port)