Install DarwinStreamingServer in RHEL6.4

Source: Internet
Author: User
1 software and hardware environment 1.1 hardware environment CPUIntel (R) Core (TM) 2QuadCPUQ9300@2.50GHz memory 8 GB hard drive 80 GB Nic AtherosCommunitionsPCI-EGigabitEtherentController (NDI 1 software and hardware environment 1.1 hardware environment

CPU

Intel (R) Core (TM) 2 Quad CPU Q9300 @ 2.50 GHz

Memory

8 GB

Hard Disk

80 GB

Nic

Atheros Communitions PCI-E Gigabit Etherent Controller (NDIS 6.20)

1.2 software environment

Operating System

RHEL6.4 _ x86_64

Media Server

DarwinStreamingServer-6.0.3-4.x86_64.rpm

Media Client

Firefox;

Ffplay;

VLC Player

Recommended reading:

  • Installing the Red5 http://www.linuxidc.com/Linux/2013-07/87728.htm in RHEL6.4
  • Install the HelixServer http://www.linuxidc.com/Linux/2013-07/87727.htm in RHEL6.4
  • Install the Wowza Media Server http://www.linuxidc.com/Linux/2013-07/87729.htm in RHEL6.4
  • Install the Darwin Streaming Server 6.0.3 http://www.linuxidc.com/Linux/2013-07/87730.htm in Linux
2 installation configuration 2.1 prepare 2.1.1 select deployment mode before installation

The Darwin Server can be deployed on one Server or multiple servers as a cluster environment. This time, it is deployed on only one machine.

2.1.2 download the Darwin Server Software Package

: Http://www.sysarchitects.com/files/darwinstreamingserver-6.0.3-4.x86_64.rpm.

The downloaded file is: DarwinStreamingServer-6.0.3-4.x86_64.rpm.

2.1.3 install mpeg4ip

Because Darwin Media Server requires that the video file must contain the hint track, and the tool for adding the hint track is mpeg4ip. You can use the source code for installation, but the simple method is to download the mpeg4ip rpm package for installation. You may need to download and install some dependency packages. This step is relatively simple and will not be repeated.

2.2 Installation Steps

Because the rpm package installation method is used, the installation procedure is very simple, execute the following command: rpm-ivh DarwinStreamingServer-6.0.3-4.x86_64.rpm, you can install.

[Root @ yuanhuan install_softwares] # rpm-ivh DarwinStreamingServer-6.0.3-4.x86_64.rpm

Preparing... ######################################## ### [100%]

1: darwinStreamingServer ####################################### #### [100%]

Creating administrator user with default password. Please change it by running qtpasswd

Setting permissions on/etc/dss/streamingserver. xml

Starting Darwin Streaming Server: [OK]

Starting Darwin Streaming Admin Server: [OK]

 

As prompted, after the command is executed, the Darwin Streaming Server and the Admin Server are started together. By default, an administrator named "administrator" has been created. The password is password. Now you can run qtpasswd to modify the password. The command is qtpasswd-c-p.NEW_PASSWORDAdministrator. You can also change the user name and password on the console. You can also configure some permission policies in/etc/dss/streamingserver. xml.

2.3 check installation result 2.3.1 check port number

Log on to Linux as a root user and run the following command: netstat-anp | grep "LISTEN" to check the port number.

[Root @ yuanhuan ~] # Netstat-anp | grep "LISTEN"

Tcp 0 0 0.0.0.0: 111 0.0.0.0: * LISTEN 1676/rpcbind

Tcp 0 0 0.0.0.0: 80 0.0.0.0: * LISTEN 3263/DarwinStreamin

Tcp 0 0 0.0.0.0: 36277 0.0.0.0: * LISTEN 1724/rpc. statd

Tcp 0 0 0.0.0.0: 22 0.0.0.0: * LISTEN 1940/sshd

Tcp 0 0 127.0.0.1: 631 0.0.0.0: * LISTEN 1792/cupsd

Tcp 0 0 0.0.0.0: 1240 0.0.0.0: * LISTEN 3272/perl

Tcp 0 0 127.0.0.1: 25 0.0.0.0: * LISTEN 2021/master

Tcp 0 0 0.0.0.0: 7070 0.0.0.0: * LISTEN 3263/DarwinStreamin

Tcp 0 0 0.0.0.0: 8000 0.0.0.0: * LISTEN 3263/DarwinStreamin

Tcp 0 0 0.0.0.0: 8001 0.0.0.0: * LISTEN 3263/DarwinStreamin

Tcp 0 0 0.0.0.0: 1220 0.0.0.0: * LISTEN 3272/perl

Tcp 0 0 0.0.0.0: 554 0.0.0.0: * LISTEN 3263/DarwinStreamin

Tcp 0 0: 111: * LISTEN 1676/rpcbind

Tcp 0 0: 22: * LISTEN 1940/sshd

Tcp 0 0: 1: 631: * LISTEN 1792/cupsd

Tcp 0 0: 1: 25: * LISTEN 2021/master

Tcp 0 0: 52124: * LISTEN 1724/rpc. statd

 

The red part indicates that the port numbers listened by the Darwin Server are enabled.

2.3.2 check the process

Run the following command to check the processes started by Darwin Server: ps-ef | grep java.

[Root @ yuanhuan ~] # Ps-ef | grep-E "Darwin | perl"

Root 3262 1 0? 00:00:00 DarwinStreamingServer

Qtss 3263 3262 0? 00:00:00 DarwinStreamingServer

Qtss 3272 1 0 16:01? 00:00:00/usr/bin/perl/usr/sbin/streamingadminserver. pl

 

2.3.3 check whether the Darwin Server is automatically started upon startup

Run chkconfig -- list | grep-I dss to check:

[Root @ yuanhuan ~] # Chkconfig -- list | grep dss

Dss 0: Close 1: Close 2: Close 3: Close 4: Close 5: Close 6: Close

 

It can be found that by default, Darwin Server is automatically started without startup. In this case, run the following command to enable the system to start automatically: chkconfig -- level 345 dss on.

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.