How to test DSS from sources in Ubuntu

Source: Internet
Author: User

Http://www.doutdex.com/blog/2008/03/12/install-instalar-darwin-streaming-server-555-dss-in-ubuntu/

Hello guys after two hours trying to install the server finally I finished !!

The steps:

1. Make sure that you have: libc6-dev Linux-libc-dev gcc-3.3 g ++-3.3, if not:
sudo apt-get install libc6-dev linux-libc-dev gcc-3.3 g++-3.3

2. Download The sourcecode of DSS-source-, but before you shoshould create an account in www. Apple/developer

Download darwinstreamingsrvr5.5.5-source.

3. Extract the file directory:
tar xzf DarwinStreamingSrvr5.5.5-Source.tar.gz DarwinStreamingSrvr5.5.5-Source

4. Create a group and user for Darwin:
sudo addgroup --system qtss
sudo adduser --system --no-create-home --ingroup qtss qtss

4.1 not necessary, but if you want change password to qtss (User) for example "XX"
sudo passwd qtss

5. Enter to "darwinstreamingsrvr5.5.5-source" directory and type:
./Buildit install

With this command start to compile DSS and creates a new directory called "darwinstreamingsrvr5.5.5-Linux"

6. Enter to "darwinstreamingsrvr5.5.5-Linux and type:
sudo ./Install

The command will show:
Installing Darwin Streaming Server

Checking for and killing currently running Darwin Streaming Server
Warning: Bad PS syntax, perhaps a bogu '-'? See http://procps.sf.net/faq.html
Warning: Bad PS syntax, perhaps a bogu '-'? See http://procps.sf.net/faq.html
Removing previous versions of Darwin Streaming Server
Removing/usr/local/sbin/darwinstreamingserver

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

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... Qtsshomedirectorymodule [dynamic]
Info: module loaded... Qtssrefmoviemodule [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/samplees
Copying sample_50kbit.3gp into/usr/local/movies/sample_50kbit.3gp
Copying sample_h1__100kbit.mp4 into/usr/local/movies/sample_h1__100kbit.mp4
Copying sample_h1__300kbit.mp4 into/usr/local/movies/sample_h1__300kbit.mp4
Copying sample_h1__1mbit.mp4 into/usr/local/movies/sample_h1__1mbit.mp4
Copying streamingadminserver. pl into/usr/local/sbin/streamingadminserver. pl
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: JeanPaul

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 JeanPaul
Setup complete!

7. Open your browser (Firefox) and type:
http://localhost:1220/

7.1 If DSS is down! Run the DSS Web Server:
sudo /usr/local/sbin/streamingadminserver.pl

8. To listen a MP3 list created:
A:HTTP: /localhost: 8000/mylist (MP3 broadcast)

9. To watch a movie
B:RTSP: // localhost/sample_100kbit.mp4

The followings playes works OK!

Results for player: X: doesn' t work, OK: works, for MP3 and RSTP

MplayerA-XB-OK
VLCA-OKB-OK
Helix x
IBM applet OK x


Directories DSS

The following table presents an overview of the most important files and directories of the Darwin Server:

/Usr/local/sbin/Darwin Streaming Server -- server software
/Usr/local/sbin/streamingadminserver. pl -- web frontend
/Etc/streaming -- configuration dir
/Etc/streaming/streamingserver. xml -- Configuration File Server
/Var/streaming/logs -- logs
/Usr/local/movies -- default directory for video files

Thanks:
Open Streaming Server
Link1
Link2
Ubuntuforums

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.