我安装的流媒体服务器helix

来源:互联网 发布:matlab 优化算子 编辑:程序博客网 时间:2024/05/24 01:50

我安装的流媒体服务器helix
由于我使用的RedHat9.0的从http://www.realnetworks.com下载的Helix Universal Server Advanced v9.0.6.1262还需要license的。
Helix的安装很简单,首先解压说文件,把解压出来的Bin文件赋予执行的权力,运行该文件,你只要一步一步按照提示就可以了。

Extracting files for RealNetworks installation........

Welcome to the Helix Server 9.06 (9.0.6.1262) 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: []:
这里要你输入license.lic文件的路径,我输入/tmp/license.lic然后回车
Installation and use of Helix Server requires
acceptance of the following terms and conditions:
Press [Enter] to display the license text...

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

Installation and use of Helix Server requires
acceptance of the following terms and conditions:
Press [Enter] to display the license text...
extracting text from file /tmp/license.lic

TEAM ZWT

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: [/root]:
输入安装文件夹的完整路径,我们输入/helix然后回车。

Please enter a username and password that you will use
to access the web-based Helix Server Administrator and monitor.
Username []: root
Password []:
Confirm Password []:
输入helix的管理员名字和密码,并确认密码。管理员用户不一定要root的

Please enter a port on which Helix Server will listen for
PNA connections. These connections have URLs that begin
with "pnm://"
Port [7070]:
设置pna连接监听端口,这里回车默认

Please enter a port on which Helix Server will listen for
RTSP connections. These connections have URLs that begin
with "rtsp://"
Port [554]:
回车默认

Please enter a port on which Helix Server will listen for
HTTP connections. These connections have URLs that begin
with "http://"
Port [80]:
因为我的80口被apache占用,设置8080也被占用了,我就设置了8081然后回车

Please enter a port on which Helix Server will listen for
MMS connections. These connections have URLs that begin
with "mms://"
Port [1755]:
回车默认

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 [25610]:2222
这里是设置管理端口,我设置2222,然后回车

You have selected the following Helix Server configuration:

Admin User/Password: root/****
Encoder User/Password: root/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 8081
PNA Port: 7070
MMS Port: 1755
Admin Port: 2222
Destination: /helix

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:
最后检查一次,然后回车继续

Copying Helix 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.
完成安装
如果要启动程序就使用以下的命令
/helix/Bin/rmserver /helix/rmserver.cfg &
如果后面没有加&就变成前台运行了。如果要开机就能自动运行的话。把以上命令加入到/etc/rc.d/rc.local中就可以了。

打开一个游览器,在地址栏输入http://helix服务器的ip地址:紧跟端口号2222/admin/index.html。
如果你确认没有输入错误,但游览器确没有反应的话可能是防火墙的关系。这个请自己设置,我是把防火墙给关了。

在Server Setup中最后一项Media Samples有很多的播放格式。用鼠标点击看看,能不能正常播放。我试了几个,发现除了第一个和最后一个其它的都没有问题。我觉得很不甘心,从网上下载了最新的Realplay安装一试就都可以了。

播放文件的方法就是在游览器上输入rtsp://helix服务器的ip地址:554/播放的文件(带扩展名)

原创粉丝点击