• 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 

  • E-Mail : Mike_Zhang@live.com
  • 转载请注明出处,谢谢!
  • 相关阅读:
    opencv打开摄像头
    错误C2280 “std::_Hash<std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_
    QPainter 画点
    错误 C1128 节数超过对象文件格式限制: 请使用 /bigobj 进行编译
    计算关节夹角
    osg绘制闭合曲线
    python opencv 把多张图片合成视频
    matplotlib动态图
    java File renameTo
    qt.qpa.xcb: could not connect to display
  • 原文地址:https://www.cnblogs.com/MikeZhang/p/CentOS6InstallDarwin.html
  • Copyright © 2020-2023  润新知