个人建议:使用DarwinStreamingSrvr5.5.5,因为DarwinStreamingSrvr6.0.3安装过程中有很多问题需要解决!而且安装只需执行./Install就可以!

1:下载darwin源代码DarwinStreamingSrvr6.0.3-Source.tar,补丁patch dss-6.0.3.patch

$wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar

$wget http://www.abrahamsson.com/dss-6.0.3.patch

ekin@ubuntu:~/work/darwin$ ls
DarwinStreamingSrvr6.0.3-Source.tar  dss-6.0.3.patch

2:解压DarwinStreamingSrvr6.0.3-Source.tar,打好补丁patch dss-6.0.3.patch

ekin@ubuntu:~/work/darwin$ tar xvf DarwinStreamingSrvr6.0.3-Source.tar
ekin@ubuntu:~/work/darwin$ ls
DarwinStreamingSrvr6.0.3-Source      dss-6.0.3.patch
DarwinStreamingSrvr6.0.3-Source.tar
ekin@ubuntu:~/work/darwin$ patch -p0 < dss-6.0.3.patch

3:修改安装脚本Install

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim Install

if [ $INSTALL_OS = "Linux" ]; then
        /usr/sbin/groupadd qtss > /dev/null 2>&1
        /usr/sbin/useradd -m qtss > /dev/null 2>&1
    else
        /usr/sbin/groupadd qtss > /dev/null 2>&1
        /usr/sbin/useradd qtss > /dev/null 2>&1
    fi

4:  添加qtss用户信息,添加后面安装会报错误提示

chown: invalid user: `qtss'

$ addgroup -system qtss

$ adduser -system -no-create-home -ingroup qtss qtss

5: ./Buildit编译

6: ./buildtarball提示出错,修改Makefile.POSIX,后重新编译

lstdc++ -lm -lcrypt -lCommonUtilitiesLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a
../CommonUtilitiesLib/libCommonUtilitiesLib.a(SDPUtils.o): In function `memset':
/usr/include/i386-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters
DarwinStreamingServer failed to build!
Buildit Failed. Exiting!

$vim Makefile.POSIX

LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib -ldl

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTFileInfo.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTFileTest.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTSampleLister.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/ QTTrackInfo.tproj.tproj/Makefile.POSIX

LIBS+ =  -lpthread

7:进入目录安装DarwinStreamingSrvr-Linux,./Install,提示输入用户名,密码,通过网页登录用.

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ cd DarwinStreamingSrvr-Linux/

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ ,./Install

In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].
Please enter a new administrator user name: ekin

You must also enter a password for the administrator user [Note: The administrator password cannot contain spaces, or quotes, either single or double, and cannot be more than 80 characters long].
Please enter a new administrator Password: 
Re-enter the new administrator password:

8:查看Darwin服务进程是否正确运行

#ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source/DarwinStreamingSrvr-Linux$ ps ax | grep Darwin
 8332 ?        Ss     0:00 /usr/local/sbin/DarwinStreamingServer
 8333 ?        Sl     0:00 /usr/local/sbin/DarwinStreamingServer
 8355 pts/0    S+     0:00 grep --color=auto Darwin

9:http://127.0.0.1:1220可以访问服务器,输入用户名,密码

默认文件路径为/usr/local/movies/
 
10:安装VLC测试darwin服务器
$ sudo apt-get install vlc
 
11:输入rtsp://127.0.0.1/sample_300kbit.mp4播放测试ok
 
转载自:http://blog.csdn.net/ekin1999/article/details/21815027

ubuntu12.04上搭建darwin streaming server6.03的更多相关文章

  1. Ubuntu12.04环境搭建遇到的问题和建议(一个)

    后的新公司需要在Ubuntu12.04在结构Android开发环境,在这个过程中,我们还是会遇到很多问题,这里记录.为了方便自己的未来,有人谁需要参考.从网络! 1. Q:在终端: sudo apt- ...

  2. 在vmware 6.5+ubuntu12.04上安装VMware tools出现问题的分析

    笔者已经写了一篇关于安装"VMware Tools",以实现文件共享的文章,那篇文章对于你实现共享操作是足够了, 所以,倘若你赶时间不如直接去在虚拟机的linux中利用VMware ...

  3. Ubuntu 16.04上搭建CDH5.16.1集群

    本文参考自:<Ubuntu16.04上搭建CDH5.14集群> 1.准备三台(CDH默认配置为三台)安装Ubuntu 16.04.4 LTS系统的服务器,假设ip地址分布为 192.168 ...

  4. Android编译环境——ubuntu12.04上android2.3.4编译错误以及解决

    Android编译环境——ubuntu12.04上android2.3.4编译错误以及解决 分类: android应用开发2013-08-21 09:20 4222人阅读 评论(3) 收藏 举报 li ...

  5. (转)Ubuntu12.04上NFS Server安装使用过程

    原文链接:Ubuntu12.04上NFS Server安装使用过程 实现步骤: 1.服务器端:sudo apt-get install portmap2.服务器端:sudo apt-get insta ...

  6. 在ubuntu14.04上搭建OpenVPN服务

    简介 在连接了不可信的网络环境后,让手机或者计算机安全的访问互联网,使用虚拟专用网络(Virtual Private Network,VPN)是一个解决办法.OpenVPN是一个SSL VPN完整解决 ...

  7. Ubuntu12.04 上使用perl snmpwalk问题

    今天在Ubuntu12.04上使用perl来获取snmp数据,运行时出现下列问题.解决方法安装一下libnet-snmp-perl即可.命令行运行:sudo apt-get install libne ...

  8. ubuntu12.04 gitlab搭建

    最近在尝试内部搭建gitlab,wiki这些工具...我使用的官网的gitlab-ce包一键安装,自己搭建的ubuntu12.04 server服务器. 分配253地址,放在办公室的小角落. 配置过程 ...

  9. 嵌入式开发(一) Ubuntu12.04下搭建交叉编译环境

    操作系统:Ubuntu12.04 AMD64位 交叉编译环境:arm-Linux gcc版本4.4.3 前言: 首先理解一下交叉编译的意思.我们要给嵌入式设备写应用程序,但是又不能在嵌入式设备上完成所 ...

随机推荐

  1. Asp.net MVC 自定义路由在IIS7以上,提示Page Not Found 解决方法

    受限确保自定义路由在开发服务器上Ok! 然后在web.config的<webserver>节点下增加如下配置就好了.   1: <system.webServer> 2: &l ...

  2. POJ3461 Oulipo KMP算法

    这个算法去年的这个时候就已经听过了,看毛片算法哈哈..不过理解它确实花了我很久的时间..以致于我一直很排斥字符串的学习,因为总觉得太难了,但是有些硬骨头还是要啃的,这个寒假就啃啃字符串还有一些别的东西 ...

  3. **php队列的实现思路和详细过程

    http://www.imooc.com/wenda/detail/252185 一.队列使用场景:为什么需要队列在web开发中,我们经常会遇到需要处理批量任务的时候,这些批量任务可能是用户提交的,也 ...

  4. Android 监听ListView、GridView滑动到底部

    // 监听listview滚到最底部 mIndexList.setOnScrollListener(new OnScrollListener() { @Override public void onS ...

  5. java.lang.NoClassDefFoundError: JspException

    在打开jsp页面的时候报错java.lang.NoClassDefFoundError: JspException,如下所示: 原因和解决方案: 原因是由于包不全 把该导的包导进去,在上面的例子就是由 ...

  6. hdu1151 Air Raid

    http://acm.hdu.edu.cn/showproblem.php?pid=1151 增广路的变种2:DAG图的最小路径覆盖=定点数-最大匹配数 #include<iostream> ...

  7. 能量项链//区间DP

    P1056 能量项链 时间: 1000ms / 空间: 131072KiB / Java类名: Main 背景 NOIP2006 提高组 第一道 描述     在Mars星球上,每个Mars人都随身佩 ...

  8. Pythonxy下载链接

    http://pythonxy.connectmv.com/ 版权声明:本文为博主原创文章,未经博主允许不得转载.

  9. JavaWeb项目开发案例精粹-第3章在线考试系统-002配置文件及辅助类

    1. <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5&qu ...

  10. 256. Paint House

    题目: There are a row of n houses, each house can be painted with one of the three colors: red, blue o ...