23.2.2 Helix Server的安装
Helix服务器软件的安装方式与大部分的其他服务器软件不同,不是采用源代码方式,也不是RPM包方式,而是通过执行一个二进制的安装程序安装的。把23.2.1小节下载的rs1201-ga-linux-rhel5.tar.gz文件复制到RHEL 5系统,并输入以下命令进行解压。
# tar -zxvf rs1201-ga-linux-rhel5.tar.gz
rs1201-ga-linux-rhel5.bin
#
由上可见,压缩包中只包含了一个文件rs1201-ga-linux-rhel5.bin,它就是Helix Server的安装程序,可以直接执行进行安装。但由于该文件还没有设置执行权限,因此需要通过chmod命令加上执行权限后才能执行,具体命令如下所示。
[root@localhost ~]# chmod 755 rs1201-ga-linux-rhel5.bin
[root@localhost ~]# ./rs1201-ga-linux-rhel5.bin
Extracting files for Helix installation........................
// 首先要进行自解压
Welcome to the Helix Server (Tahiti) (12.0.1.215) Setup for UNIX
Setup will help you get Helix Server running on your computer.
Press [Enter] to continue... //此处按下Enter键继续
… //有关许可文件的一些提示内容
License Key File: []: /root/RNKey-Helix_Server_Unlimited-120-357461479479
1602.lic
//此处输入许可文件及路径,再按下Enter键
Installation and use of Helix Server requires
acceptance of the following terms and conditions:
Press [Enter] to display the license text...
//此处按下Enter键显示许可文件内容
… // 许可文件内容,要按空格键翻页,直至显示完
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键表示接受许可文件所列的 //条款
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]:/usr/helix_server//此处输入安装目录,并按下Enter键
Please enter a username and password that you will use
to access the web-based Helix Server Administrator and monitor.
Username []: admin //此处输入管理员用户名称,并按下Enter键
Password []: //设定管理员用户密码
Confirm Password []: //确认管理员用户密码
Please enter a port on which Helix 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 Server will listen for
HTTP connections. These connections have URLs that begin
with "http://"
Port [80]: 808 //Helix服务器监听HTTP连接的端口号,如果计算机上还运行着其他Web
//服务器的,应该另外指定
Please enter a port on which Helix Server will listen for
MMS connections. These connections have URLs that begin
with "mms://"
Port [1755]: //指定MMS协议使用的端口号,使用默认值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 [21944]: //访问Helix服务器管理页面时使用的端口
You have selected the following Helix Server configuration:
//下面列出了前面的配置内容
Admin User/Password: admin/****
Encoder User/Password: admin/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 808
MMS Port: 1755
Admin Port: 21944
Destination: /usr/helix_server
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: //如果想修改上面显示的配置内容,可以按下P //键;否则,按下Enter键选默认的F
以上步骤完成后,Helix服务器的安装就结束了,此时,在安装目录/usr/helix_server下将包含所有的安装文件。其中,该目录下的rmserver.cfg文件是Helix服务器的主配置文件,Bin目录下的rmserver是Helix服务器的命令文件。