Difference between revisions of "Jinzora"

From Amahi Wiki
Jump to: navigation, search
(→‎Install Instructions for Jinzora: updated the .htaccess, added the rest of install. still need to add more info for the database setup in jinzora)
Line 13: Line 13:
  
 
= Install Instructions for Jinzora =
 
= Install Instructions for Jinzora =
 +
(Note this will be automated with one-click install)
 +
 +
 +
* Create the install directory/web-app
 +
** goto http://setup
 +
** select the web-apps tab
 +
** click create new button and use the name "jinzora"
 +
 +
* navigate to the web-apps directory
 +
** from the command prompt
 +
          cd /var/hda/web-apps/jinzora
  
 
* Download the Jinzora tarball - As of this writing, at: http://downloads.sourceforge.net/jinzora/jz275.tar.gz
 
* Download the Jinzora tarball - As of this writing, at: http://downloads.sourceforge.net/jinzora/jz275.tar.gz
* You can use
+
** Form the command line enter
 
         wget http://downloads.sourceforge.net/jinzora/jz275.tar.gz
 
         wget http://downloads.sourceforge.net/jinzora/jz275.tar.gz
* Untar the app into a location of your choice say in your home directory (with tar -xzvf jz275.tar.gz)
+
* remove the automatically created directory html. From the command line:
* This creates a folder called jinzora2
+
        rmdir html
* In the case of jinzora, it needs the following step:
+
* Untar the app: From the command line:
         nano /var/hda/web-apps/jinzora2/.htaccess
+
        tar -xzvf jz275.tar.gz
* comment all the lines (put a "#" in front) ctrl-x, and y to save
+
* This puts the .tar contents into the folder called jinzora2
* Create an Amahi web app in the Web Apps tab, under setup
+
* rename the folder "jinzora2" to the new name "html"
* For the root path of the app, point it to the root path of the web app you just untarred (/home/USERNAME/jinzora2/)
+
        mv jinzora2 html
* Create the app - give it a name of your choice, say jinzora
+
       
 +
* configure the security access .htaccess file (edit the file):
 +
         nano /var/hda/web-apps/jinzora/html/.htaccess
 +
* As the first character in all lines put a # then press ctrl-x, and y and "enter" to save
 
* The app should be available as http://jinzora
 
* The app should be available as http://jinzora
 
* Note that that url may take a bit to propagate. You can also try  http://jinzora.home.com (assuming home.com is your home domain), which may propagate faster.
 
* Note that that url may take a bit to propagate. You can also try  http://jinzora.home.com (assuming home.com is your home domain), which may propagate faster.
* At this point your basic app configuration should be up and running. The next step is to create a mysql database and a user for it. See this page (except use, say, jinzora for the username and jinzora for the password, or whatever you like): http://forums.amahi.org/viewtopic.php?f=14&t=71&p=229#p229
+
 
 
* After that, jinzora should be ready to continue install ...
 
* After that, jinzora should be ready to continue install ...
* Navigate to the jinzora2 directory
+
* Navigate to the jinzora directory
           cd /var/hda/web-apps/jinzora2
+
           cd /var/hda/web-apps/jinzora
 
* Your web server needs write permissions to some of the Jinzora files. To write log files and cached pages for example. We've created a script called 'configure.sh' that sets the required permissions. First, the script needs to be made executable:  
 
* Your web server needs write permissions to some of the Jinzora files. To write log files and cached pages for example. We've created a script called 'configure.sh' that sets the required permissions. First, the script needs to be made executable:  
 
           chmod 744 configure.sh
 
           chmod 744 configure.sh
 
* Run the script to set permissions:  
 
* Run the script to set permissions:  
 
           sh ./configure.sh
 
           sh ./configure.sh
 +
 +
* Create a databsae for jinzora to use
 +
          hda-create-db-and-user jinzora2
 +
(database name=jinzora2, username=jinzora2 and password=jinzora2)
 +
 +
At this point your basic app configuration should be up and running.
 +
Launch Jinzora and follow the instructions.
 +
 +
See this page (except use, say, jinzora for the username and jinzora for the password, or whatever you like): http://forums.amahi.org/viewtopic.php?f=14&t=71&p=229#p229
  
 
* Use a browser and go to http://jinzora/
 
* Use a browser and go to http://jinzora/

Revision as of 18:41, 5 April 2009

Jinzora Media Server...

http://en.jinzora.com/

Jinzora is a web based media streaming and management system, written in PHP.

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.

Enjoy your media from your PC, notebook, PDA, Smart Phone, Xbox, PS3 or Wii.

Use Jinzora in Jukebox Mode to control a hardware device like your stereo set or Squeezebox and third-party software, including MPD, VLC and Shoutcast.


Install Instructions for Jinzora

(Note this will be automated with one-click install)


  • Create the install directory/web-app
    • goto http://setup
    • select the web-apps tab
    • click create new button and use the name "jinzora"
  • navigate to the web-apps directory
    • from the command prompt
         cd /var/hda/web-apps/jinzora
        wget http://downloads.sourceforge.net/jinzora/jz275.tar.gz
  • remove the automatically created directory html. From the command line:
        rmdir html
  • Untar the app: From the command line:
        tar -xzvf jz275.tar.gz
  • This puts the .tar contents into the folder called jinzora2
  • rename the folder "jinzora2" to the new name "html"
        mv jinzora2 html
       
  • configure the security access .htaccess file (edit the file):
        nano /var/hda/web-apps/jinzora/html/.htaccess
  • As the first character in all lines put a # then press ctrl-x, and y and "enter" to save
  • The app should be available as http://jinzora
  • Note that that url may take a bit to propagate. You can also try http://jinzora.home.com (assuming home.com is your home domain), which may propagate faster.
  • After that, jinzora should be ready to continue install ...
  • Navigate to the jinzora directory
         cd /var/hda/web-apps/jinzora
  • Your web server needs write permissions to some of the Jinzora files. To write log files and cached pages for example. We've created a script called 'configure.sh' that sets the required permissions. First, the script needs to be made executable:
         chmod 744 configure.sh
  • Run the script to set permissions:
         sh ./configure.sh
  • Create a databsae for jinzora to use
         hda-create-db-and-user jinzora2

(database name=jinzora2, username=jinzora2 and password=jinzora2)

At this point your basic app configuration should be up and running. Launch Jinzora and follow the instructions.

See this page (except use, say, jinzora for the username and jinzora for the password, or whatever you like): http://forums.amahi.org/viewtopic.php?f=14&t=71&p=229#p229