您的位置:首页 > 运维架构 > Linux

Linux流媒体服务器的安装与简单配置

2010-01-05 19:43 232 查看
实验环境: 需要rs1115-ga-linux-rhel4.bin,DistributedLicensing.lic 实验步骤:一,安装服务器[root@localhost ~]# mount -o username=love //192.168.1.188/dd /media/
Password:
[root@localhost ~]# tar zxvf /media/rs1115-ga-linux-rhel4.tar.gz -C /usr/local/src/
rs1115-ga-linux-rhel4.bin
[root@localhost ~]# cd /usr/local/src/
[root@localhost src]# chmod u+x rs1115-ga-linux-rhel4.bin
[root@localhost src]# ./rs1115-ga-linux-rhel4.bin
Extracting files for Helix installation........................Welcome to the Helix Server 11.1.5 (11.1.5.2387) Setup for UNIX
Setup will help you get Helix Server running on your computer.
Press [Enter] to continue...
If a Helix Server license key file has been sent to you,
please enter its directory path below. If you have not
received a Helix 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 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/.
License Key File: []:
Installation and use of Helix 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 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 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: [/usr/local/src]: Please enter a username and password that you will use
to access the web-based Helix Server Administrator and monitor.
Username []: admin
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]:
Please enter a port on which Helix Server will listen for
HTTP connections. These connections have URLs that begin
with "http://"
Port [80]: 8080 Please enter a port on which Helix Server will listen for
MMS connections. These connections have URLs that begin
with "mms://"
Port [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 [26840]: 12345
You have selected the following Helix Server configuration:Admin User/Password: admin/****
Encoder User/Password: admin/****
Monitor Password: ****
RTSP Port: 554
HTTP Port: 8080
MMS Port: 1755
Admin Port: 12345
Destination: /usr/local/srcEnter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: Copying Helix Server files...
Helix Server installation is complete.If at any time you should require technical
assistance, please visit our on-line support area
at http://service.real.com/.Cleaning up installation files...
Done.
二,启动服务器[root@localhost src]# cp /media/DistributedLicensing.lic License/[root@localhost src]# ./Bin/rmserver rmserver.cfg & 三, 使用web界面管理服务器在地址栏中输入:http://192.168.1.169:12345/admin/index.html进入web管理界面ip绑定:192.168.1.169加载点的配置:描述:new movies 加载点:/mov/ 基于路径:/data/public别名的配置:描述:test 别名:/mtv/ 资源地址:/cname/限制最大用户连接数:100 四,服务器的监控[root@localhost ~]# ps -ef | grep rmserver
root 4038 1 0 21:50 ? 00:00:00 ./Bin/rmserver rmserver.cfg
root 4504 4038 3 22:05 ? 00:00:03 ./Bin/rmserver rmserver.cfg
root 4505 4038 0 22:05 ? 00:00:00 ./Bin/rmserver rmserver.cfg
root 4617 4573 0 22:07 pts/1 00:00:00 grep rmserver
[root@localhost ~]# netstat -tulnp | grep rmserver
tcp 0 0 127.0.0.1:9090 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:9090 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:7077 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:7077 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:4040 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:4040 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:554 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:554 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:8080 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:12345 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:12345 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 127.0.0.1:1755 0.0.0.0:* LISTEN 4504/rmserver
tcp 0 0 192.168.1.169:1755 0.0.0.0:* LISTEN 4504/rmserver
udp 0 0 0.0.0.0:1026 0.0.0.0:* 4504/rmserver
udp 0 0 0.0.0.0:9875 0.0.0.0:* 4504/rmserver
udp 0 0 192.168.1.169:1755 0.0.0.0:* 4504/rmserver 五,流媒体客户端的安装和使用推荐使用realone for Linux, RealOne Player RealPlayer 六,流媒体文件的制作使用Helix Producer Plus 七,视频点播,广播,多播的实现及广告的发布 八,客户端测试Rm或Rmvb格式:rtsp://服务器ip:554/加载点名/电影目录名/电影文件名wmv、asf等Media格式:mms://服务器ip:1755/加载点名/电影目录名/电影文件名在地址栏输入Helix服务器的URL例如:rtsp://192.168.1.169/real9vedio.rm 。其中rtsp表示连接Helix服务器使用RTSP应用级协议,192.168.1.169是Helix服务器IP地址 注意:用Helix点播media媒体文件时,请不要使用中文的目录和文件名,否则很可能出现莫名其妙的错误,网上现在有人提供了解决的办法,但相对复杂,所以还是避开为妙。
其它格式:
AVI、mpg4等其它格式的媒体文件也是可以用Helix点播的,具体方法请参照以上实例自行试验。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: