服务器维护,服务器代维,安全设置,漏洞扫描,入侵检测服务

运维之家

 找回密码
 注册
搜索
查看: 5435|回复: 0

Linux下流媒体Helix Server详细安装和配置

[复制链接]
dirtysea 发表于 2010-3-25 12:58:14 | 显示全部楼层 |阅读模式
Linux下流媒体Helix Server详细安装,配置


Helix.server,(也就是REAL服务器)的开源版本,RM媒体流服务器,没有任何限制的版本.支持RTSP协议,支持RM,MP3等格式,即便是商业用,也能应付的来.
=========================================

下教程中的红色注明部份为输入的命令,蓝色部份为解说

=========================================




一。安装

# ./rs903-linux-cn-22libc6-ia32.c.bin
-bash: ./rs903-linux-cn-22libc6-ia32.c.bin: 权限不够
# chmod 775 rs903-linux-cn-22libc6-ia32.c.bin
# ./rs903-linux-cn-22libc6-ia32.c.bin
Verifying archive integrity... All good.
Uncompressing Crack by ettx,Archiv and patchd by YouRDj
Extracting files for RealNetworks installation......
...........................................................................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
........................................................

Welcome to the Helix Server 9.03 (9.0.3.916) Setup for UNIX
Setup will help you get Helix Server running on your computer.
Press [Enter] to continue...                     
[回车]
If a Helix Server license key file has been sent to you,
please enter its directory path below. If you have not
received a Helix 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 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: []:                            [回车]这里是提示你输入key的位置,这里就不要输了,因为是“非法操作”的破解版
Installation and use of Helix Server requires
acceptance of the following terms and conditions:
Press [Enter] to display the license text...     [回车]
Press [Enter] to display the license text...
REALNETWORKS, INC.
END USER LICENSE AGREEMENT
HELIX(tm) BASIC SERVER FROM
REALNETWORKS(r)
REDISTRIBUTION NOT PERMITTED
Software License for Helix(tm) Basic
Server from RealNetworks(r)
IMPORTANT -- READ CAREFULLY: This
RealNetworks License Agreement ("License
Agreement") is a legal agreement between
you (either an individual or an entity)
and RealNetworks, Inc. and its suppliers
and licensors (collectively "RN") for
RN's Helix Basic Server, which includes
computer software and associated media
and printed materials, whether provided
in physical form or received on-line in
electronic form ("Software").  You may
install only ONE copy of the Software.
By choosing "Accept," installing,
--More--(3%)                 [q] 安“q“键跳过
REALNETWORKS(r)
REDISTRIBUTION NOT PERMITTED
Software License for Helix(tm) Basic
Server from RealNetworks(r)
IMPORTANT -- READ CAREFULLY: This
RealNetworks License Agreement ("License
Agreement") is a legal agreement between
you (either an individual or an entity)
and RealNetworks, Inc. and its suppliers
and licensors (collectively "RN") for
RN's Helix Basic Server, which includes
computer software and associated media
and printed materials, whether provided
in physical form or received on-line in
electronic form ("Software").  You may
install only ONE copy of the Software.
By choosing "Accept," installing,
Choose "Accept" to accept the terms of this
license agreement and continue with Helix Server setup.
If you do not accept these terms, enter "No"
and installation of Helix Server will be cancelled.
I accept the above license: [Accept]:        [回车]   同意以上声明
Enter the complete path to the directory where you want
Helix Server to be installed.  You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory:  [/tmp]: /usr/helix         
[回车]      输入安装目录
Please enter a username and password that you will use
to access the web-based Helix Server Administrator, monitors,
and live encoders:
Username []: admin            [回车]    后台管理的用户
Password []:                  
[回车]   密码
Confirm Password []:          [回车]   再次输入
Please enter a port on which Helix Server will listen for
PNA connections.  These connections have URLs that begin
with "pnm://"
Port [7070]:         [回车]   pnm的默认端口
Please enter a port on which Helix Server will listen for
RTSP connections.  These connections have URLs that begin
with "rtsp://"
Port [554]:                  [回车]   rtsp的默认端口
Please enter a port on which Helix Server will listen for
HTTP connections.  These connections have URLs that begin
with "http://"
Port [80]: 8080           [回车]  
http的默认端口,这里最好有必要改一下,省得以后有端口冲突
Please enter a port on which Helix Server will listen for
MMS connections.  These connections have URLs that begin
with "mms://"
Port [1755]:                  [回车]  mms的默认端口
Helix 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 [15466]: 10465               [回车]后台管理的端口,有必要改成你记得住的!
You have selected the following Helix Server configuration:
Admin User/Password:    admin/****
Encoder User/Password:  admin/****
Monitor Password:       ****
RTSP Port:              554
HTTP Port:              8080
PNA Port:               7070
MMS Port:               1755
Admin Port:             10465
Destination:            /usr/helix
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:         
[回车]
Copying Helix Server files.....
Helix Server installation is complete.
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.




二。破解与启动

把破解lic的两个lic文件DistributedLicensing.lic复制你安装目录下的License目录下。

如果你想对后台管理进行汉化
可以将汉化文件拷贝到HelixAdministrator文件夹覆盖所有内容

[root@HelixServer root]# cd /usr/helix/                **安装后的目录
[root@HelixServer helix]# ./Bin/rmserver rmserver.cfg &  启动Helix Server服务器
[1 ]1981
Helix Server (c) 1995-2004 RealNetworks, Inc. All rights reserved.
Version:   Helix Server 9.03 (9.0.3.916) (Build 29405/2723)
Platform:  linux-2.2-libc6-i586-server
Using Config File: rmserver.cfg
Creating Server Space...
[root@HelixServer helix]# Server has allocated 256 megabytes of memory
Starting PID 1986, procnum 1 (timer)
Calibrating Timers...
I: xmlcfg.so.9.0    0x40ada1d0  RealNetworks XML Configuration Plugin
Starting PID 1988, procnum 3 (rmplug)
Starting PID 1989, procnum 4 (rmplug)
Starting PID 1990, procnum 5 (rmplug)
Starting PID 1991, procnum 6 (rmplug)
Starting PID 1992, procnum 7 (rmplug)
Starting PID 1993, procnum 8 (rmplug)
Starting PID 1994, procnum 9 (rmplug)
Starting PID 1995, procnum 10 (rmplug)
Starting PID 1996, procnum 11 (rmplug)
Starting PID 1997, procnum 12 (rmplug)
Starting PID 1998, procnum 13 (rmplug)
Starting PID 1999, procnum 14 (rmplug)
Starting PID 2000, procnum 15 (rmplug)
Starting PID 2001, procnum 16 (rmplug)
Starting PID 2002, procnum 17 (rmplug)
Starting PID 2003, procnum 18 (rmplug)
Starting PID 2004, procnum 19 (rmplug)
Starting PID 2005, procnum 20 (rmplug)
Starting PID 2006, procnum 21 (rmplug)
Starting PID 2007, procnum 22 (rmplug)
Starting PID 2008, procnum 23 (memreap)
Starting PID 2009, procnum 24 (memreap)

服务已经启动,等待连接使用


(如果你开启了防火墙,又想到客户端测试,请勿必把刚才的几个端口加到允许通过防火墙)

在IE里面输入http://192.168.1.8:10465/admin/index.html  



三。服务器管理配置

在IE里面输入http://192.168.1.8:10465/admin/index.html**后台管理


正常的话,会弹出**框。请输入你安装时设定的管理员**名称和密码。若正确则**服务器配置界面。
  下面讲解最基本的配置:
  4.1、服务器ip地址绑定
  Server Setup---->IP Binding ----->点击IP Address右边的"+"号,在Edit
IP Address下面输入要绑定的服务器IP地址----->Apply---->;Pending Changes
  4.2、新建挂接点
  修改默认的挂界根目录
  Server Setup---->Mount Points----->点击Helix
Content--->将Base
Path下面的内容修改为你的电影文件实际存放的完整路径,例如我的是/mnt/usbh/.1---->Apply----->
Pending Changes
  客户端访问(先重新启动服务使配置生效,我用realplayer测试):rtsp://server ip/001.rm 例如:rtsp://192.168.1.8/001.rm
  001.rm是你的电影文件名,能用中文名字。
  新建一个挂接点
  点击Mount Point Desription 后面的"+"
  Edit Description下面是挂接点说明,可以随便输入。
  Mount Point 你的挂接点,以后客户端要访问它,如:/film/
  Base Path下面的内容修改为你的电影文件实际存放的完整路径,例如我的是/mnt/usbh/.1---->Apply----->;Pending Changes
  客户端访问(先重新启动服务使配置生效,我用realplayer测试):rtsp://server ip/film/001.rm 例如:rtsp://192.168.1.8/film/001.rm
  设定好以后restart server.最好关闭firefox ,重新**,看看刚才的设定是否生效。否则,重新操作之!
  完成以上操作后,就可以看电影了。当然你还可以配置客户端连接数,多播,ip地址限制,流量限制,控制访问用户和组,等等。这里不再做介绍。
  另外,重新安装,最好将原来的文件全部删除,否则,端口配置烦人。

后台**,如果用IE,建议使用IE7及以上浏览器。

注意事项:使用Realone全屏播放不过效果要差一些。建议传输率小于200Kbps的RM视频文件,就不要使用全屏模式播放。使用快捷键“Ctrl+B”可以快速在原始大小和全屏之间自如切换。如果配合其他Linux流媒体工具使用,可将视频文件或VCD转换为RM格式文件保存。这样不但可以减小文件的容量,而且还可以自由编排、剪辑、**DV。
(5)停止Helix服务器工作
   由于Helix服务器没有提供服务器停止命令,所以只能通过使用传统的“Kill”来“杀掉服务器的进程”,使用命令:
#kill ‘cat ./Logs/rmserver.pid’
(6)系统启动时自动加载Helix服务器
   如果想在启动Linux服务器时自动加载Helix服务。方法如下:
#vi /etc/rc.d/rc.local
增加: /usr/helix/Bin/rmserver /usr/helix/rmserver.cfg

打开防火墙system-config-securitylevel,将以上端口设置允许连接特别是554,1755

如果你是宁波市教科网用户可以在realplay播放器输入rtsp://10.14.24.8/real9video.rm进行测试。

结果如下:



完成!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|运维之家

GMT+8, 2024-4-28 02:18 , Processed in 0.139752 second(s), 14 queries .

Powered by Dirtysea

© 2008-2020 Dirtysea.com.

快速回复 返回顶部 返回列表