CENTOS中HELIX SERVER安装、配置
时间:2014-10-04 01:42 来源:linux.it.net.cn 作者:it
1、安装环境
系统环境:LinuxCentOS5.0操作系统
服务器软件:HelixServerUnlimited11_Linux
(HelixServerUnlimited11_Linux.rar)
2、系统安装
把setup.tar.gz上传到系统安装路径,(/pro_path)
chmod 777 setup.tar.gz
(修改文件属性)
tar -zxvf setup.tar.gz
(安装文件)
chmod 777 helix-server-retail-11.01-rhel4-setup.bin
./helix-server-retail-11.01-rhel4-setup.bin
首先会让你输入lic文件的录径
Directory:[这里系统会给出一个默认的安装路径,即当前目录]:你可以在这里输入指定的安装路径。或回车使用默认路径;
Username[]:输入管理员登陆名称
Password: 管理员密码,回车再输入一次;
后面一些以port[系统默认端口]开头的(如port[7070],port[554]),你可以一路回车,使用默认端口。但需要注意的是:port [80],
你最好将它改为8080或别的未使用的端口号,因为APACHE的默认端口为80,否则会与你的APACHE端口冲突。
port[80]回车后出现如port[29902]之类,这是你的管理员登陆服务器的端口号,一定要记住,后面要用到。(管理员登陆端口为一个随机5位端口号,我一般设置为10000)
接下来是,给出你以上设定的参数列表:
Admin User/Password: test/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 80
PNA Port: 7070
Admin Port: 19393
Destination:? /pro_path
....back to the previous prompts:[F]:在这里输入F确认以上参数设定,立即开始安装;输入P重新设定。
安装完成。
3、系统启动
/pro_path/Bin/rmserver /pro_path/default.cfg
4、影视观看
rtsp://(服务器IP):554/电影名
(客户端需安装播放器软件。如RealPlayer)
5、服务器管理配置
服务器管理界面:http://(服务器IP):(Admin Port)/admin/index.html
其它注意事项:
1、安装后一定要开通linux的[554]端口,该端口默认为关闭。
2、设置为开机自动起动。
开机启动文件是我自己改写的可能会有很多不足之处,高手可以帮我指出来好改正
目前能实现启动服务,关闭服务暂时不能用。由于时间关系没有继续研究
hlxserver
#!/bin/bash
#
# yum Update notification daemon
#
# Author: Jeremy Katz
#
# chkconfig: 345 97 03
#
# description: This is a daemon which periodically checks for updates /
# and can send notifications via mail, dbus or syslog.
# processname: yum-updatesd
# config: /etc/yum/yum-updatesd.conf
# pidfile: /var/run/yum-updatesd.pid
#
### BEGIN INIT INFO
# Provides: rtsp
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description:
# Description:
### END INIT INFO
# source function library
. /etc/rc.d/init.d/functions
RETVAL=0
start()
{
echo "start hlxserver"
/usr/local/helix/Bin/rmserver /usr/local/helix/rmserver.cfg &
exit 0;
}
stop()
{
echo -n "stop hlxserver"
if pkill hlxserver
then
echo " [ok]"
else
echo " [failed]"
fi
exit 0;
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "usage: $0 start|stop|restart"
exit 0;
esac
exit $RETVAL
chkconfig --add hlxserver
chkconfig hlxserver on
3、存放视频文件的默认路径为“/pro_path/Content”,为方便管理可以在该路径上再建立文件夹,
访问方式为rtsp://(服务器IP):554/文件夹名/电影名
(责任编辑:IT)
| 1、安装环境 系统环境:LinuxCentOS5.0操作系统 服务器软件:HelixServerUnlimited11_Linux (HelixServerUnlimited11_Linux.rar) 2、系统安装 把setup.tar.gz上传到系统安装路径,(/pro_path) chmod 777 setup.tar.gz (修改文件属性) tar -zxvf setup.tar.gz (安装文件) chmod 777 helix-server-retail-11.01-rhel4-setup.bin ./helix-server-retail-11.01-rhel4-setup.bin 首先会让你输入lic文件的录径 Directory:[这里系统会给出一个默认的安装路径,即当前目录]:你可以在这里输入指定的安装路径。或回车使用默认路径; Username[]:输入管理员登陆名称 Password: 管理员密码,回车再输入一次; 后面一些以port[系统默认端口]开头的(如port[7070],port[554]),你可以一路回车,使用默认端口。但需要注意的是:port [80], 你最好将它改为8080或别的未使用的端口号,因为APACHE的默认端口为80,否则会与你的APACHE端口冲突。 port[80]回车后出现如port[29902]之类,这是你的管理员登陆服务器的端口号,一定要记住,后面要用到。(管理员登陆端口为一个随机5位端口号,我一般设置为10000) 接下来是,给出你以上设定的参数列表: Admin User/Password: test/**** Monitor Password: **** RTSP Port: 554 HTTP Port: 80 PNA Port: 7070 Admin Port: 19393 Destination:? /pro_path ....back to the previous prompts:[F]:在这里输入F确认以上参数设定,立即开始安装;输入P重新设定。 安装完成。 3、系统启动 /pro_path/Bin/rmserver /pro_path/default.cfg 4、影视观看 rtsp://(服务器IP):554/电影名 (客户端需安装播放器软件。如RealPlayer) 5、服务器管理配置 服务器管理界面:http://(服务器IP):(Admin Port)/admin/index.html 其它注意事项: 1、安装后一定要开通linux的[554]端口,该端口默认为关闭。 2、设置为开机自动起动。 开机启动文件是我自己改写的可能会有很多不足之处,高手可以帮我指出来好改正 目前能实现启动服务,关闭服务暂时不能用。由于时间关系没有继续研究 hlxserver #!/bin/bash # # yum Update notification daemon # # Author: Jeremy Katz # # chkconfig: 345 97 03 # # description: This is a daemon which periodically checks for updates / # and can send notifications via mail, dbus or syslog. # processname: yum-updatesd # config: /etc/yum/yum-updatesd.conf # pidfile: /var/run/yum-updatesd.pid # ### BEGIN INIT INFO # Provides: rtsp # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: # Description: ### END INIT INFO # source function library . /etc/rc.d/init.d/functions RETVAL=0 start() { echo "start hlxserver" /usr/local/helix/Bin/rmserver /usr/local/helix/rmserver.cfg & exit 0; } stop() { echo -n "stop hlxserver" if pkill hlxserver then echo " [ok]" else echo " [failed]" fi exit 0; } case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo "usage: $0 start|stop|restart" exit 0; esac exit $RETVAL chkconfig --add hlxserver chkconfig hlxserver on 3、存放视频文件的默认路径为“/pro_path/Content”,为方便管理可以在该路径上再建立文件夹, 访问方式为rtsp://(服务器IP):554/文件夹名/电影名 (责任编辑:IT) |