ubuntu12.04上搭建darwin streaming server6.03
2020-11-27 08:40
标签:style blog c tar color http 个人建议:使用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 2:解压DarwinStreamingSrvr6.0.3-Source.tar,打好补丁patch dss-6.0.3.patch ekin@ubuntu:~/work/darwin$ tar xvf
DarwinStreamingSrvr6.0.3-Source.tar 3:修改安装脚本Install ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim
Install if [ $INSTALL_OS = "Linux" ];
then 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 $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]. 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]. 8:查看Darwin服务进程是否正确运行 #ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source/DarwinStreamingSrvr-Linux$ ps
ax | grep Darwin 9:http://127.0.0.1:1220可以访问服务器,输入用户名,密码 ubuntu12.04上搭建darwin streaming server6.03,搜素材,soscw.com ubuntu12.04上搭建darwin streaming server6.03 标签:style blog c tar color http 原文地址:http://www.cnblogs.com/xiaofengkang/p/3730309.html
DarwinStreamingSrvr6.0.3-Source.tar
dss-6.0.3.patch
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
/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
../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!
Please enter a new administrator user name: ekin
Please enter a new
administrator Password:
Re-enter the new administrator password:
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
文章标题:ubuntu12.04上搭建darwin streaming server6.03
文章链接:http://soscw.com/essay/22861.html