FreeBSD上的real server安装及使用

关于real相关信息,请访问www.real.com 。对于real server网上讲得有很多,但都是for Windows的 。
本文讲述如何在BSD Unix上安装使用real server、实现在线广播、远程直播等 。
首先申明:本文是根据网上的一些文章和我的使用经验写的,如有错误请原谅;
realserver不是免费的,请向real公司申请许可 。

服务器环境:FreeBSD 4.x 5.x,内网IP:192.168.1.1,外网IP:211.158.40.67 。
客户机环境:Windows2000 real播放器 Helix Producer Plus 9,能上网 。

一、服务器上的安装设置realserver

1、下载realserver
ser#
ser# pwd
/root
ser# fetch http://gsp.8800.org/soft/Helix.Universal.Internet.Server.v9.0.2.794.FreeBSD-CCF.tar.gz
Receiving Helix.Universal.Internet.Server.v9.0.2. (14708199 bytes): 100%
14708199 bytes transferred in 14.6 seconds (986.68 kBps)
ser# md5 Helix*
MD5 (Helix.Universal.Internet.Server.v9.0.2.794.FreeBSD-CCF.tar.gz) = 373d3aa5e428d72b7f2996f2d965ae1e
ser# tar -zxvf Helix*.tar.gz
ser# cd Helix.Universal.Internet.Server.v9.0.2.794.FreeBSD-CCF
ser# chmodx *
ser# ll
total 16192
-rwxr-xr-x 1 root www 23997 Jul 3 23:37 RNKey-Helix_Server-90.lic
-rwxr-xr-x 1 root www 7021 Jul 3 23:37 ccf.nfo
-rwxr-xr-x 1 root www 2477796 Jul 3 23:37 rmserver
-rwxr-xr-x 1 root www 14018967 Jul 3 23:38 rs901-freebsd4-ia32.bin

2、安装realserver
ser# ./rs901-freebsd4-ia32.bin
Extracting files for RealNetworks installation........................

Welcome to the Helix Server 9.0 (9.0.2.794) Setup for UNIX
Setup will help you get Helix Server running on your computer.
Press [Enter] to continue...
敲回车键,接下来,在提示符后输入相关信息,可以敲回车键使用缺省值...
License Key File: []: /root/Helix.Universal.Internet.Server.v9.0.2.794.FreeBSD-CCF/RNKey-Helix_Server-90.lic
这是提示你输入license....输入你的路径,然后回车,会显示许可说明 。
按照法定程序,你把它看完吧 。然后回车表示accept,呵呵,接下来...
安装路径 Directory:/root/rmserver
管理员帐号 Username:admin,密码admin(记住,有用噢...)
接下来的 Port [7070]: 等等回车就行了...注意
Port [80]:
Port 80 is currently in use. Use this port anyway? (y/n) [y]: 8088
你就改成其它没使用中的port,比如8088,这个port要记住...
还有AdminPort 28690 这个是随机产生的,也要记住...

最后会给你个总结性的确认:
You have selected the following Helix Server configuration:

Admin User/PassWord: admin/****
Encoder User/Password: admin/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 8088
PNA Port: 7070
MMS Port: 1755
Admin Port: 28690
Destination: /root/rmserver

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:
Copying Helix Server files.....
Done.

ser# cp rmserver /root/rmserver/Bin/
ser# cd /root/rmserver/
安装完成!

3、所有的文件都在/root/rmserver/下
ser# ll
total 76
drwxr-xr-x 2 root wheel 512 8 4 11:43 Bin <---启动rmserver和广播的程序
drwxr-xr-x 2 root wheel 512 12 14 2002 Cache
drwxr-xr-x 8 root wheel 512 12 14 2002 Commerce
drwxr-sr-x 10 root wheel 512 12 14 2002 Content <---默认的播放内容
drwxr-xr-x 5 root wheel 3584 12 14 2002 HelixAdministrator <---客户端web管理要用到的网页程序帮助等
drwxr-xr-x 2 root wheel 512 12 14 2002 Lib <---支持各种格式的媒体文件lib
drwxr-xr-x 2 root wheel 512 8 4 11:43 License <---许可证
drwxr-xr-x 2 root wheel 512 12 14 2002 Logs
drwxr-xr-x 2 root wheel 1536 12 14 2002 Plugins
drwxr-xr-x 2 root wheel 512 12 14 2002 Secure
drwxr-xr-x 6 root wheel 512 8 4 11:43 adm_b_db
drwxr-xr-x 6 root wheel 512 8 4 11:43 cdi_b_db
-rw------- 1 root wheel 20928 8 4 11:43 default.cfg <---服务器配置文件,缺省值

推荐阅读