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>