Helix DNA SERVER架设Linux流媒体服务器

董新觉
2023-12-01
Helix DNA SERVER是Helix Server的开源版,这个版本不需要授权文件,安装简便,对系统要求低,是架设流媒服务器的首选软件。
[b][size=medium]一、前提条件:[/size][/b]
下载Helix_DNA_Server_10.1.tar.gz 或 11.11版 v111_servinst_plus_linux-rhel4-i686.bin
可在下面地址下载:https://helixcommunity.org/downloads
[b][size=medium]二、安装[/size][/b]
#cd /home/ (进入安装文件所在目录)
# tar zxvf Helix_DNA_Server_10.1.tar.gz (解压文件)
# cd Helix_DNA_Server_10.1 (进入解压目录)
# ./servinst_plus_linux-2.2-libc6-i586-server.bin (执行安装程序)

显示如下欢迎画面:
Extracting files for Helix installation........................
Welcome to the Helix DNA Server 10.1 (10.1.1.67) Setup for UNIX
Setup will help you get Helix DNA Server running on your computer.
Press [Enter] to continue...

按回车继续
Enter the complete path to the directory where you want
Helix DNA Server to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/home/jp/Helix_DNA_Server_10.1]: /usr/local/helixdna

输入安装目标路径,默认为当前目录,输入 /usr/local/helixdna 回车
Usernamese enter a username and password that you will use
to access the web-based Helix DNA Server Administrator and monitor.
Username []: admin
Password []:
Confirm Password []:
[]: admin

提示输入helix的管理员名称和密码,并确认密码,输入admin
管理员名称建议用:admin ,密码自定。
Please enter a port on which Helix DNA Server will listen for
PNA connections. These connections have URLs that begin
with "pnm://"
Port [7070]:

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

设置rtsp连接监听端口,默认554,回车取默认值
Please enter a port on which Helix DNA Server will listen for
HTTP connections. These connections have URLs that begin
with "http://"
Port [80]: 888

设置HTTP连接监听端口,默认80。由于80端口已被APACHE使用,所以改为其它值,如:888
Helix DNA 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 [21015]: 12345

设置helix管理端口,可取默认值。为了便于记忆,建议更改,如:12345,回车。
显示刚才所有的设置,并让用户检查
You have selected the following Helix DNA Server configuration:

Admin User/Password: admin/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 888
PNA Port: 7070
Admin Port: 12345
Destination: /usr/local/helixdna

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:

提示按P键,返回到前面的步骤;按F键完成设置。按回车继续
Copying Helix DNA Server files...
Helix DNA Server installation is complete.
Cleaning up installation files...
Done.

显示正在开始拷贝文件到指定目录,然后就可以完成安装
[b][size=medium]三、Helix DNA Server 的启动[/size][/b]
#cd /usr/local/helixdna/Bin (进入安装目录)
# ./hlxserverplus ../hlxserverplus.cfg (运行主文件)

显示启动过程:
Helix DNA Server (c) 1995-2003 RealNetworks, Inc. All rights reserved.
Version: Helix DNA Server 10.1 (10.1.1.67) (Build 25942/746)
Platform: linux-2.2-libc6-i586-server

Using Config File: ../hlxserverplus.cfg
Creating Server Space...
Server has allocated 256 megabytes of memory
Starting PID 2056, procnum 1 (timer)
Calibrating timers...
Interval timer enabled (10ms resolution).
Starting PID 2057, procnum 2 (core)
Starting Helix DNA Server 10.1 Core...

出现如下画面时,启动成功
[size=medium][b]四、Helix DNA Server的设置与管理[/b][/size]
Helix Server的设置与管理是通过web方式进行的。
管理地址为:
http://helix的ip:管理端口/admin/index.html
输入:http://192.168.1.88:12345/admin/index.html,弹出用户验证对话框
输入原先设置的用户名和密码
此时出现管理界面,如下:
具体的设置方法与windows版本大致一样。
[size=medium][b]五、测试[/b][/size]
由于Helix DNA SERVER是开源版,其压缩包内并没有附带演示文件,因此需要手动复制演示文件到Helix DNA的Content目录。我们将real9video.rm复制到这个目录,然后
输入rtsp://192.168.1.88/real9video.rm,如果能够播放演示片段,则成功
 类似资料: