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@localhostgnump3d-2.9.5]#gnump3d&

[root@localhostgnump3d-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架设流媒体服务器

HelixServer 11 for Linux

作者:traveller2

网上流传着一个>的文章,详细讲解了Helix_DNA_Server_10.1.tar.gz的安装方法,今天我在RHELAS4.2上成功安装了HelixServerUnlimitedv11.0.1.1884ForLinux,这个版本新一些,使用方法也有一点点不同于Helix_DNA_Server_10.1,我把安装与设置过程记录了下来,分享一下,但愿不是狗尾续貂.....

HelixServerUnlimitedv11.0.1.1884ForLinux特别版

下载地址:http://down.chinaz.com/soft/9415.htm

(linux公社有Helix_DNA_Server_10.1可下载,不过我喜欢新些的版本)

汉化补丁下载地址:http://www.helix.cn/download/Helix_Administrator_CHS_2.01.rar(解压密码:www.helix.cn)

以上两个文件都是用rar压缩的,你可以在你的linux中系统装一个rar_forlinux来解压,也可以winrar解压好再到linux系统中使用,我已经解压好了,解压后的文件都放在了同一个文件夹内.

下面是安装过程

[root@rhel~]#cdhelixserver/

[root@rhelhelixserver]#ls

crackHelixAdministratorHelixServerUnlimited11_Linux.zipsetup.tar.gz

[root@rhelhelixserver]#tarxzvfsetup.tar.gz

helix-server-retail-11.01-rhel4-setup.bin

HelixProxyAdmin.pdf

HelixProxyConfig.pdf

HelixServerAdmin.pdf

HelixServerConfig.pdf

[root@rhelhelixserver]#ls

crackHelixServerConfig.pdf

HelixAdministratorhelix-server-retail-11.01-rhel4-setup.bin

HelixProxyAdmin.pdfHelixServerUnlimited11_Linux.zip

HelixProxyConfig.pdfsetup.tar.gz

HelixServerAdmin.pdf

[root@rhelhelixserver]#chmod+xhelix-server-retail-11.01-rhel4-setup.bin

[root@rhelhelixserver]#./helix-server-retail-11.01-rhel4-setup.bin

ExtractingfilesforHelixinstallation........................

WelcometotheHelixServer11.0(11.0.1.1884)SetupforUNIX

SetupwillhelpyougetHelixServerrunningonyourcomputer.

[Press[Enter]tocontinue...]

IfaHelixServerlicensekeyfilehasbeensenttoyou,

pleaseenteritsdirectorypathbelow.Ifyouhavenot

receivedaHelixServerlicensekeyfile,thenthisserver

WILLNOTOPERATEuntilalicensekeyfileisplacedin

theserver'sLicensedirectory.Pleaseobtainafree

BasicHelixServerlicenseorpurchaseacommerciallicense

fromourwebsiteathttp://www.real.com/.Ifyouneed

furtherassistance,pleasevisitouron-linesupportarea

athttp://service.real.com/.

LicenseKeyFile:[]:[这个是要许可证,可以先放下,等安装完再将许可证文件放入]

InstallationanduseofHelixServerrequires

acceptanceofthefollowingtermsandconditions:

Press[Enter]todisplaythelicensetext...[回车,然后....有兴趣就读一读吧^_^...]

Choose"Accept"toacceptthetermsofthis

licenseagreementandcontinuewithHelixServersetup.

Ifyoudonotaccepttheseterms,enter"No"

andinstallationofHelixServerwillbecancelled.

Iaccepttheabovelicense:[Accept]:[此处回车默认即可]

Enterthecompletepathtothedirectorywhereyouwant

HelixServertobeinstalled.Youmustspecifythefull

pathnameofthedirectoryandhavewriteprivilegesto

thechosendirectory.

Directory:[/root/helixserver]:/usr/helixserver[更改安装路径]

Pleaseenterausernameandpasswordthatyouwilluse

toaccesstheweb-basedHelixServerAdministratorandmonitor.

Username[]:[设置远程管理用户名]

Username[]:Password[]:[设置密码]

ConfirmPassword[]:

PleaseenteraportonwhichHelixServerwilllistenfor

RTSPconnections.TheseconnectionshaveURLsthatbegin

with"rtsp://"

Port[554]:[此处回车默认即可]

PleaseenteraportonwhichHelixServerwilllistenfor

HTTPconnections.TheseconnectionshaveURLsthatbegin

with"http://"

Port[80]:8080[更改http传输端口,为避免和apache冲突,建议更改]

PleaseenteraportonwhichHelixServerwilllistenfor

MMSconnections.TheseconnectionshaveURLsthatbegin

with"mms://"

Port[1755]:[此处回车默认即可]

HelixServerwilllistenforAdministratorrequestsonthe

portshown.Thisporthasbeeninitializedtoarandomvalue

forsecurity.Pleaseverifynowthatthispre-assignedport

willnotinterferewithportsalreadyinuseonyoursystem;

youcanchangeitifnecessary.

Port[11012]:11111[更改远程管理访问的端口,系统默认的有时难以记住,可更改为好记的]

YouhaveselectedthefollowingHelixServerconfiguration:

AdminUser/Password:traveller2/****

EncoderUser/Password:traveller2/****

MonitorPassword:****

RTSPPort:554

HTTPPort:8080

MMSPort:1755

AdminPort:11111

Destination:/usr/helixserver

Enter[F]inishtobegincopyingfiles,or[P]revioustogo

backtothepreviousprompts:[F]:

[如果以上设置你没意见,此处回车默认即可,否则按P重新设置]

CopyingHelixServerfiles....

HelixServerinstallationiscomplete.

Ifatanytimeyoushouldrequiretechnical

assistance,pleasevisitouron-linesupportarea

athttp://service.real.com/.

Cleaningupinstallationfiles...

Done.

[安装完成]

[root@rhelhelixserver]#ls

crackHelixServerConfig.pdf

HelixAdministratorhelix-server-retail-11.01-rhel4-setup.bin

HelixProxyAdmin.pdfHelixServerUnlimited11_Linux.zip

HelixProxyConfig.pdfsetup.tar.gz

HelixServerAdmin.pdf

[root@rhelhelixserver]#cp-aHelixAdministrator//usr/helixserver/HelixAdministrator_zh/[这是汉化过程,HelixAdministrator就是最初下载的汉化包解压得来]

[root@rhelhelixserver]#cpcrack/DistributedLicensing.lic/usr/helixserver/License/[破解过程??^_^]

[root@rhelhelixserver]#cd/usr/helixserver

[root@rhelhelixserver]#mvHelixAdministratorHelixAdministrator_en

[为默认的英文语言包重命名,这样做的主要目的是,万一某一刻你突然感觉英文看着很爽,依然可以将管理界面换回英文]

[root@rhelhelixserver]#ln-sHelixAdministratorHelixAdministrator_zh/

[root@rhelhelixserver]#ls

adm_b_dbdefault.cfgHelixAdministrator_zhPlugins

Bindefault.cfg.oldhelixserver.myPlugins.old

Bin.oldenc_b_dbLibrmserver.cfg

Cacheenc_r_dbLib.oldrmserver.cfg.old

cdi_b_dbenc_w_dbLicenseSecure

CommerceHelixAdministratorLogsslta.cfg

ContentHelixAdministrator_enmaster.cfg

[root@rhelhelixserver]#./Bin/rmserverrmserver.cfg&[启动服务器进程并让它在后台执行,]

[root@rhelhelixserver]#ps-aux|greprmserver

Warning:badsyntax,perhapsabogus'-'?See/usr/share/doc/procps-3.2.3/FAQ

root29180.11.070002096pts/0S18:170:00./Bin/rmserverrmserver.cfg

root29197.961.5324136117592?Ssl18:170:02./Bin/rmserverrmserver.cfg

root29200.01.070042100?Ss18:170:00./Bin/rmserverrmserver.cfg

[检查服务是否已正常启动]

这时你的流媒体服务器已经正常运行了,可以在远程进行维护.我是在另一台WINDOWS机上进行维护的.打开IE(或其他浏览器),输入http://192.168.213.128:11111/admin/index.html

会提示让你输入用户名和密码,验证便可以看到管理界面,并且已经是全中文,如图

端口设置可在这里随意更改

限制最大用户数:

"加载点"里的内容一般是一定要更改的

现在我添加一个新的加载点mov1,注意加载点/mov1/最后一定要有这个"/",设置好后"应用"

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

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

可监控服务器运行状态

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

相关推荐