How to install and setup Jinzora (streaming media server) in OS X如何安装和设置jinzora (流媒体服务器)在OS X中

by Ross McKillop on August 11, 2008 Ross麦基洛普 2008年8月11日

陆委会

This tutorial will guide you every step of the way through installing and setting up Jinzora, a very robust streaming media server - in OS X.本教程将引导您的每一个步骤的方式,通过安装,并设立jinzora ,一个非常强大的流媒体服务器-在O SX

From the Jinzora site jinzora网站 -

Jinzora is the ultimate web based media streaming and management system. jinzora是最终的基于Web的流媒体和管理制度。 Streaming your media with Jinzora gives you quick and easy access to your online music and video collection from any device with a web browser.流媒体与jinzora让您快速,便捷地到您的在线音乐和视频收藏集,从任何设备,与Web浏览器。 Enjoy your media from your PC, notebook, PDA, Smart Phone, Xbox, PS3 or Wii.享受你的媒体从您的PC ,笔记本电脑,掌上电脑,智能手机的Xbox , PS3的或wii 。

Jinzora supports the following formats - Audio: AAC, M4A, Midi, MP3, MP4, Ogg Vorbis, RM and WMA. Audio (Transcoded): Flac, MPC, WAV, WMA Lossless, WV and SHN. Video: AVI, WMV, MPEG and MOV. jinzora支持以下格式-音频: A AC, m 4a,的M IDI, M P3播放, M P4等o ggv orbis,室和W MA。音频(转) :的 F LAC,货币政策委员会, w av,无损的W MA,西弗吉尼亚州和s hn。视频:为 A VI,对W MV器, M PEG和mov 。

If you’d like to install Jinzora in Windows,如果您想要安装jinzora在Windows , Lifehacker has you covered lifehacker有你所涵盖的 .

  1. Before you install Jinzora, you’ll need to install and setup MAMP (Mac, Apache, MySQL and PHP).在您安装jinzora ,您需要安装和设置mamp ( Mac上, Apache , MySQL和PHP的) 。 Fortunately we have you covered with a幸好我们有你所涵盖的同 tutorial on doing just that in OS X补习就这样做,只是在OS X中 .
  2. Head over to the头到 Jinzora download page jinzora下载网页 and download the Linux version (yes, the Linux version).并下载Linux版本(没错, Linux版本) 。 Extract the files to your Document Root (if you’re using MAMP, the default will be /Applications/MAMP/htdocs/).文件解压缩到您的文档根目录(如果您使用的mamp ,默认会/应用/ mamp / htdocs / ) 。
  3. Open a Terminal, navigate to /Applications/MAMP/htdocs/jinzora2/ and enter the following 4 commands:打开一个终端,浏览到/ applications/mamp/htdocs/jinzora2 /并输入以下4个命令:

    chmod 777 settings.php chmod 777 settings.php
    chmod 777 jukebox/settings.php chmod 777点唱机/ settings.php
    chmod 777 -R temp chmod 777 - R的气温
    chmod 777 -R data chmod 777 - R的数据

  4. OS X的终端

  5. To start the browser based installation, navigate to index.php in the jinzora2 directory.以启动基于浏览器的安装,浏览到的index.php ,在jinzora2目录。 Again, if you’re using MAMP with the default settings, this will be再次,如果您使用的mamp与默认设置,这将是 http://localhost:8888/jinzora2/index.php . Review the info provided on this page, and select your Language: from the drop down list.审查信息提供的这个网页,并选择您的语言:从下拉列表中。

  6. click to enlarge点击放大

  7. Jinzora will run a check to make sure that your server (Mac) meets the minimum requirements. jinzora将运行检查,以确保您的服务器( MAC )的符合最低要求。 It will also check for Optional Packages .它还将检查可选软件包 Some of these won’t be found - don’t worry about it.一些这些不会被发现-不要担心。 If the Recommended Settings show up as “red”, you’ll need to edit your php.ini file (found in /Applications/MAMP/conf/php5/php.ini - if you’re using MAMP in the default installation location).如果推荐的设置显示为“红色” ,您需要编辑你的php.ini文件(在发现/ applications/mamp/conf/php5/php.ini -如果您使用m amp在默认安装位置) 。

    Open php.ini in a text editor, and scroll to the line:开放的php.ini在文本编辑器,并滚动到行:

    memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) memory_limit =八米;的最大内存量的脚本可能消耗(有8 MB )

    change it to:将它更改为:

    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB) memory_limit = 64米;的最大内存量的脚本可能消耗(连64MB )

    Now look for the line:现在寻找路线:

    max_execution_time = 30 ; Maximum execution time of each script, in seconds max_execution_time = 30 ;最高的执行时间每个脚本,在几秒钟

    and change it to:和它更改为:

    max_execution_time = 300 ; Maximum execution time of each script, in seconds max_execution_time = 300 ;最高的执行时间每个脚本,在几秒钟

    Save the file.保存该文件。 Click Proceed to License to continue.点击进行授权以继续进行。


  8. click to enlarge点击放大

  9. Review the license (yeah right), place a check in the box labeled I Agree to the license terms and click Proceed to Install Type .审查许可(啊右) ,地点检查,在方块中标示我同意此授权条款,并点击进行安装类型

  10. click to enlarge点击放大

  11. For the Installation Type: select Standalone (the default).安装类型:选择独立 (默认) 。 For the Jukebox Mode: select Streaming Only .点唱机模式:选择流只 Click to Proceed to Main Settings .单击以进行主要设置

  12. click to enlarge点击放大

  13. Here you’ll need to specify a number of settings.在这里,您将需要指定一个数字的设置。 The Main Settings are all straight forward. 主要设置都是直线前进。 The Frontend: and Style: can be changed later, so don’t stress too much over your selections.前端:作风:可以改变稍后,所以不要强调太多超过您的选择。

  14. click to enlarge点击放大

  15. The Import Settings are very important. 进口设置非常重要的。 Hover your cursor over the Data Structure: drop-down list and a detailed explanation of the options will be displayed.悬停您的光标移动超过数据结构:下拉式清单的详细说明的选项会被显示。

  16. click to enlarge点击放大

  17. I opted for Tag Data as my Data Structure , because I have spent a lot of time tagging my music, but my folder organization is terrible.我选择了为标记的数据,作为我的数据结构 ,因为我已经花了很多时间来标记我的音乐,但我的文件夹组织是可怕的。 Again, hover your cursor over the Media Layout: drop-down list for a detailed explanation of the choices.再次,悬停您的光标移动超过媒体布局:下拉列表详细解释的选择。

  18. click to enlarge点击放大

  19. I opted for Artist as my Media Layout , but you of course can select the method that works best for you.我选择了为艺术家作为我的媒体布局 ,但你当然可以选择的方法最适合您。 Click Proceed to Backend Setup when you’ve made all your selections.点击进行后端安装时,您所做的所有您的选择。

  20. click to enlarge点击放大

  21. Now you’ll need to specify the info for your database.现在您将需要指定信息为您的数据库。 Your database username and password can be found in your您的数据库的用户名和密码,可以发现在您的 MAMP setup mamp安装 if you’re unsure what they are.如果您不确定他们是什么。 Give your database a name (jinzora2, jinzora or something descriptive is a good idea), select MySQL as the Database Type , and unless you’ve already created the database manually, select True from the Create Database: drop-down.让您的数据库名称( jinzora2 , jinzora或一些描述是一个好主意) ,选择的MySQL作为数据库类型 ,除非您已经创建的数据库手动,选择真正创建数据库:下拉式。 Click Continue with Backend Install .点击继续与后端安装

  22. click to enlarge点击放大

  23. Assuming everything was successful, click Proceed to Import Media .假设一切是成功的,点击进行导入媒体

  24. click to enlarge点击放大

  25. Now it’s time to add your media.现在的时间,添加您的媒体。 Navigate to the top level folder you want to add, and click Analyze .浏览到最高层的文件夹您要添加,然后按一下分析 As you’ll note from the screenshot below, I only added some of my music collection (I created a temp folder and moved some albums into it).正如您注意从下面的截图,我只是加了一些我的音乐收藏(我创建了一个TEMP文件夹,并提出了一些相册到它) 。 This was for screenshot purposes only.这是为截图仅供参考。 It can take quite a while to add a large media collection, and you can always add additional folders later.它可以采取相当长的一段时间,以添加一个大型媒体的收集,您可以随时添加额外的文件夹后。
  26. Once completed, click Proceed .一旦完成后,单击进行
  27. You can add more media, or continue with the rest of the setup.您可以添加更多的媒体,或继续与其余的安装程序。 When you’re done adding media, click Proceed to Save Config .当您完成加入媒体,点击进行保存配置

  28. click to enlarge点击放大

  29. If everything was successful, click Proceed to Launch Jinzora .如果一切是成功的,点击进行发射jinzora

  30. click to enlarge点击放大

  31. Now you’ll be asked if you want to share anonymous stats.现在,您会被要求如果您想要分享无名氏的统计资料。 I’ma nice guy, so I opted to do just that.我是好人,所以我选择了这样做。

  32. click to enlarge点击放大

  33. Click Launch Jinzora .按一下发射jinzora

  34. click to enlarge点击放大

  35. Now sign in to Jinzora with the user name and password you specified way back in step #8.现在登录到jinzora与用户名和密码,您所指定的方式,早在步骤# 8 。
  36. At this point you may receive an error message about your installation not being secure.在这一点上,您可能会收到错误讯息,约您的安装不可靠。 Move the /Applications/MAMP/htdocs/jinzora2/install folder to somewhere else on your hard drive.动议/ applications/mamp/htdocs/jinzora2/install文件夹中的某个地方,否则您的硬盘驱动器。 Do not delete the install folder, as you’ll need it if you want to add more media folders in the future. 不要删除安装文件夹,您需要它如果你想添加更多的媒体文件夹中的未来。

    Refresh the page after you’ve moved the install folder…刷新页面后,您提出的安装文件夹…


  37. click to enlarge点击放大

  38. and the admin interface to Jinzora will appear, with all of your media loaded.和管理界面, jinzora将会出现,与您所有的媒体加载。

  39. click to enlarge点击放大

  40. On another computer (or Smartphone etc) load the URL http://ip-of-your-mac:8888/jinzora2在另一台计算机上(或智能手机等)负载的网址http://ip-of-your-mac:8888/jinzora2

    If your Mac and the “other computer” are on the same local network, the Jinzora login page will appear.如果您的Mac和“其他计算机”是在同一本地网络, jinzora登入网页就会出现。 If the other computer isn’t on the same network, you’ll need to make sure that port 8888 (the default MAMP web server port) is open/allowed through your firewall.如果其他电脑是不是在同一网络上,您需要,以确保港口8888 (默认mamp Web服务器端口)是开放/允许通过防火墙。 If your Mac is behind a router, check如果您的Mac是背后的一个路由器,检查 PortForward.com portforward.com for instructions on forwarding ports on your router.的指示转发端口,您的路由器。

    After you’ve signed in to Jinzora, click the Play button next to one of your albums/artists/songs.之后,您已登录到jinzora ,点击播放按钮旁边的一对您的相册/艺术家/歌曲。 That album/artist/song will start to stream.相册/艺术家/宋将开始流。


  41. click to enlarge点击放大


    Windows Mobile interface Windows Mobile的界面


    Streaming to Windows Media Player Mobile分流到Windows Media Player移动

Advanced先进

To stream certain file types (flac, shn etc), you’ll need to install some additional software.流某些文件类型(的FLAC , shn等) ,您需要安装一些额外的软件。 Open settings.php in a text editor (found in /Applications/MAMP/htdocs/jinzora2) and scroll to the // Resampling section.开放settings.php在文本编辑器(在发现/ applications/mamp/htdocs/jinzora2 )及翻阅到/ /重采样的一节。

Change $allow_resample = "false"; to $allow_resample = "true";改变美元allow_resample = “虚假” ;元allow_resample = “真” ;

Look for the lines:寻找路线:

$path_to_lame = "/usr/local/bin/lame";元path_to_lame = “ / usr / local /下斌/跛脚” ;
$path_to_flac = "/usr/local/bin/flac";元path_to_flac = “ / usr / local /下斌/的FLAC ” ;

and install flac and lame to those locations.并安装的FLAC和跛脚到这些地点。 Repeat for each format you want to stream.重复每个格式您想要流。

If you’re only streaming files across your local network, you can skip the above steps, as Jinzora will ignore resampling requests for local networks.如果您只流文件在您的本地网络,你可以跳过上述步骤,作为jinzora会忽略重采样的要求,为本地网络。 But make sure your internal networks IP addresses are included in the line:但要确保您的内部网络的IP地址都包含在路线:

$no_resample_subnets = “(192\.168\..*\..*)|(127\..*\..*\..*)”;元no_resample_subnets = “ ( 192 \ 0.168 \ ..* \ ..*)|( 127 \ ..* \ ..* \ ..*)";

eg.例如。 if you use 10.如果您使用10 。 as your internal network IP range, add |(10\..*\..*\..*)”作为您的内部网络IP范围,新增| ( 10 \ ..* \ ..* \ ..*)"

[ digg ] [ del.icio.us ] [脸谱] [ Google ]在
Related Posts: 相关文章:
  • How to use Sockso as your own personal streaming music server如何使用sockso作为自己的个人流媒体音乐服务器
  • How to stream audio and video from your Mac to your iPhone or iPod Touch如何流音频和视频从您的Mac到您的iphone或iPod触摸
  • How to stream audio and video from your computer across the Internet如何流音频和视频从您的电脑整个网际网路
  • How to set up Mail 3.1 for email如何设立邮件3.1电子邮件
  • How to set Thunderbird to leave mail on the server如何设置Thunderbird的离开邮件服务器上
  • { 3 trackbacks } 3 trackbacks

    Life Clerks » Turn Your Mac into an Internet Jukebox with Jinzora [Music]生活办事员»谈谈您的Mac成为一个互联网自动点唱机与jinzora [音乐]
    08.12.08 at 2:50 pm 08.12.08在下午2时50分
    How to install and setup Jinzora (streaming media server) in OS X | alternapop, music and macs如何安装和设置jinzora (流媒体服务器)在OS X中| alternapop ,音乐及互助委员会
    08.13.08 at 8:26 am 08.13.08在上午08时26分
    UndergroundScene » Blog Archive » Internet Jukebox on Your Mac undergroundscene »博客存档»互联网自动点唱机在您的Mac
    08.13.08 at 3:11 pm 08.13.08在下午3时11分

    { 8 comments… read them below or 8评论…阅读他们或低于 add one新增1 }

    1 1 Connor P 康纳p 08.12.08 at 7:00 pm 08.12.08在下午7点

    Hi there喜有

    Although I enjoyed this article, and got it to work, there were a few problems in these instructions.虽然我很喜欢这条,得到了它的工作,有几个问题在这些指示。

    Step 3: from what i found, settings.php does not exist, so I left that command out, and things work fine!第3步:从我发现, settings.php不存在,所以我离开的命令,和工作的东西,罚款!

    Step 12: the default database user and password are both “root”步骤12 :默认的数据库用户和密码都是“根”

    Step 21: First, I would just zip up the install folder right where it is.步骤21 :首先,我想刚才压缩安装文件夹的权利,它的具体位置。 Also, the path I assume you meant was /Applications/MAMP/htdocs/jinzora2/install此外,路径我假设你的意思是/ applications/mamp/htdocs/jinzora2/install

    Step 23: when you are accessing your computer from another computer on the local network, then the IP address is the local address.步骤23 :当您访问您的计算机从另一台计算机局域网上,那么IP地址是本地地址。 However, if the computers are across the net, then the IP address of the host is the public IP address (of the router) and you need to tell the router to forward traffic on that port to the host computer.不过,如果电脑是全国净,然后IP地址的主机是公共IP地址(路由器)和你需要告诉路由器转发的交通,港口,以主机电脑。 To get around knowing what your public IP is, I recommend a service called dyndns.org.要解决您知道什么是公共IP ,我建议服务的所谓dyndns.org 。 This installs a small piece of software on your computer, and monitors what your Public IP is.这个安装的一小块您计算机上的软件,并监测你的公共IP 。 It then gives you a regular URL, like myip.dyndns.org, and they will forward that to your public IP.它然后给您定期的网址,如myip.dyndns.org ,他们将转发到您的公共IP 。

    Hope this helps!希望这会有所帮助!

    Connor P康纳p

    2 2 Ross McKillop 罗斯麦基洛普 08.12.08 at 7:34 pm 08.12.08在下午7点34分

    Connor -康纳-

    Thanks for pointing out the mistake re: step 21.感谢,指出错误,重新:步骤21 。 I’ve edited the tutorial to include the ‘htdocs’ part我已经编辑了补习,包括' htdocs '的一部分 : )

    settings.php is one of the most important files for jinzora2, it does exist settings.php是其中最重要的文件jinzora2 ,它确实存在 : ) You wouldn’t be able to install without it.你将无法安装没有它。

    The default user/pass for MySQL in MAMP are root/root, but most people would have changed those.默认用户/通过MySQL的在mamp是root /根,但大多数人会改变这些。

    Zipping the install folder is a great idea.压缩安装文件夹是一个伟大的想法。 But it does need to be moved/removed even if you zip it.但它确实需要加以动议/删除即使你邮递区号。

    Dyndns.org is a good call. dyndns.org是一个很好的通话。 The earlier part of your comment was covered by step #23 (?).较早的一部分,您的评论所涵盖的步骤# 23 ( ? ) 。

    3 3 Gwain 08.13.08 at 4:00 am gwain 08.13.08在上午04点

    This reminds me of GNUMP3d for Linux.这使我想起了gnump3d为Linux 。 It’s basically the same idea just not as polished…and well for Linux.它的基本上是相同的想法只是没有作为抛光…以及为Linux 。

    How well does Jinzora work with streaming to iTunes?如何,以及是否jinzora工作与串流iTunes吗? iTunes “works” with GNUMP3d but does not auto resolve the addresses. iTunes的“工程”与gnump3d ,但并没有自动解决地址。

    4 4 douglas titus 道格拉斯提图斯 08.13.08 at 4:14 am 08.13.08在上午04时14分

    I have jinzora st up on my server with 300 plus gigs of music.One of my biggest problems that I have had is with streaming m4a files from the server with itunes as the default music player.我jinzora圣了在我的伺服器上,与300加演出的music.one我的最大的问题,我曾是与流m4a文件从服务器与iTunes作为默认的音乐播放器。 I can not get the m4as to stream at all.我不能得到m4as流在所有。 As a fix I converted all of my files to mp3s.That only took two days of work.作为一个修复i转换我所有的档案mp3s.that只用了两天的工作。 Any ideas?任何想法? I have Asked this question on the jinzora site but still have not gotten a good fix.我曾问这个问题就jinzora网站,但还没有得到一个很好的修补程序。

    5 5 Connor P 康纳p 08.13.08 at 4:25 am 08.13.08在上午04时25分

    if settings.php did exist, then it wasn’t in the main folder of jinzora2.如果settings.php确实存在,那么它不是在主要的文件夹jinzora2 。 I just skipped that command and it installed fine!我只是略过指挥和它安装在被罚款!

    And I left install.zip right where it was and it worked fine.和我离开install.zip的权利而它在该处和它的罚款。

    Also, In step 3: the last two commands didn’t work as written.此外,在第3步:最后两个命令没有工作,作为书面。 However when I reversed the positions of the flag (-R) and the permission #’s (777) it worked fine!!然而,当我扭转的立场旗( - R )和许可# ' ( 777 )工作,罚款!

    Thanks谢谢

    Connor p康纳p
    http://www.connorp.com/

    6 6 Drausio drausio 08.13.08 at 9:38 am 08.13.08在上午09时38分

    Dear Ross,亲爱的罗斯,

    First of all, I’d like to thank you for the excellent explanation on how to set Jinzora for the mac (I’ve been struggling with Linux codes and mpd like a madman before this!!!)首先,我想谢谢你提供了极好的解释,有关如何设置jinzora为Mac (我一直在挣扎与Linux的守则和米像一个疯子在此之前! )
    I have two questions for you.我有两个问题给你。
    the first is: I’ve been trying to access my mac from outside my network using its external IP (I’ve already forwarded port 8888 on my router), but it doesn’t seem to work…第一是:我一直在试图访问我的Mac以外我的网络使用其外部IP (我已经送交港口8888对我的路由器) ,但它似乎没有工作…
    The second is… Have you heard of MPoD for the iphone?二是…你听过mpod为iphone ? Do you have any idea on how to configure it to use Jinzora?你有什么想法就如何配置,它可以利用jinzora ?

    Thanks a lot!!感谢了很多!

    Drausio drausio

    7 7 Bruce A 08.13.08 at 9:59 am 布鲁斯一 08.13.08在上午09时59分

    I’ve finally gotten to the point where it’s importing my library when I get the following error: “Cannot have signed integers larger than 32-bits in getid3_lib::BigEndian2Int()”我终于向地步的进口我的图书馆时,我得到以下错误: “不能签署了整数大于32位在getid3_lib : : bigendian2int ( ) ”

    What is THAT supposed to mean?什么是假定的意思呢? I’ve got a lot of Japanese music, tagged in Japanese…is that the problem?我已经得到了很多日本音乐,标记在日本… …是这个问题呢?

    Also, until I set the MySQL root password to blank in phpMyAdmin it refused to create the database.此外,直到我设置MySQL的root密码,以空白,在phpmyadmin ,它拒绝建立资料库。 Now, however, I cannot access phpMyAdmin.不过,现在我无法访问phpmyadmin 。 How can I re-authenticate?我怎样才能重新验证?

    Also, Gwain, Jinzora IS for Linux.此外, gwain , jinzora是为Linux 。 Did you not see where it says to download the Linux version?你不看到它说要下载Linux版本?

    8 8 Joe 08.16.08 at 5:40 pm 08.16.08在下午5时40分

    There is no settings.php file in the jinzora2 directory.有没有settings.php文件中的jinzora2目录。

    chmod 777 settings.php chmod 777 settings.php
    chmod 777 jukebox/settings.php chmod 777点唱机/ settings.php
    chmod 777 -R temp chmod 777 - R的气温
    chmod 777 -R data chmod 777 - R的数据

    The 3rd and 4th command didn’t work either, any ideas?该第三和第四的命令没有工作,要么,任何想法?
    Thanks谢谢

    Leave a Comment留下意见

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些HTML标记和属性:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <del datetime="">的<em>的<i> <q cite=""> <strike>的<strong>