首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux怎么架设RTSP流媒体服务器

2012-08-03 
linux如何架设RTSP流媒体服务器引用自:http://forum.ubuntu.org.cn/viewtopic.php?f43&t120879&p132334

linux如何架设RTSP流媒体服务器

引用自:

http://forum.ubuntu.org.cn/viewtopic.php?f=43&t=120879&p=1323349

http://blog.chinaunix.net/u/19412/showart_257796.html

?

Linux下利用gnump3d架设流媒体服务器

?

库文件被安装到:/usr/lib/perl5/5.8.6/gnump3d目录

  man被安装到:

  /usr/man/man1/gnump3d.1

  /usr/man/man1/gnump3d-index.1

  /usr/man/man1/gnump3d-top.1

  /usr/man/man1/gnump3d.conf.1

  3、配置

  gnump3d的配置文件被存放在/etc/gnump3d/gnump3d.conf ,我们可以对配置文件进行修改。

  gnump3d的themes被存放在/usr/share/gnump3d/目录中,所以要想换theme,可以在 gnump3d.conf中指定。

  媒体文件存放在目录gnump3d.conf中,是/home/mp3 ,您也可以改为您媒体文件的目录,或者在/home中建一个mp3目录,把所有的媒体文件拷过去。

  4、运行gnump3d流媒体服务器

  [root@localhost gnump3d-2.9.5]# gnump3d&

  或

  [root@localhost gnump3d-2.9.5]# gnump3d2&

  5、访问gnump3d流媒体服务器

  访问地址是:http://localhost:8888/ ,您也可以让局域网的其它电脑来访问,当然要把localhost改为您的机器的IP地址,举例来说,如果您的流媒体服务器所在电脑的IP是192.168.1.6 ,那么,局域网访问地址应该是:

  http://192.168.1.6:8888

  对属性的配置页面:

  http://localhost:8888/prefs/

  6、汉化theme让界面变成中文

  我们可以汉化自己喜欢的theme ,把界面变成中文,汉化非常简单,因为theme是html网页,theme存放在/usr/share/gnump3d/目录中。

?

linux下用helix架设流媒体服务器

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:??[/root/helixserver]: /usr/helixserver? ?? ? [ 更改安装路径 ]
Please enter a username and password that you will use
to access the web-based Helix Server Administrator and monitor.
Username []:? ?? ?? ?? ???? ?? ?? ?? ???? ?? ?? ?? ???? ?? ?? ?? ???[设置远程管理用户名 ]
Username []: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? ?? ?? ???? ?? ?? ?? ???[ 更改http传输端口,为避免和apache冲突,建议更改 ]
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 [11012]:11111? ?? ?? ???? ?? ? [ 更改远程管理访问的端口,系统默认的有时难以记住,可更改为好记的 ]
You have selected the following Helix Server configuration:
Admin User/Password:? ? traveller2/****
Encoder User/Password:??traveller2/****
Monitor Password:? ?? ? ****
RTSP Port:? ?? ?? ?? ???554
HTTP Port:? ?? ?? ?? ???8080
MMS Port:? ?? ?? ?? ?? ?1755
Admin Port:? ?? ?? ?? ? 11111
Destination:? ?? ?? ?? ?/usr/helixserver
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:? ?? ???? ?? ?? ?? ???
[ 如果以上设置你没意见,此处回车默认即可,否则按P重新设置 ]
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@rhel helixserver]# ls
crack? ?? ?? ?? ?? ???HelixServerConfig.pdf
HelixAdministrator? ? helix-server-retail-11.01-rhel4-setup.bin
HelixProxyAdmin.pdf? ?HelixServerUnlimited11_Linux.zip
HelixProxyConfig.pdf??setup.tar.gz
HelixServerAdmin.pdf
[root@rhel helixserver]# cp -a HelixAdministrator//usr/helixserver/HelixAdministrator_zh/? ?? ?[这是汉化过程,HelixAdministrator就是最初下载的汉化包解压得来 ]
[root@rhel helixserver]# cp crack/DistributedLicensing.lic/usr/helixserver/License/? ?? ?? ?????[ 破解过程??^_^ ]
[root@rhel helixserver]#cd /usr/helixserver
[root@rhel helixserver]# mv HelixAdministrator HelixAdministrator_en
[ 为默认的英文语言包重命名,这样做的主要目的是,万一某一刻你突然感觉英文看着很爽,依然可以将管理界面换回英文 ]
[root@rhel helixserver]# ln -s HelixAdministrator HelixAdministrator_zh/
[root@rhel helixserver]# ls
adm_b_db??default.cfg? ?? ?? ?? ?HelixAdministrator_zh??Plugins
Bin? ?? ? default.cfg.old? ?????helixserver.my? ?? ???Plugins.old
Bin.old? ?enc_b_db? ?? ???? ?? ?Lib? ?? ???? ?? ?? ???rmserver.cfg
Cache? ???enc_r_db? ?? ???? ?? ?Lib.old? ?? ???? ?? ? rmserver.cfg.old
cdi_b_db??enc_w_db? ?? ???? ?? ?License? ?? ???? ?? ? Secure
Commerce??HelixAdministrator????Logs? ?? ?? ???? ?? ? slta.cfg
Content? ?HelixAdministrator_en??master.cfg
[root@rhel helixserver]# ./Bin/rmserver rmserver.cfg &??[ 启动服务器进程并让它在后台执行, ]
[root@rhel helixserver]# ps -aux |grep rmserver
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root? ???2918??0.1??1.0??7000 2096pts/0? ? S? ? 18:17? ?0:00 ./Bin/rmserverrmserver.cfg
root? ?? ?2919??7.9 61.5 324136 117592?? ???Ssl??18:17? ?0:02./Bin/rmserver rmserver.cfg
root? ???2920??0.0??1.0??7004 2100 ???? ???Ss? ?18:17? ?0:00./Bin/rmserver rmserver.cfg
[ 检查服务是否已正常启动 ]
??这时你的流媒体服务器已经正常运行了,可以在远程进行维护.我是在另一台WINDOWS机上进行维护的.打开IE(或其他浏览器),输入 http://192.168.213.128:11111/admin/index.html
??会提示让你输入用户名和密码,验证便可以看到管理界面,并且已经是全中文,如图
linux怎么架设RTSP流媒体服务器

linux怎么架设RTSP流媒体服务器

??端口设置可在这里随意更改
linux怎么架设RTSP流媒体服务器

??限制最大用户数:
linux怎么架设RTSP流媒体服务器

"加载点"里的内容一般是一定要更改的
linux怎么架设RTSP流媒体服务器

??现在我添加一个新的加载点mov1,注意加载点/mov1/最后一定要有这个"/",设置好后"应用"
linux怎么架设RTSP流媒体服务器

??更改加载点内容后若想生效必须重新启动helixserver服务,重启服务器按钮可在管理界面的右上角看到,重启后页面会在20秒后自动刷新,一般不需要等那么久,可以手动重载页面.
linux怎么架设RTSP流媒体服务器

linux怎么架设RTSP流媒体服务器

??Helix Server Unlimited v11.0.1.1884已经将以前放在"服务器设置中"的"媒体演示"功能也挪到,了右上角,和帮助等放在了一起,这样的更改的确更合理,你可以转到"媒体演示"页面进行服务器测试.这时你的流媒体服务器已基本能满足要求.
linux怎么架设RTSP流媒体服务器

??可监控服务器运行状态
linux怎么架设RTSP流媒体服务器

??helixserver还可以做许多设置,如访问控制,广播等,管理界面已经是中文,应当不难看懂,有些功能我自己也没有摸清楚,您可以到网上查到一些关于设置的文章,最好的教程是它的帮助文档.

热点排行