红联Linux门户
Linux帮助

Centos 5.5构建媒体流服务器--电影服务器

发布时间:2010-07-17 21:03:20来源:红联作者:堕落kiss
[i=s] 本帖最后由 堕落kiss 于 2010-7-19 09:25 编辑 [/i]

声明:我也是第一次装这个,现在在我的linxu上一边做一边写的,至于做这个的目的,就是本身linxu就是BT机,老复制文件感觉不爽,用samb也感觉不好,所以就说这个了
---------------------------------------------------------------------
废话半天,现在开始装,我的环境
CentOS 5.5实体机IP:192.168.1.2
要用的软件放在/root/Helix目录下
Helix是从网上下的授权就是30的试用授权,先装上在说,至于授权,在国内..............
是个tar包,那就先解压了,我解压在tmp目录中[code]cd /tmp
tar -xvf /root/Helix/mbrs1400-ga-linux-rhel5.tar[/code]解压出来是个bin,感觉好多了先把权限改成777避免不必要的麻烦[code] chmod 777 mbrs1400-ga-linux-rhel5.bin[/code]既然是BIN,那就直接运行了[code]./mbrs1400-ga-linux-rhel5.bin[/code]下面进入了安装页面了
Welcome to the Helix Mobile Server (RealNetworks) (14.0.0.348) Setup for UNIX
Setup will help you get Helix Mobile Server running on your computer.
Press [Enter] to continue...
这里就回车就行了
让你导入授权文件了.
If a Helix Mobile Server license key file has been sent to you,
please enter its directory path below. If you have not
received a Helix Mobile 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 Mobile 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/.

MachineID: 722c-af08-3a1c-582a-a94e-38f8-815c-226e

License Key File: []:
你的授权文件的位置,我的是/root/Helix/RNKey-Helix_Universal_Server_10-Stream-nullnull-22219087144802485.lic

Installation and use of Helix Mobile Server requires
acceptance of the following terms and conditions:
Press [Enter] to display the license text...
这里也回车
然后就是漫长的条款了.....大家要是喜欢看就看下,我是不看,一是看不明白,二是看了也没用.....像我吧,一直空格.......
看到了最后问你同意不同意了,当然同意不同意怎么装....
Choose "Accept" to accept the terms of this
license agreement and continue with Helix Mobile Server setup.
If you do not accept these terms, enter "No"
and installation of Helix Mobile Server will be cancelled.
I accept the above license: [Accept]:
同意就回车,不同意就写no
同意协议之后就要让你选择安装的路径了(:0w5ty(1 感觉在装windwos软件..)
Enter the complete path to the directory where you want
Helix Mobile Server to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/tmp]:
这里打上你要装的位置.我装在/usr/local/helix下
选好了安装位置,让你建立个管理这个软件的超级用户,我这里用linuxdiyf
Please enter a username and password that you will use
to access the web-based Helix Mobile Server Administrator and monitor.
Username []:
linuxdiyf
之后就是密码确认密码
Password []: [color=Red]第一次密码
Confirm Password []: [/color]第二次密码
下面是让你输入些信息,我感觉没用,就不多了说了。
Country Name (2 letter code) [US]: cn
State or Province Name (full name) [My State]: linxudiyf
Locality Name (e.g., city) [My Locality]: test
Organization Name (e.g., company) [My Company]: linuxdiyf
Organizational Unit Name (e.g., section) [My Department]: centos
Common Name (e.g., hostname) [My Name]: kiss
Email Address [myname@mailhost]: test@gmail.com
这里少写了一个没有复制上,不过你看着写吧

填完上面没用的,该让你配置端口了
Configure Ports (y/n): [no]: y 我这里y
在这里说下,配置这个的时候回车就是默认,要是自己想改的就输入端口
Please enter a port on which Helix Mobile Server will listen for
RTSP connections. These connections have URLs that begin
with "rtsp://"
Port [554]:
这个我用默认 

Please enter a port on which Helix Mobile Server will listen for
RTMP connections. These connections have URLs that begin
with "rtmp://"
Port [1935]:
同样默认
Please enter a port on which Helix Mobile Server will listen for
HTTP connections. These connections have URLs that begin
with "http://"
Port [80]: 8080
这里我改一下,我怕和我的lighttp冲突

Please enter a port on which Helix Mobile Server will listen for
HTTPS connections. These connections have URLs that begin
with "https://"
Port [443]:
这个我用默认
Please enter a port on which Helix Mobile Server will listen for
Fast Channel Switching Control connections.
Port [8008]:
这个也用默认了,

Please enter a port on which Helix Mobile Server will listen for
Playlist control connections.
Port [8009]:
这个也用默认,我的原则,不明白什么端口都默认
File System control connections.
Port [8010]:
也默认
下面这个让你选择用http还是https,我设置的http是8080,https是默认的443
By default, Control Port Security will not be enabled using HTTPS.
Control ports URLs will start with "http://" in this case.
Enable Control Port Security (y/n): [no]:
我这里直接回车了,不用https要是想用就打y
下面是管理的端口,我觉得你应该设置个你记的住的
Helix Mobile 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. These connections have URLs
that begin with "http://"

Port [14338]:
我这里用默认....
这个和上面一样就是https的连接
Helix Mobile Server will also listen for HTTPS 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. These
connections have URLs that begin with "https://"

Port [19002]:
我还是用默认吧
下面就是配置的信息呀核对下
You have selected the following Helix Mobile Server configuration:

Install Location: /usr/local/helix
Encoder User/Password: linuxdiyf/****
Monitor Password: ****
Admin User/Password: linuxdiyf/****
Admin Port: 14338
Secure Admin Port: 19002
RTSP Port: 554
RTMP Port: 1935
HTTP Port: 8080
HTTPS Port: 443
FCS Port: 8008
SSPL Port: 8009
Content Mgmt Port: 8010
Control Port Security: Disabled

Enter [F]inish to begin copying files, or [P]revious to
revise the above settings: [F]:
要是没有问题了,就回车吧
---------------------------------------------------------------------
在红色的分割线下,以经装好了,不知道别人装有没有问题,我这里反正没有,试着启动下[code]cd /usr/local/helix/Bin/
./rmserver ../rmserver.cfg[/code]我这里也启动没有问题,把防火墙的14338端口打开.输入http://192.168.1.2:14338/admin/index.html 打上用户的密码,进入了,说明安装是没有问题了。
---------------------------------------------------------------------
进入之后Server Setup---->Mount Points在右面点那个+号,很小的,好好找找.在Base Path 中写/tmp用这个目录就因为没有权限问题.Edit Description=test,Mount Point=/test/在其它的就默认。改好了之后就点 Apply。然后在右上角点 Restart Server。等启动好了。现在测试下.我是用test.rmvb测试的(其实就是纪晓岚中的一集)把这个文件放在linxu的tmp目录下,我用sftp传上去,防火墙开554端口.
在RealPlayer中 打开地址为rtsp://192.168.1.2/test/test.rmvb,能看了(至少在我这里能看了,因为是局域网,一点都不卡,要是不能播放,试着把要播放的文件chmod 777看一下)
---------------------------------------------------------------------
我写这个主要是写的安装笔记,避免以后装的时候少走弯路,那里写的不好,大家指出,请勿人身攻击...
文章评论

共有 5 条评论

  1. wuwh2575 于 2011-09-05 11:48:46发表:

    学习啦。有点看不懂

  2. 堕落kiss 于 2010-07-19 09:25:42发表:

    4# alick


    把括号部分删除了

  3. alick 于 2010-07-18 18:34:28发表:

    标题中的括号部分就不要加了。:0)1

  4. 堕落kiss 于 2010-07-18 10:38:33发表:

    2# auto


    谢谢,下次我会注意的

  5. auto 于 2010-07-18 08:32:29发表:

    楼主三个地方把linux打成linxu了