Jinzora - web based multimedia application

© 2004-2005 Jinzora™ - All rights reserved

Requirements
You will need to install either:

and  apt-get install php4-gd or apt-get install php5-gd depending on what version of PHP you are using
 * 1)  LAMP (Apache & MySQL) - Install Apache, MySQL and PHP (sections 1.1, 1.2 and 1.4)
 * 2)  LLMP (Lighttpd & MySQL)
 * 3)  LLSP (Lighttpd & Sqlite)
 * 1) GD (for this I simply did a...)

Install
Assuming your webroot is /var/www, cd /var/www wget http://get.jinzora.com/jz2current.tar.gz Once downloaded untar it and it will create a directory called 'jinzora2'. At the time of writing, the latest stable version is 2.7.5. If a newer version has been released, change the filename as necessary. Once untarred you need to enter that directory and run the 'webinstaller'

tar -zxvf jz275.tar.gz cd jinzora2 sh configure.sh

It should say You are now in setup mode. Please direct your web browser to the directory where you installed Jinzora and load index.php - you will then be taken through the complete setup

Run it
So, if you saw that do as it says

http:///jinzora2/index.php

You should see this



The web based installer is fully documented and should describe each option that you'll have along the way.

Next page should display



Take note of the recommended settings, I changed mine accordingly, either

pico /etc/php4/apache/php.ini or pico /etc/php5/apache/php.ini depending on what you are using

;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 30 300 ; Maximum execution time of each script, in seconds max_input_time = 60 600 ; Maximum amount of time each script may spend parsing requ$ memory_limit = 8M 32M ; Maximum amount of memory a script may consume (8MB)

;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir = ; Maximum allowed size for uploaded files. upload_max_filesize = 2M 32M

;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; ; ; Maximum size of POST data that PHP will accept. post_max_size = 8M 32M

SQLite
If you are using SQLite Step 6 may create the database, but then fail to connect to it - make it readable chown -R www-data:www-data /var/www/jinzora2

Jukebox Mode
I decided that I'd like to play music (jukebox via mpd) on my Linkstation via browser aswell as stream from my Linkstation, but get "error on page" when I try to play directly on my LS. Need to look into that.

Here's how I solved that, it appeared that mpd was looking for oss when I was using alsa.

Firstly check mpd is part of audio group

adduser mpd audio

Should return you with this

The user `mpd' is already a member of `audio'.

apt-get install alsa-oss

Then a line needs to be added to the mpd.conf

ao_driver "also09"

This should add that line automatically

echo ao_driver \"alsa09\" >> /etc/mpd.conf

Restart mpd and goto Jinzora to test.

At the very end the installer you'll be given the option to submit anonymous stats about your Jinzora installation.

Bauldrick 06:21, 5 July 2006 (EDT)