centos6.5 setting up a streaming media server

Source: Internet
Author: User
Tags gz file

Here's how to set up an RTSP streaming server on the CentOS 6.5 64-bit installation of the Darwin streaming server:
First, I explain the environment of my system:
CentOS 6.5 64-bit minimized installation (with Centos-6.5-x86_64-minimal.iso), close iptables and SELinux:
# chkconfig Iptables off
# vi/etc/sysconfig/selinux (change the enforcing to disabled and restart the system)

After installation, at least the following 5 components must be installed to ensure the normal installation and operation of the software:
Yum-y install gcc gcc-c++ perl ld-linux.so.2 libstdc++.so.6

Third, SSH login, and switch to the root user;

Iv. Download the Darwin streaming Server v5.5.5 Linux installation package:
Download the http://dss.macosforge.org/downloads/DarwinStreamingSrvr5.5.5-Linux.tar.gz and upload it to the server via SFTP or FTP.
If the server can be online, you can also download it directly with the wget command:
# wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr5.5.5-Linux.tar.gz

V. Unpacking the darwinstreamingsrvr5.5.5-linux.tar.gz file:
# TAR-ZXVF Darwinstreamingsrvr5.5.5-linux.tar.gz

Six, CD to Darwinstreamingsrvrlinux-linux directory:
# CD Darwinstreamingsrvrlinux-linux

Vii. installation of Darwin streaming Server v5.5.5:
#./install

Open the browser and visit the Darwin Streaming Server Web interface (IP to your server's IP):

http://ip:1220/

Initial Setup Wizard:
1, Setup Assistant MP3 broadcast Password: Enter your password here again, then click Next Next;
2, Setup Assistant Secure Administration: Do not tick, direct click Next Next;
3, Setup Assistant Media Folder: The default is/usr/local/movies, not recommended to modify, direct point next next;
4. Setup Assistant streaming on port 80: Do not recommend changing the port, click Finish to complete the Setup wizard.

Ix. test whether the RTSP streaming service is available:
I used the VLC media Player player test to first open VLC media player, then click on the top left corner "media"-"open Network Stream" and enter the network URL, for example I want to play/usr/local/movies under the sample_h264_ 1mbit.mp4, open the following link:
Rtsp://192.168.200.77/sample_h264_1mbit.mp4

Ten, start-up and boot automatically:
1. Manual operation:
# Sudo/usr/local/sbin/darwinstreamingserver
# sudo/usr/local/sbin/streamingadminserver.pl
Note:
The first command is to turn on the Darwinstreamingserver service, and the service will be able to access streaming media through RTSP.
The second command opens a Web server (default port 1220).
2, if you want to start the automatic operation, then the above two commands (not sudo) added to the/etc/rc.local file (exit 0) can be.



Original: http://www.yimiju.com/articles/567.html

centos6.5 setting up a streaming media server

Related Article

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.