CentOS 6.2安装Darwin Streaming Server

前端之家收集整理的这篇文章主要介绍了CentOS 6.2安装Darwin Streaming Server前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、环境

系统:CentOS6.2_64

Darwin版本:6.0.3

2、准备工作

2.1 添加qtss组:

groupadd --system qtss

2.2 添加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

原文链接:https://www.f2er.com/centos/375960.html

猜你在找的CentOS相关文章