DSS服务器安装

2009-05-13 12:38:47来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

如果不行去/usr/ports/net/DarwinStreamingServer用
[url=javascript:;]PORTS[/url]
[url=javascript:;]安装[/url]
试试
ps:
-----------------------------------------------------
o Set up DSS Administrator Username/Password.
$Username$ is an account for DSS Administration, e.g. admin,

[url=javascript:;]root[/url]
, etc...
# qtpasswd -c $Username$
# echo admin: $Username$ > /usr/local/etc/streaming/qtgroups
NOTICE: qtpasswd will create

[url=javascript:;]new[/url]
file with -c option. Please
see also `qtpasswd -h'(mostly same as htpasswd).
NOTICE: qtgroups file will contain user(s) separated by white space
of group(s).
/* /usr/local/bin里有个qtpasswd
/usr/local/share/DarwinStreamingServer/movies/是存放电影的地方
*/
---------------------------------------------------
Apple公司的Darwin Streaming Server (DSS)是QuickTime Streaming Server的开放源代码版本。APPLE公司不仅提供了在

[url=javascript:;]Linux[/url]
,solaris和Windows平台上的二进制版本,而且还提供了源代码供大家学习研究。
你可以在下面的网址下载DSS源代码的最新版本,现在最新的版本是5.0.1.1 :

[/url]
[url=javascript:;]http
://developer.apple.com/darwin/projects/streaming/
你需要使用unzip软件解压缩源代码包,如果没有安装你可以从下面的网址
[url=javascript:;]下载[/url]
这个软件:

ftp://ftp.info-zip.org/pub/infozip/src/
bash-2.05b# unzip DarwinStreamingSrc5.0.1.1.zip
bash-2.05b# cd DarwinStreamingSrc5.0.1.1
使用unzip命令解开源代码包,并进入源代码目录
使用你喜欢的编辑器修改Buildit文件,将COMPILER_FLAGS=改为COMPILER_FLAGS="-mcpu=pentiumpro"(在文件的91行)。
bash-2.05b# ./Buildit
Darwin Streaming Server
Configuring for the FreeBSD i386 platform
……………………
使用Buildit脚本编译在FreeBSD平台下的DSS服务器
bash-2.05b# ./DSS_MakeRoot -f /tmp/darwin
使用DSS_MakeRoot脚本建立一个安装包。/tmp/darwin是一个临时的文件夹,不要使用/var/streaming作为临时文件夹。
bash-2.05b# cd /tmp/darwin/
进入刚才的临时目录
bash-2.05b# chmod +x /usr/local/sbin/streamingadminserver.pl
为streamingadminserver.pl文件增加可执行属性,否则安装的时候会报错。
bash-2.05b# ./Install
使用Install脚本安装DSS服务器到你的系统中,安装的过程中会提示你输入管理员的用户名和密码。
bash-2.05b# /usr/local/sbin/DarwinStreamingServer

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBsd5.4+pf+squid反向代理实战笔记

下一篇:apache2 下载限速