CentOS 6.2安裝Darwin Streaming Server


1、環境

系統:CentOS6.2_64

Darwin版本:6.0.3

2、准備工作

2.1 添加qtss組:

groupadd --system qtss

2.2 添加qtss用戶到qtss組:

adduser qtss

passwd qtss

useradd -g qtss qtss

2.3 安裝軟件

yum install gcc gcc-c++ make patch -y

3、安裝腳本

腳本如下:

#! /bin/bash

wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar
tar -xvf DarwinStreamingSrvr6.0.3-Source.tar
mv DarwinStreamingSrvr6.0.3-Source DarwinStreamingSrvr6.0.3-Source.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-6.0.3.patch
patch -p0 < dss-6.0.3.patch
mv DarwinStreamingSrvr6.0.3-Source.orig DarwinStreamingSrvr6.0.3-Source
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch
patch -p0 < dss-hh-20080728-1.patch
#need to answer n then y
cd DarwinStreamingSrvr6.0.3-Source
mv Install Install.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/Install
chmod +x Install
./Buildit
./Install

4、安裝

賦予執行權限:chmod a+x auto.sh  

執行安裝:./auto.sh

腳本會自動下載、解壓、編譯、安裝

5、開機啟動

vi /etc/rc.local

添加如下代碼:

perl /usr/local/sbin/streamingadminserver.pl 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM