hiweed上架设流媒体服务器-helix server

王朝厨房·作者佚名  2007-01-05
宽屏版  字体: |||超大  

hiweed上架设流媒体服务器-helix server提交人: lcnja 时间: 二, 04/26/2005 - 05:16 Server | 学习笔记

这几天试了一下在linux下架设流媒体站helix-server,写写过程,希望对后来人有帮助,网络上某些地方也有,我看了,试了,结果老是报错,我的按照我的环境做好的,别人只是个参考,安装过程如下

hiweed上架设流媒体服务器-helix server

提交人: lcnja 时间: 二, 04/26/2005 - 05:16 Server | 学习笔记

这几天试了一下在linux下架设流媒体站helix-server,写写过程,希望对后来人有帮助,网络上某些地方也有,我看了,试了,结果老是报错,我的按照我的环境做好的,别人只是个参考,安装过程如下

1 软件的来源

Http://www.souxin.com

Helix Universal Server Mobile For Linux v10.3.1.716

懒的就直接这个地方

http://souxin.gzrail.net/software/Helix%20Universal%20Server%20Mobile%20For%20Linux%20v10.3.1.716.rar

因为我是在虚拟机上安装的,现在是下到win2000的机器上的,所以我先就把压缩解了,而且里面的rar还有密码,在linux下解麻烦,然后通过samba丢到hiweed机器上去(ip192.168.0.150)

mbrs1003-linux-22libc6-ia32.bin license.lic就这两个文件,前面是安装文件,后面是license

login as: root

Using keyboard-interactive authentication.

Password:

Last login: Tue Apr 26 02:58:21 2005 from 192.168.0.58

debian:~#

debian:~#

debian:~# /home/samba/netlogin/m

mbrs1003-linux-22libc6-ia32.bin mp3

debian:~# /home/samba/netlogin/mbrs1003-linux-22libc6-ia32.bin

Extracting files for Helix installation........

Welcome to the Helix Mobile Server 10.03 (10.3.1.716) Setup for UNIX

Setup will help you get Helix Mobile Server running on your computer.

Press [Enter] to continue...

这里按回车继续

If a Helix Mobile Server license key file has been sent to you,

please enter its directory path below. If you have not

received a Helix Mobile Server license key file, then this server

WILL NOT OPERATE until a license key file is placed in

the server's License directory. Please obtain a free

Basic Helix Mobile Server license or purchase a commercial license

from our website at http://www.real.com/. If you need

further assistance, please visit our on-line support area

at http://service.real.com/.

License Key File: []:

这里要你输入license.lic文件的路径,我输入/home/samba/netlogin/license.lic然后回车

Installation and use of Helix Mobile Server requires

acceptance of the following terms and conditions:

Press [Enter] to display the license text...

按回车显示license的内容,我们按回车

Installation and use of Helix Mobile Server requires

acceptance of the following terms and conditions:

Press [Enter] to display the license text...

extracting text from file /home/samba/netlogin/license.lic

TEAM ZWT

Choose "Accept" to accept the terms of this

license agreement and continue with Helix Mobile Server setup.

If you do not accept these terms, enter "No"

and installation of Helix Mobile Server will be cancelled.

I accept the above license: [Accept]:

问是否同意,回车同意

Enter the complete path to the directory where you want

Helix Mobile Server to be installed. You must specify the full

pathname of the directory and have write privileges to

the chosen directory.

Directory: [/root]:

输入安装文件夹的完整路径,我们输入/home/samba/netlogin/helix然后回车,大家最好放到usr下面去吧

Please enter a username and password that you will use

to access the web-based Helix Mobile Server Administrator and monitor.

Username []: root

Password []:

Confirm Password []:

输入helix的管理员名字和密码,并确认密码

Please enter a port on which Helix Mobile Server will listen for

PNA connections. These connections have URLs that begin

with "pnm://"

Port [7070]:

设置pna连接监听端口,这里回车默认

Please enter a port on which Helix Mobile Server will listen for

RTSP connections. These connections have URLs that begin

with "rtsp://"

Port [554]:

回车默认

Please enter a port on which Helix Mobile Server will listen for

HTTP connections. These connections have URLs that begin

with "http://"

Port [80]:

因为我的80口被apache占用,这里设置8080,然后回车

Please enter a port on which Helix Mobile Server will listen for

MMS connections. These connections have URLs that begin

with "mms://"

Port [1755]:

回车默认

Helix Mobile Server will listen for Administrator requests on the

port shown. This port has been initialized to a random value

for security. Please verify now that this pre-assigned port

will not interfere with ports already in use on your system;

you can change it if necessary.

Port [25610]:22222

这里是设置管理端口,我设置22222,然后回车

You have selected the following Helix Mobile Server configuration:

Admin User/Password: root/****

Encoder User/Password: root/****

Monitor Password: ****

RTSP Port: 554

HTTP Port: 8080

PNA Port: 7070

MMS Port: 1755

Admin Port: 22222

Destination: /home/samba/netlogin/helix

Enter [F]inish to begin copying files, or [P]revious to go

back to the previous prompts: [F]:

最后检查一次,然后回车继续

Copying Helix Mobile Server files...

开始拷贝文件到指定目录,然后就可以完成安装

If at any time you should require technical

assistance, please visit our on-line support area

at http://service.real.com/.

Cleaning up installation files...

Done.

完成安装

然后是服务器的启动

1手工启动

debian:~# /home/samba/netlogin/helix/Bin/rmserver /home/samba/netlogin/helix/rmserver.cfg

后面的文件是配置文件,必须写,否则启动失败

Helix Mobile Server (c) 1995-2003 RealNetworks, Inc. All rights reserved.

Version: Helix Mobile Server 10.03 (10.3.1.716) (Build 36350/3152)

Platform: linux-2.2-libc6-i586-server

Using Config File: /home/samba/netlogin/helix/rmserver.cfg

Creating Server Space...

Server has allocated 256 megabytes of memory

Starting PID 3011, procnum 1 (timer)

Calibrating timers...

Interval timer enabled (10ms resolution).

Starting PID 3012, procnum 2 (core)

Starting Helix Mobile Server 10.03 Core...

1 CPU Detected...

Linux kernel version 2.6.8-1-686 detected

Testing File Descriptors...

Setting per-process descriptor capacity to 677(1011), 11...

Testing Mutex...(291.44 ops/usec)

Testing AtomicOps...(62.14 ops/usec)

I: Loading Plugins from /home/samba/netlogin/helix/Plugins...

I: slicensepln.so 0x401b8d90 RealNetworks Licensing Plugin

I: mp3fformat.so 0x401e3df0 RealNetworks MP3 File Format Plugin

I: imgfformat.so 0x4021cf40 Helix JPEG File Format Plugin

I: imgfformat.so 0x4021cf40 Helix GIF File Format Plugin

I: imgfformat.so 0x4021cf40 Helix PNG File Format Plugin

I: imgfformat.so 0x4021cf40 Helix RealPix Format Plugin

I: imgfformat.so 0x4021cf40 Helix RealPix JPEG File Format Codec Plugin

I: imgfformat.so 0x4021cf40 Helix RealPix GIF File Format Codec Plugin

I: imgfformat.so 0x4021cf40 Helix RealPix PNG File Format Codec Plugin

I: imgfformat.so 0x4021cf40 Helix WBMP File Format Plugin

I: smlfformat.so 0x402b5590 RealNetworks SMIL File Format Plugin

I: mpgfformat.so 0x402d4c50 RealNetworks MPEG File Format Plugin

I: smplfsys.so 0x402f6310 RealNetworks Local File System

I: httpfsys.so 0x403245f0 RealNetworks HTTP File System with CHTTP Support

I: httpfsys.so 0x403245f0 RealNetworks RFC 2397 Data Scheme File System

I: adminfs.so 0x4037c2b0 RealNetworks Admin File System

I: shelfsys.so 0x403c0314 RealNetworks Shell File System

I: tagfsys.so 0x403d00d0 RealNetworks XMLTagFileSystem

I: hxsdp.so 0x403e989c RealNetworks SDP Stream Description Plugin

I: authmgr.so 0x40418c60 Helix Authentication Manager

I: tmplgpln.so 0x40449280 RealNetworks Custom Logging Plugin

I: ppvbasic.so 0x404787a4 RealNetworks FlatFile Database Plugin

I: svrbascauth.so 0x40492b20 RealNetworks Basic Authenticator

I: dbmgr.so 0x404ada30 RealNetworks Database Manager

I: ramplin.so 0x404c5310 RealNetworks Ramgen File System

I: pplyplin.so 0x404dcc20 RealNetworks Scalable Multicast Plugin

I: qtbcplin.so 0x40512ac0 RealNetworks QuickTime Live Broadcast Plugin

I: smonplin.so 0x40531ab0 RealNetworks System Monitor

I: ppvallow.so 0x40549764 RealNetworks Pay Per View Allowance Plugin

I: rn5auth.so 0x4056b150 RealNetworks RN5 Authenticator

I: avifformat.so 0x4058c490 RealNetworks AVI File Format Plugin

I: swfformat.so 0x405aa2a0 Helix Macromedia Flash 4 File Format Plugin

I: mp4fformat.so 0x405e04d0 RealNetworks Mpeg4 File Format Plugin

I: rmfformat.so 0x40623730 RealNetworks RealMedia File Format Plugin

I: rtfformat.so 0x40672fa0 Helix RealText File Format Plugin

I: allow.so 0x406a7ec8 RealNetworks Basic Allowance Plugin

I: inclrep.so 0x406c0a40 RealNetworks Include TagHandler

I: plusplin.so 0x406d8a80 RealNetworks PlusURL File Format Plugin

I: vsrcplin.so 0x4070f0c0 RealNetworks View Source Tag Replacement Plugin

I: vsrcplin.so 0x4070f0c0 RealNetworks View Source Allowance Plugin

I: vsrcplin.so 0x4070f0c0 RealNetworks View Source File System

I: brcvplin.so 0x4075b3b0 RealNetworks Broadcast Reception Plugin

I: meiffpln.so 0x407b6560 RealNetworks Media Export File Format Plugin

I: meiplin.so 0x407de030 RealNetworks Media Export Interface Plugin

I: miiplin.so 0x40818ea0 RealNetworks Media Import Plugin

I: rncache.so 0x40891210 RealNetworks Cache Plugin

I: asfwmpln.so 0x408b6e88 RealNetworks Active Stream Format Version 1 Plugin

I: asncfsys.so 0x408d0c80 RealNetworks Network Optimized File System

I: encfs.so 0x408e6770 RealNetworks Encoder Administration File System Plugin

I: ptagent.so 0x408fe770 RealNetworks PSS Profile Transfer Agent

I: adtagrep.so 0x40927030 RealNetworks Ad Insertion Tag Replacement Plugin

I: asxplin.so 0x40953300 RealNetworks Asxgen File System

I: csspplin.so 0x40966550 RealNetworks License Subscriber Plugin

I: dlicepln.so 0x40987260 RealNetworks License Publisher Plugin

I: pxadsvff.so 0x409bc0a0 RealNetworks RealPix Adserving File Format Plugin

I: archplin.so 0x40a0bacc RealNetworks Live Archiver Plugin

I: xmlcfg.so 0x40a98ce0 RealNetworks XML Configuration Plugin

I: redbcplin.so 0x40ac4af0 RealNetworks Broadcast Redundancy Plugin

I: wmmcastpln.so 0x40ae61f0 RealNetworks Windows Media Multicast Plugin

I: bdstplin.so 0x40b05640 RealNetworks Broadcast Distribution Plugin

I: wmsrcpln.so 0x40b372e0 RealNetworks Windows Media Live Broadcast Source Plugin

I: encoplin.so 0x40b7def0 RealNetworks Encoder Broadcast Plugin

I: cdadplin.so 0x40c1b940 RealNetworks Content Distribution Advise Plugin

I: cdistpln.so 0x40c31810 RealNetworks Content Distribution Plugin

I: sdpgenfsys.so 0x40c45700 RealNetworks Dynamic SDP Generation Plugin

I: smlgenfs.so 0x40c63a40 RealNetworks SMIL Generation File System

I: ppvmsql.so 0x40cb097c RealNetworks Mini SQL PPV Database Plugin

Starting PID 3013, procnum 3 (rmplug)

Loading Helix Server License Files...

Starting PID 3014, procnum 4 (rmplug)

Starting PID 3015, procnum 5 (rmplug)

Starting PID 3016, procnum 6 (rmplug)

Starting PID 3017, procnum 7 (rmplug)

Starting PID 3018, procnum 8 (rmplug)

Starting PID 3019, procnum 9 (rmplug)

Starting PID 3020, procnum 10 (rmplug)

Starting PID 3021, procnum 11 (rmplug)

Starting PID 3022, procnum 12 (rmplug)

Starting PID 3023, procnum 13 (rmplug)

Starting PID 3024, procnum 14 (rmplug)

Starting PID 3025, procnum 15 (rmplug)

Starting PID 3026, procnum 16 (rmplug)

Starting PID 3027, procnum 17 (rmplug)

Starting PID 3028, procnum 18 (rmplug)

Starting PID 3029, procnum 19 (rmplug)

Starting PID 3030, procnum 20 (rmplug)

Starting PID 3031, procnum 21 (rmplug)

Starting PID 3032, procnum 22 (memreap)

Starting PID 3033, procnum 23 (streamer)

到这里就启动了,如果用helix的什么开源版本这里就会报错

然后我们打开一个浏览器

输入如下地址http://helix的ip:管理端口/admin/index.html,后面的一定要写上,不可以写http://192.168.0.150:22222,这样是打不开配置界面的

我们来打开http://192.168.0.150:22222/admin/index.html

输入先设置的用户和密码

打开界面,首先我们绑定ip

选择IP Binding

然后在Edit IP Address 里面填写绑定的ip

我写的是192.168.0.150

然后应用,然后就有个弹出窗口告诉你要restart服务器才可以使配置生效,点确定

然后设置加载点

打开Mount Points

点Mount Point Description 右边的加号

然后选择Content1这一行来改

Edit Description 这里是加载点描述

mp3

Mount Point 加载点

/mp3/ 这里后面一定有个/不可以掉

Base Path 基本路径

/home/samba/netlogin/mp3 后面一定不要加/哦,否则就错了

Base Path

Location

Network Local 问基本路径是本地的还是网络的

Cacheable by Caching Subscribers

Yes No

是否缓存,选择是

然后点apply

然后从新启动服务器

点右上角的restart server

Please standby while the server is restarted. You will be returned to your previous page in approximately 20 seconds.

If you should experience problems, check to make sure the server is running, and click the reload pages button at the top of the screen.

然后等20秒就ok了

这是最基本的,放在加载点里面的文件不可以是中文的,例如,我想听2002年的第一场雪,我将文件改了个名字叫2002.mp3,cp到/home/samba/netlogin/mp3下面,然后在realone里面输入地址

rtsp://192.168.0.150/mp3/2002.mp3

等加载完了就可以听

如果你再用apache+php4+mysql做个点播界面就更加好了哦,如果你真的要一个好的流媒体站记得内存一定要大大的,否则有你受的哦

情灭缘尽

04.26.2005 武汉

» lcnja 的网络日志 | 登入或者注册后才可以发帖

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有